From 7cde919ef02418e424542c0e917bb49727c31972 Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 22 Feb 2001 07:53:34 +0000 Subject: *** empty log message *** git-svn-id: file:///svn/phpbb/trunk@14 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/page_tail.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'phpBB/page_tail.php') diff --git a/phpBB/page_tail.php b/phpBB/page_tail.php index c5bbded564..6384f8fb76 100644 --- a/phpBB/page_tail.php +++ b/phpBB/page_tail.php @@ -22,6 +22,22 @@ * ***************************************************************************/ +// Load/parse the footer template we need based on pagetype. +switch($pagetype) +{ + case 'index': + $template->pparse("output", "footer"); + break; +} + +// Show the overall footer. +if($user_logged_in) +{ + $admin_link = "Administration Panel"; +} +$template->set_var(array("PHPBB_VERSION" => "2.0-alpha", + "ADMIN_LINK" => $admin_link)); +$template->pparse("output", "overall_footer"); ?> -- cgit v1.2.1