1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 07:39:15 +03:00
Files
android_cast/examples/platform
Anton Afanasyeu 4803caebce 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>
2026-06-02 18:54:13 +02:00
..
2026-05-30 17:55:36 +02:00

Shared platform pieces

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.