diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-20 14:11:53 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-20 14:11:53 +0000 |
| commit | 33441af23fac66d1028d7975686787114d1a7f45 (patch) | |
| tree | 08ba5c6d7caea8afd0bcc2484ec292d7110253d7 /phpBB/mcp.php | |
| parent | f2bc043b3891ca1e82d6030870c056046c289772 (diff) | |
| download | forums-33441af23fac66d1028d7975686787114d1a7f45.tar forums-33441af23fac66d1028d7975686787114d1a7f45.tar.gz forums-33441af23fac66d1028d7975686787114d1a7f45.tar.bz2 forums-33441af23fac66d1028d7975686787114d1a7f45.tar.xz forums-33441af23fac66d1028d7975686787114d1a7f45.zip | |
Could've sworn I commited this change
git-svn-id: file:///svn/phpbb/trunk@3472 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
| -rw-r--r-- | phpBB/mcp.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 92e422ba43..2024de4728 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -865,7 +865,7 @@ include($phpbb_root_path . 'includes/page_tail.' . $phpEx); // function mcp_header($template_name, $forum_nav = FALSE, $jump_mode = 'forum_view') { - global $phpbb_root_path, $phpEx, $SID, $template, $user, $db, $config; + global $phpbb_root_path, $phpEx, $SID, $template, $auth, $user, $db, $config; global $forum_id, $forum_info; $forum_id = (!empty($forum_id)) ? $forum_id : FALSE; @@ -881,6 +881,7 @@ function mcp_header($template_name, $forum_nav = FALSE, $jump_mode = 'forum_view $page_title = sprintf($user->lang['MCP'], '', ''); include($phpbb_root_path . 'includes/page_header.' . $phpEx); + $template->set_filenames(array( 'body' => $template_name )); |
