1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

Merge remote-tracking branch 'geetakshi/ticket/11360' into develop-ascraeus

* geetakshi/ticket/11360:
  [ticket/11360] Updating default value of $display_online_list
  [ticket/11360] Avoiding online list where not required
  [ticket/11360] Change second parameter in page_header function
This commit is contained in:
Joas Schilling
2014-03-28 17:07:16 +01:00
9 changed files with 16 additions and 16 deletions

View File

@@ -77,9 +77,9 @@ class helper
* @param int $status_code The status code to be sent to the page header
* @return Response object containing rendered page
*/
public function render($template_file, $page_title = '', $status_code = 200)
public function render($template_file, $page_title = '', $status_code = 200, $display_online_list = false)
{
page_header($page_title);
page_header($page_title, $display_online_list);
$this->template->set_filenames(array(
'body' => $template_file,