From 6c17dca2469dc4683fb35dbf659a249f2272a151 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 19 Apr 2001 06:24:23 +0000 Subject: Added current time to overall footer git-svn-id: file:///svn/phpbb/trunk@181 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_tail.php | 48 +++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'phpBB/includes') diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index fae8635166..4d0fd5fcf3 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -1,40 +1,40 @@ pparse("footer"); break; - + case 'viewforum': $template->pparse("footer"); break; - + case 'viewtopic': $template->pparse("footer"); break; @@ -48,12 +48,14 @@ switch($pagetype) // // Show the overall footer. // -if($userdata['session_logged_in']) +if($userdata['session_logged_in']) { $admin_link = "Administration Panel"; } +$current_time = time(); $template->assign_vars(array("PHPBB_VERSION" => "2.0-alpha", - "ADMIN_LINK" => $admin_link)); + "CURRENT_TIME" => create_date($date_format, $current_time, $sys_timezone), + "ADMIN_LINK" => $admin_link)); $template->pparse("overall_footer"); -- cgit v1.2.1