mirror of
git://f0xx.org/android_cast
synced 2026-07-29 07:20:00 +03:00
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
<?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).
|
||
*
|
||
* Layout (empty/null row = hidden):
|
||
* top — full-width line above main row
|
||
* main — left | right (flex); invisible gap between columns
|
||
* bottom — full-width line below main row
|
||
*
|
||
* Left column: set `left` to a custom string, or leave null to build from holder + year below.
|
||
*/
|
||
return [
|
||
// --- Optional rows (static or PHP-dynamic strings) ---
|
||
'top' => null,
|
||
'left' => null,
|
||
'right' => null,
|
||
'bottom' => null,
|
||
|
||
// --- Default left column when `left` is null ---
|
||
'holder' => '<a href="https://f0xx.org">Anton Afanaasyeu</a>, 2026 - current',
|
||
'copyright_symbol' => "\u{00A9}",
|
||
'show_year' => false,
|
||
// null = current calendar year at render time (end of range).
|
||
'year' => null,
|
||
// Integer start year. With year_through_current: "2026 - current" (literal suffix).
|
||
// Without it: "2026–2027" range (en dash) or lone "2026" when start equals end year.
|
||
'year_start' => 2026,
|
||
'year_through_current' => true,
|
||
|
||
// CSS class on <footer> (platform-footer layout classes are always added).
|
||
'footer_class' => 'bottom-bar',
|
||
// When true, consoles with i18n.js replace default left text via data-i18n / data-year.
|
||
'use_i18n' => true,
|
||
'i18n_key' => 'footer.copyright',
|
||
];
|