From 87b7ae578f3c8a72f847c3610bd1ef479569a3ff Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 19 Apr 2001 15:05:39 +0000 Subject: Removed need to send db as a parameter to functions git-svn-id: file:///svn/phpbb/trunk@189 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/page_header.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/page_header.php') diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index be7e59cd7f..ae636d0e07 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -96,7 +96,7 @@ switch($pagetype) "jumpbox" => "jumpbox.tpl", "footer" => "viewforum_footer.tpl")); - $jumpbox = make_jumpbox($db); + $jumpbox = make_jumpbox(); $template->assign_vars(array("JUMPBOX_LIST" => $jumpbox, "JUMPBOX_ACTION" => "viewforum.".$phpEx, "SELECT_NAME" => POST_FORUM_URL)); @@ -114,7 +114,7 @@ switch($pagetype) "body" => "viewtopic_body.tpl", "jumpbox" => "jumpbox.tpl", "footer" => "viewtopic_footer.tpl")); - $jumpbox = make_jumpbox($db); + $jumpbox = make_jumpbox(); $template->assign_vars(array("JUMPBOX_LIST" => $jumpbox, "JUMPBOX_ACTION" => "viewforum.".$phpEx, "SELECT_NAME" => POST_FORUM_URL)); @@ -134,7 +134,7 @@ switch($pagetype) "body" => "viewonline_body.tpl", "jumpbox" => "jumpbox.tpl", "footer" => "viewonline_footer.tpl")); - $jumpbox = make_jumpbox($db); + $jumpbox = make_jumpbox(); $template->assign_vars(array("TOTAL_POSTS" => $total_posts, "TOTAL_USERS" => $total_users, "POST_USER_URL" => POST_USERS_URL, -- cgit v1.2.1