[ticket/321] Display jumpbox again

This commit is contained in:
Marc Alexander
2014-08-03 22:44:14 +02:00
parent 4d7cc18c43
commit acdc7adbd7

View File

@@ -186,6 +186,8 @@ class main
'body' => 'portal/portal_body.html' 'body' => 'portal/portal_body.html'
)); ));
$this->make_jumpbox($this->config['board3_display_jumpbox']);
page_footer(); page_footer();
} }
@@ -263,4 +265,18 @@ class main
{ {
return $this->module_count[$column] > 0 && $config; return $this->module_count[$column] > 0 && $config;
} }
/**
* Wrapper method for running make_jumpbox
*
* @param bool $display Whether jumpbox should be displayed
* @return null
*/
protected function make_jumpbox($display = false)
{
if ($display)
{
make_jumpbox(append_sid("{$this->phpbb_root_path}viewforum{$this->php_ext}"));
}
}
} }