From 8918532a1329157916e539ee84cd711fd3f267bc Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 22 Feb 2001 06:10:12 +0000 Subject: phpBB 2 is started git-svn-id: file:///svn/phpbb/trunk@13 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/page_header.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'phpBB/page_header.php') diff --git a/phpBB/page_header.php b/phpBB/page_header.php index acb48a7f11..a4c4b3d425 100644 --- a/phpBB/page_header.php +++ b/phpBB/page_header.php @@ -23,5 +23,28 @@ ***************************************************************************/ - +switch($pagetype) +{ + case 'index': + $page_title = "Forum Index"; + $template->set_file(array("overall_header" => "overall_header.tpl", + "header" => "index_header.tpl", + "body" => "index_body.tpl", + "footer" => "index_footer.tpl", + "overall_footer" => "overall_footer.tpl")); + $template->set_var(array("SITENAME" => $sitename, + "PAGE_TITLE" => $page_title, + "META_INFO" => $meta_tags, + "TOTAL_POSTS" => $total_posts, + "TOTAL_USERS" => $total_users, + "NEWEST_USER" => $newest_user, + "NEWEST_UID" => $newest_uid, + "USERS_BROWSING" => $users_browsing)); + + $template->pparse("output", "overall_header"); + $template->pparse("output", "header"); + + break; +} + ?> -- cgit v1.2.1