mirror of
git://f0xx.org/android_cast
synced 2026-07-29 08:19:00 +03:00
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>
852 B
852 B
Shared platform pieces
Footer (footer.php)
Single copyright footer for hub, crashes, tickets, graphs, and builder consoles.
Configure: edit footer.config.php (copy from footer.config.example.php).
| Key | Purpose |
|---|---|
holder |
Copyright name |
copyright_symbol |
(c) or © |
show_year |
Append year |
year |
Fixed year, or null for current |
use_i18n |
data-i18n for consoles with i18n.js |
In PHP views: <?php platform_render_footer(); ?> (loaded via each app bootstrap.php).
Hub: examples/app_hub/index.php (landing nginx runs it through PHP-FPM).
Static HTML export:
php examples/platform/scripts/render-footer-html.php
Gitea (/git/) uses the upstream Gitea UI; this footer does not apply there unless you customize Gitea templates separately.