aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/page_header.php')
-rw-r--r--phpBB/page_header.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/page_header.php b/phpBB/page_header.php
index e05aeca7d1..903ed4dd69 100644
--- a/phpBB/page_header.php
+++ b/phpBB/page_header.php
@@ -121,7 +121,14 @@ switch($pagetype)
"TOPIC_TITLE" => $topic_title));
$template->pparse("output", "header");
break;
-
+ case 'newtopic':
+ $template->set_file(array("header" => "newtopic_header.tpl",
+ "body" => "posting_body.tpl"));
+ $template->set_var(array("FORUM_ID" => $forum_id,
+ "FORUM_NAME" => $forum_name,
+ "L_POSTNEWIN" => $l_postnewin));
+ $template->pparse("output", "header");
+ break;
}
?>