aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/page_header.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 06:10:12 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 06:10:12 +0000
commit8918532a1329157916e539ee84cd711fd3f267bc (patch)
tree0bfcb465225f44365a137d76a1dd077ea0a7161d /phpBB/page_header.php
parent658df35cd4c176916e7cd0bd766bb8c8e0cc77d1 (diff)
downloadforums-8918532a1329157916e539ee84cd711fd3f267bc.tar
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.gz
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.bz2
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.xz
forums-8918532a1329157916e539ee84cd711fd3f267bc.zip
phpBB 2 is started
git-svn-id: file:///svn/phpbb/trunk@13 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/page_header.php')
-rw-r--r--phpBB/page_header.php25
1 files changed, 24 insertions, 1 deletions
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;
+}
+
?>