diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
| commit | dac0adead30ed70400a2a22f9439a8184ad479d8 (patch) | |
| tree | 6a04b15e16669a1b6900c550ae06c856c06d09d8 /phpBB/mcp.php | |
| parent | 5b927b016203cf0eb73bc33a787b778b9f614578 (diff) | |
| download | forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.gz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.bz2 forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.xz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.zip | |
page header/footer become functions, forum passwords (I know, I know but it appears a popular feature for some reason ... inclusion not yet set in concrete nor complete), various bug fixes (and no doubt new bugs).
git-svn-id: file:///svn/phpbb/trunk@3969 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
| -rw-r--r-- | phpBB/mcp.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 6c6d267657..2cb5fcdad9 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -840,7 +840,7 @@ switch ($mode) )); mcp_header('mcp_move.html'); - include($phpbb_root_path . 'includes/page_tail.' . $phpEx); + page_footer(); } else { @@ -1977,7 +1977,7 @@ switch ($mode) )); } -include($phpbb_root_path . 'includes/page_tail.' . $phpEx); +page_footer(); // ----------------------- // Page specific functions @@ -1989,14 +1989,13 @@ function mcp_header($template_name, $jumpbox_acl = FALSE, $forum_nav = FALSE) $forum_id = (!empty($forum_id)) ? $forum_id : FALSE; - $page_title = sprintf($user->lang['MCP'], '', ''); - include($phpbb_root_path . 'includes/page_header.' . $phpEx); + page_header(sprintf($user->lang['MCP'], '', '')); $template->set_filenames(array( - 'body' => $template_name - )); + 'body' => $template_name) + ); - if (preg_match('/mod_queue|post_reports|viewlogs/', $mode)) + if (preg_match('#mod_queue|post_reports|viewlogs#', $mode)) { $enable_select_all = TRUE; } |
