diff options
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/faq.php | 1 | ||||
| -rw-r--r-- | phpBB/index.php | 1 | ||||
| -rw-r--r-- | phpBB/memberlist.php | 3 | ||||
| -rw-r--r-- | phpBB/posting.php | 1 | ||||
| -rw-r--r-- | phpBB/report.php | 5 | ||||
| -rw-r--r-- | phpBB/viewonline.php | 5 | 
6 files changed, 12 insertions, 4 deletions
diff --git a/phpBB/faq.php b/phpBB/faq.php index 53de850195..19be7da43a 100644 --- a/phpBB/faq.php +++ b/phpBB/faq.php @@ -74,6 +74,7 @@ $template->assign_vars(array(  	'L_BACK_TO_TOP'				=> $user->lang['BACK_TO_TOP'],  	'SWITCH_COLUMN_MANUALLY'	=> (!$found_switch) ? true : false, +	'S_IN_FAQ'					=> true,  ));  page_header($l_title); diff --git a/phpBB/index.php b/phpBB/index.php index 49baf33392..32bc118e8c 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -175,6 +175,7 @@ $template->assign_vars(array(  	'S_LOGIN_ACTION'			=> append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'),  	'U_SEND_PASSWORD'           => ($config['email_enable']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=sendpassword') : '',  	'S_DISPLAY_BIRTHDAY_LIST'	=> ($config['load_birthdays']) ? true : false, +	'S_INDEX'					=> true,  	'U_MARK_FORUMS'		=> ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums&mark_time=' . time()) : '',  	'U_MCP'				=> ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '') diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index c6bdff3071..8fceb4ac5b 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -21,6 +21,9 @@ $user->session_begin();  $auth->acl($user->data);  $user->setup(array('memberlist', 'groups')); +// Setting a variable to let the style designer know where he is... +$template->assign_var('S_IN_MEMBERLIST', true); +  // Grab data  $mode		= request_var('mode', '');  $action		= request_var('action', ''); diff --git a/phpBB/posting.php b/phpBB/posting.php index ef90c229da..6b48470552 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1544,6 +1544,7 @@ $template->assign_vars(array(  	'S_POST_ACTION'			=> $s_action,  	'S_HIDDEN_FIELDS'		=> $s_hidden_fields,  	'S_ATTACH_DATA'			=> json_encode($message_parser->attachment_data), +	'S_IN_POSTING'			=> true,  ));  /** diff --git a/phpBB/report.php b/phpBB/report.php index 5081f90ad1..1adee028dc 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -301,8 +301,9 @@ $template->assign_vars(array(  	'S_HIDDEN_FIELDS'	=> (sizeof($s_hidden_fields)) ? $s_hidden_fields : null,  	'S_NOTIFY'			=> $user_notify, -	'S_CAN_NOTIFY'		=> ($user->data['is_registered']) ? true : false) -); +	'S_CAN_NOTIFY'		=> ($user->data['is_registered']) ? true : false, +	'S_IN_REPORT'		=> true, +));  generate_forum_nav($forum_data); diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 87813596fa..1738005786 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -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;  | 
