1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-23 00:32:57 +02:00

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
This commit is contained in:
natec
2001-03-17 00:46:26 +00:00
parent b1ce902c02
commit 40f1f172a8
12 changed files with 476 additions and 438 deletions

View File

@@ -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();