mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
Added viewforum section to page_header
git-svn-id: file:///svn/phpbb/trunk@31 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -49,6 +49,16 @@ switch($pagetype)
|
|||||||
$template->pparse("output", "header");
|
$template->pparse("output", "header");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
case 'viewforum':
|
||||||
|
$page_title = "View Forum";
|
||||||
|
$template->set_file(array("header" => "viewforum_header.tpl",
|
||||||
|
"body" => "viewforum_body.tpl",
|
||||||
|
"footer" => "viewforum_footer.tpl"));
|
||||||
|
$template->set_var(array("FORUM_ID" => $forum_id,
|
||||||
|
"FORUM_NAME" => $forum_name,
|
||||||
|
"MODERATORS" => $forum_moderators));
|
||||||
|
$template->pparse("output", "header");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user