diff --git a/controller/main.php b/controller/main.php index 822597a4..61d32abb 100644 --- a/controller/main.php +++ b/controller/main.php @@ -186,6 +186,8 @@ class main 'body' => 'portal/portal_body.html' )); + $this->make_jumpbox($this->config['board3_display_jumpbox']); + page_footer(); } @@ -263,4 +265,18 @@ class main { 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}")); + } + } }