diff options
author | natec <natec@users.sourceforge.net> | 2001-03-17 00:46:26 +0000 |
---|---|---|
committer | natec <natec@users.sourceforge.net> | 2001-03-17 00:46:26 +0000 |
commit | 40f1f172a81232e910e09981116e58f45bb6b344 (patch) | |
tree | c1e70a3cb88d1fb8a8675db7ba3cb5b6942a4795 /phpBB/includes/page_tail.php | |
parent | b1ce902c02c90e58dc54e52f90946937f7b569e0 (diff) | |
download | forums-40f1f172a81232e910e09981116e58f45bb6b344.tar forums-40f1f172a81232e910e09981116e58f45bb6b344.tar.gz forums-40f1f172a81232e910e09981116e58f45bb6b344.tar.bz2 forums-40f1f172a81232e910e09981116e58f45bb6b344.tar.xz forums-40f1f172a81232e910e09981116e58f45bb6b344.zip |
New template system. Lots of merging conflicts, so let nate know if he broke stuff.
git-svn-id: file:///svn/phpbb/trunk@105 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_tail.php')
-rw-r--r-- | phpBB/includes/page_tail.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index a9f5ee8086..d050c6f537 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -26,17 +26,17 @@ switch($pagetype) { case 'index': - $template->pparse("output", "footer"); + $template->pparse("footer"); break; case 'viewforum': - $template->set_var(array("PHPEX" => $phpEx, + $template->assign_vars(array("PHPEX" => $phpEx, "FORUM_ID" => $forum_id)); - $template->pparse("output", "footer"); + $template->pparse("footer"); break; case 'viewtopic': - $template->pparse("output", "footer"); + $template->pparse("footer"); break; } @@ -45,9 +45,9 @@ if($user_logged_in) { $admin_link = "<a href=\"admin/index.php\">Administration Panel</a>"; } -$template->set_var(array("PHPBB_VERSION" => "2.0-alpha", +$template->assign_vars(array("PHPBB_VERSION" => "2.0-alpha", "ADMIN_LINK" => $admin_link)); -$template->pparse("output", "overall_footer"); +$template->pparse("overall_footer"); // Close our DB connection. $db->sql_close(); |