[ticket/321] Display jumpbox again
This commit is contained in:
@@ -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}"));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user