From c995ad8bab3e79f86157b557a6fe84ea45adf323 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 26 Jun 2008 13:17:11 -0400 Subject: [PATCH] Removing the old types of global variables ($year, $version, $datetime) * global.php * templates/footer.tpl * templates/header.tpl --- global.php | 3 --- templates/footer.tpl | 2 +- templates/header.tpl | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/global.php b/global.php index 1899afc..cfe5e38 100755 --- a/global.php +++ b/global.php @@ -33,9 +33,6 @@ BSTemplate::$templatePath = 'templates/%s.tpl'; // ################################################################### // global template variables -$datetime = $datef->format('l, F j, Y g:i A'); -$year = $datef->format('Y'); -$version = bugdar::$options['trackerversion']; $show = array( 'admin' => can_perform('canadminpanel'), diff --git a/templates/footer.tpl b/templates/footer.tpl index ea8a8ad..2c4f880 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -1,7 +1,7 @@ diff --git a/templates/header.tpl b/templates/header.tpl index 03b4ba4..b464cad 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -9,7 +9,7 @@ <%- bugdar::$options['trackertitle'] %>   <%-T(" /> - <%- $datetime %> + <%- BSApp::$date->format('l, F j, Y g:i A') %> <% if (!bugdar::$userinfo['userid']): %> -- 2.43.5