diff --git a/phpBB/functions/functions.php b/phpBB/functions/functions.php index 30356ff148..941ccd0e22 100644 --- a/phpBB/functions/functions.php +++ b/phpBB/functions/functions.php @@ -73,4 +73,46 @@ function get_newest_user($db) return($return_data); } } + +function make_jumpbox($db, $phpEx) +{ + + $boxstring = " +
+ \n
"; + + return($boxstring); +} + ?> diff --git a/phpBB/index.php b/phpBB/index.php index 0ac1a4847a..86e191a328 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -24,11 +24,11 @@ include('extension.inc'); include('config.'.$phpEx); include('template.inc'); -include('functions/error.'.$phpEx); include('functions/sessions.'.$phpEx); include('functions/auth.'.$phpEx); include('functions/functions.'.$phpEx); include('db.'.$phpEx); +include('functions/error.'.$phpEx); $total_users = get_user_count($db, $users_table); $total_posts = get_total_posts($db, $forums_table); diff --git a/phpBB/page_tail.php b/phpBB/page_tail.php index 1e9155cb9c..b9d2c60548 100644 --- a/phpBB/page_tail.php +++ b/phpBB/page_tail.php @@ -28,6 +28,11 @@ switch($pagetype) case 'index': $template->pparse("output", "footer"); break; + case 'viewforum': + $jump_box = make_jumpbox($db, $phpEx); + $template->set_var(array("JUMPBOX" => $jump_box)); + $template->pparse("output", "footer"); + break; } // Show the overall footer. diff --git a/phpBB/templates/Default/overall_header.tpl b/phpBB/templates/Default/overall_header.tpl index 49447470f1..6df9d90685 100644 --- a/phpBB/templates/Default/overall_header.tpl +++ b/phpBB/templates/Default/overall_header.tpl @@ -50,7 +50,7 @@ A:Hover { - +
Username :
Password :