mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11360] Updating default value of $display_online_list
PHPBB3-11360
This commit is contained in:
parent
5afb06102b
commit
76f7ef5c83
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ $template->assign_vars(array(
|
||||||
'SWITCH_COLUMN_MANUALLY' => (!$found_switch) ? true : false,
|
'SWITCH_COLUMN_MANUALLY' => (!$found_switch) ? true : false,
|
||||||
));
|
));
|
||||||
|
|
||||||
page_header($l_title, false);
|
page_header($l_title);
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
'body' => 'faq_body.html')
|
'body' => 'faq_body.html')
|
||||||
|
|
|
@ -956,7 +956,7 @@ class p_master
|
||||||
/**
|
/**
|
||||||
* Display module
|
* Display module
|
||||||
*/
|
*/
|
||||||
function display($page_title, $display_online_list = true)
|
function display($page_title, $display_online_list = false)
|
||||||
{
|
{
|
||||||
global $template, $user;
|
global $template, $user;
|
||||||
|
|
||||||
|
|
|
@ -284,7 +284,7 @@ $template->assign_vars(array(
|
||||||
));
|
));
|
||||||
|
|
||||||
// Generate the page, do not display/query online list
|
// Generate the page, do not display/query online list
|
||||||
$module->display($module->get_page_title(), false);
|
$module->display($module->get_page_title());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Functions used to generate additional URL paramters
|
* Functions used to generate additional URL paramters
|
||||||
|
|
|
@ -353,7 +353,7 @@ $module->load_active();
|
||||||
$module->assign_tpl_vars(append_sid("{$phpbb_root_path}ucp.$phpEx"));
|
$module->assign_tpl_vars(append_sid("{$phpbb_root_path}ucp.$phpEx"));
|
||||||
|
|
||||||
// Generate the page, do not display/query online list
|
// Generate the page, do not display/query online list
|
||||||
$module->display($module->get_page_title(), false);
|
$module->display($module->get_page_title());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function for assigning a template var if the zebra module got included
|
* Function for assigning a template var if the zebra module got included
|
||||||
|
|
Loading…
Add table
Reference in a new issue