From 33441af23fac66d1028d7975686787114d1a7f45 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 20 Feb 2003 14:11:53 +0000 Subject: [PATCH] Could've sworn I commited this change git-svn-id: file:///svn/phpbb/trunk@3472 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ));