diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-02-27 18:50:36 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-02-27 18:50:36 +0000 |
| commit | ad9d4d2605a2f1b448876f922d0cc20790c90f39 (patch) | |
| tree | cd2fe131b457c288676ceb4470f954685ca82f04 /phpBB/page_tail.php | |
| parent | cb964c96c74c0b8bd47ff01f2e45616d8c2413b8 (diff) | |
| download | forums-ad9d4d2605a2f1b448876f922d0cc20790c90f39.tar forums-ad9d4d2605a2f1b448876f922d0cc20790c90f39.tar.gz forums-ad9d4d2605a2f1b448876f922d0cc20790c90f39.tar.bz2 forums-ad9d4d2605a2f1b448876f922d0cc20790c90f39.tar.xz forums-ad9d4d2605a2f1b448876f922d0cc20790c90f39.zip | |
Move jumpbox to separate template
git-svn-id: file:///svn/phpbb/trunk@67 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/page_tail.php')
| -rw-r--r-- | phpBB/page_tail.php | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/phpBB/page_tail.php b/phpBB/page_tail.php index fbe7c558ac..2fa923a97e 100644 --- a/phpBB/page_tail.php +++ b/phpBB/page_tail.php @@ -25,18 +25,16 @@ // Load/parse the footer template we need based on pagetype. switch($pagetype) { - case 'index': - $template->pparse("output", "footer"); - break; - case 'viewforum': - $jumpbox = make_jumpbox($db); - $template->set_var(array("PHPEX" => $phpEx, - "FORUM_ID" => $forum_id, - "SELECT_NAME" => "forum_id", - "JUMPBOX_ACTION" => "viewforum.".$phpEx, - "JUMPBOX_LIST" => $jumpbox)); - $template->pparse("output", "footer"); - break; + case 'index': + $template->pparse("output", "footer"); + break; + + case 'viewforum': + + $template->set_var(array("PHPEX" => $phpEx, + "FORUM_ID" => $forum_id)); + $template->pparse("output", "footer"); + break; } // Show the overall footer. |
