diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-10-03 23:50:39 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-10-03 23:50:39 +0000 |
commit | 71c288bd21983abd30449c851363184f276df82b (patch) | |
tree | 16bf12846d05c03bbcb727553768389f4d804f88 | |
parent | aee5fbcd8af43a719c8ac27c4f01578f07e5682a (diff) | |
download | forums-71c288bd21983abd30449c851363184f276df82b.tar forums-71c288bd21983abd30449c851363184f276df82b.tar.gz forums-71c288bd21983abd30449c851363184f276df82b.tar.bz2 forums-71c288bd21983abd30449c851363184f276df82b.tar.xz forums-71c288bd21983abd30449c851363184f276df82b.zip |
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
-rw-r--r-- | phpBB/includes/page_header.php | 2 | ||||
-rw-r--r-- | 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 = ''; |