mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
feat: Easter egg for the 20th anniversary of the TorrentPier! (#1831)
This commit is contained in:
parent
4dcd1fb16e
commit
f2e513dd8b
1 changed files with 3 additions and 1 deletions
|
@ -14,9 +14,11 @@ if (!defined('BB_ROOT')) {
|
|||
global $bb_cfg, $userdata, $template, $DBS, $lang;
|
||||
|
||||
if (!empty($template)) {
|
||||
$birthday_tp = ((string)bb_date(TIMENOW, 'd.m', false) === '04.04') ? ' | 🎉🍰💚' : '';
|
||||
|
||||
$template->assign_vars([
|
||||
'SIMPLE_FOOTER' => !empty($gen_simple_header),
|
||||
'POWERED' => 'Fueled by <a target="_blank" referrerpolicy="origin" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> © 2005-' . date('Y'),
|
||||
'POWERED' => 'Fueled by <a target="_blank" referrerpolicy="origin" href="https://github.com/torrentpier/torrentpier">TorrentPier</a> © 2005-' . date('Y') . $birthday_tp,
|
||||
'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')),
|
||||
'ADMIN_LINK_HREF' => 'admin/index.php',
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue