1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/12364] Add template identifier var to all missing pages

PHPBB3-12364
This commit is contained in:
PayBas
2014-04-06 17:41:09 +02:00
parent 0e88f0db4a
commit 66dad8d2fb
6 changed files with 12 additions and 4 deletions

View File

@@ -437,8 +437,9 @@ $template->assign_vars(array(
'U_SWITCH_GUEST_DISPLAY' => append_sid("{$phpbb_root_path}viewonline.$phpEx", 'sg=' . ((int) !$show_guests)),
'L_SWITCH_GUEST_DISPLAY' => ($show_guests) ? $user->lang['HIDE_GUESTS'] : $user->lang['DISPLAY_GUESTS'],
'S_SWITCH_GUEST_DISPLAY' => ($config['load_online_guests']) ? true : false)
);
'S_SWITCH_GUEST_DISPLAY' => ($config['load_online_guests']) ? true : false,
'S_VIEWONLINE' => true,
));
// We do not need to load the who is online box here. ;)
$config['load_online'] = false;