1
0
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:
Anton Afanasyeu
2026-06-02 18:54:13 +02:00
parent f885d194dd
commit 4803caebce
18 changed files with 1313 additions and 1100 deletions

View File

@@ -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';

View File

@@ -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>

View File

@@ -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>