From 71c288bd21983abd30449c851363184f276df82b Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Thu, 3 Oct 2002 23:50:39 +0000 Subject: [PATCH] I updated my copy with the Area51 template so here it is, along with a couple of bugfixes :] git-svn-id: file:///svn/phpbb/trunk@2918 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_header.php | 2 +- phpBB/includes/template.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index fd2b059511..fe33ff252c 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -348,7 +348,7 @@ $template->assign_vars(array( 'S_CONTENT_ENCODING' => $lang['ENCODING'], 'S_CONTENT_DIR_LEFT' => $lang['LEFT'], 'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'], - 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[$board_config['board_timezone']]), + 'S_TIMEZONE' => sprintf($lang['All_times'], $lang[floatval($board_config['board_timezone'])]), 'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID, 'T_STYLESHEET_DATA' => $theme['css_data'], diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index e8bb63e56b..acb4b357ed 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -174,7 +174,7 @@ class Template { if (!empty($_REQUEST['explain'])) { global $db; - echo $this->sql_report(); + echo $db->sql_report; return TRUE; } $_str = '';