1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:38:52 +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

@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
/**
* Site-wide footer (hub, crashes, tickets, graphs, builder).
* Copy to footer.config.php and edit; footer.config.php is optional (defaults apply).
*/
return [
// Visible copyright holder (also used in i18n {holder} if you customize strings).
'holder' => 'Anton Afanaasyeu',
// Prefix before the name: "(c)", "©", or "".
'copyright_symbol' => '(c)',
// Append current calendar year (or fixed year below).
'show_year' => true,
// null = (int) date('Y') at render time.
'year' => null,
// CSS class on <footer>.
'footer_class' => 'bottom-bar',
// When true, consoles with i18n.js replace text via data-i18n / data-year.
'use_i18n' => true,
'i18n_key' => 'footer.copyright',
];