diff options
Diffstat (limited to 'phpBB/page_tail.php')
-rw-r--r-- | phpBB/page_tail.php | 16 |
1 files changed, 16 insertions, 0 deletions
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 = "<a href=\"admin/index.php\">Administration Panel</a>"; +} +$template->set_var(array("PHPBB_VERSION" => "2.0-alpha", + "ADMIN_LINK" => $admin_link)); +$template->pparse("output", "overall_footer"); ?> |