From 40f1f172a81232e910e09981116e58f45bb6b344 Mon Sep 17 00:00:00 2001 From: natec Date: Sat, 17 Mar 2001 00:46:26 +0000 Subject: 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 --- phpBB/includes/page_tail.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'phpBB/includes/page_tail.php') 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 = "Administration Panel"; } -$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(); -- cgit v1.2.1