From 77144de48bb64bc448d941a966a9d7813c52bc28 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Thu, 12 Sep 2019 12:59:59 -0400 Subject: Make year dynamic and reduce some output breakouts Signed-off-by: Brian Evans --- TyrianTemplate.php | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/TyrianTemplate.php b/TyrianTemplate.php index eae7b30..8387d33 100644 --- a/TyrianTemplate.php +++ b/TyrianTemplate.php @@ -45,8 +45,9 @@ class TyrianTemplate extends BaseTemplate { msg( 'jumptosearch' ); ?> - - html( 'bodytext' ); + + $this->html( 'bodytext' ); if ( $this->data['catlinks'] ) { $this->html( 'catlinks' ); } @@ -150,6 +151,7 @@ class TyrianTemplate extends BaseTemplate { private function footer() { $validFooterIcons = $this->getFooterIcons( "icononly" ); $validFooterLinks = $this->getFooterLinks( "flat" ); // Additional footer links + $currentYear = date('Y'); ?>