aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/page_tail.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 07:53:34 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 07:53:34 +0000
commit7cde919ef02418e424542c0e917bb49727c31972 (patch)
tree5c402f9f58b11bfc6999a8f1911aca2e59146a29 /phpBB/page_tail.php
parent8918532a1329157916e539ee84cd711fd3f267bc (diff)
downloadforums-7cde919ef02418e424542c0e917bb49727c31972.tar
forums-7cde919ef02418e424542c0e917bb49727c31972.tar.gz
forums-7cde919ef02418e424542c0e917bb49727c31972.tar.bz2
forums-7cde919ef02418e424542c0e917bb49727c31972.tar.xz
forums-7cde919ef02418e424542c0e917bb49727c31972.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@14 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/page_tail.php')
-rw-r--r--phpBB/page_tail.php16
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");
?>