From f2e513dd8b0f82f4f02474db4b83d83904a93f29 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 2 Mar 2025 14:59:49 +0700 Subject: [PATCH] feat: Easter egg for the 20th anniversary of the TorrentPier! (#1831) --- library/includes/page_footer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/includes/page_footer.php b/library/includes/page_footer.php index c0f36d851..15b1023b3 100644 --- a/library/includes/page_footer.php +++ b/library/includes/page_footer.php @@ -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 TorrentPier © 2005-' . date('Y'), + 'POWERED' => 'Fueled by TorrentPier © 2005-' . date('Y') . $birthday_tp, 'SHOW_ADMIN_LINK' => (IS_ADMIN && !defined('IN_ADMIN')), 'ADMIN_LINK_HREF' => 'admin/index.php', ]);