mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
parent
13f30633b4
commit
6ea01fbf8a
1 changed files with 10 additions and 0 deletions
|
@ -49,6 +49,16 @@ switch($pagetype)
|
|||
$template->pparse("output", "header");
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue