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
This commit is contained in:
Ludovic Arnaud 2002-10-03 23:50:39 +00:00
parent aee5fbcd8a
commit 71c288bd21
2 changed files with 2 additions and 2 deletions

View file

@ -348,7 +348,7 @@ $template->assign_vars(array(
'S_CONTENT_ENCODING' => $lang['ENCODING'], 'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'], 'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'], '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, 'S_LOGIN_ACTION' => 'login.'.$phpEx.$SID,
'T_STYLESHEET_DATA' => $theme['css_data'], 'T_STYLESHEET_DATA' => $theme['css_data'],

View file

@ -174,7 +174,7 @@ class Template {
if (!empty($_REQUEST['explain'])) if (!empty($_REQUEST['explain']))
{ {
global $db; global $db;
echo $this->sql_report(); echo $db->sql_report;
return TRUE; return TRUE;
} }
$_str = ''; $_str = '';