Fix r9961 - populate who is online only where required

Authorised by: AcydBurn

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10000 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Joas Schilling 2009-08-17 09:45:22 +00:00
parent 76fd6026bc
commit f0ebe145e1

View file

@ -2706,7 +2706,7 @@ function confirm_box($check, $title = '', $hidden = '', $html_body = 'confirm_bo
} }
else else
{ {
page_header((!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang[$title]); page_header(((!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang[$title]), false);
} }
$template->set_filenames(array( $template->set_filenames(array(
@ -3028,7 +3028,7 @@ function login_forum_box($forum_data)
$template->assign_var('LOGIN_ERROR', $user->lang['WRONG_PASSWORD']); $template->assign_var('LOGIN_ERROR', $user->lang['WRONG_PASSWORD']);
} }
page_header($user->lang['LOGIN']); page_header($user->lang['LOGIN'], false);
$template->assign_vars(array( $template->assign_vars(array(
'S_HIDDEN_FIELDS' => build_hidden_fields(array('f' => $forum_data['forum_id']))) 'S_HIDDEN_FIELDS' => build_hidden_fields(array('f' => $forum_data['forum_id'])))
@ -3592,7 +3592,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
} }
else else
{ {
page_header($msg_title); page_header($msg_title, false);
} }
} }