mirror of
git://f0xx.org/android_cast
synced 2026-07-29 06:39:09 +03:00
Shared platform footer template for hub and all PHP consoles.
Centralize copyright in examples/platform/footer.config.php, render via footer.php in crashes/builder/login layouts, and serve hub through index.php. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,7 @@ declare(strict_types=1);
|
||||
|
||||
$examplesRoot = dirname(__DIR__, 3);
|
||||
require_once $examplesRoot . '/platform/shared_session.php';
|
||||
require_once $examplesRoot . '/platform/footer.php';
|
||||
|
||||
$crashSrc = $examplesRoot . '/crash_reporter/backend/src';
|
||||
$configPath = __DIR__ . '/../config/config.php';
|
||||
|
||||
@@ -53,6 +53,6 @@ $links = cfg('links', []);
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
</div>
|
||||
<footer class="bottom-bar">(c) Anton Afanaasyeu, <?= (int) date('Y') ?></footer>
|
||||
<?php platform_render_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -21,5 +21,6 @@ $ab = assets_base();
|
||||
<label><span>Password</span><input name="password" type="password" autocomplete="current-password" required></label>
|
||||
<button type="submit">Sign in</button>
|
||||
</form>
|
||||
<?php platform_render_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user