diff --git a/phpBB/admin/admin_forum_prune.php b/phpBB/admin/admin_forum_prune.php
index d0a4d92e30..6a5883330a 100644
--- a/phpBB/admin/admin_forum_prune.php
+++ b/phpBB/admin/admin_forum_prune.php
@@ -43,6 +43,7 @@ if( $setmodules == 1 )
// Include required files, get $phpEx and check permissions
//
require('pagestart.inc');
+include($phpbb_root_path . 'includes/prune.php');
//
// Get the forum ID for pruning
@@ -99,8 +100,6 @@ if($submit == "Prune")
$prunesecs = $prunedays * 1440 * 60;
$prunedate = time() - $prunesecs;
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/forum_prune_result_body.tpl")
);
@@ -132,8 +131,6 @@ else
//
// Output a selection table if no forum id has been specified.
//
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/forum_prune_select_body.tpl")
);
@@ -160,8 +157,6 @@ else
//
// Output the form to retrieve Prune information.
//
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/forum_prune_body.tpl")
);
diff --git a/phpBB/admin/admin_forumauth.php b/phpBB/admin/admin_forumauth.php
index 0bb17279db..82fb47341b 100644
--- a/phpBB/admin/admin_forumauth.php
+++ b/phpBB/admin/admin_forumauth.php
@@ -164,11 +164,6 @@ $f_result = $db->sql_query($sql);
$forum_rows = $db->sql_fetchrowset($f_result);
-//
-// Page header
-//
-include('page_header_admin.'.$phpEx);
-
if(empty($forum_id))
{
//
diff --git a/phpBB/admin/admin_groupauth.php b/phpBB/admin/admin_groupauth.php
index 5db55e4dc0..d17d5b375c 100644
--- a/phpBB/admin/admin_groupauth.php
+++ b/phpBB/admin/admin_groupauth.php
@@ -480,8 +480,6 @@ if(isset($HTTP_POST_VARS['submit']) && !empty($HTTP_POST_VARS[POST_GROUPS_URL]))
{
$warning_list = "
" . $lang['Conflict_message_groupauth'] . "
" . $warning_list . "
" . $lang['Click'] ." " . $lang['HERE'] . " " . $lang['return_group_auth_admin'] . "
";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/admin_message_body.tpl")
);
@@ -518,9 +516,6 @@ else if(empty($HTTP_GET_VARS[POST_GROUPS_URL]))
}
$select_list .= "";
- $template_header = "admin/page_header.tpl";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/auth_select_body.tpl")
);
@@ -551,9 +546,6 @@ else
$adv = FALSE;
}
- $template_header = "admin/page_header.tpl";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/auth_ug_body.tpl")
);
diff --git a/phpBB/admin/admin_user_ban.php b/phpBB/admin/admin_user_ban.php
index 6bd73bc9ba..ce3ca50bca 100644
--- a/phpBB/admin/admin_user_ban.php
+++ b/phpBB/admin/admin_user_ban.php
@@ -44,8 +44,6 @@ $mode = (isset($HTTP_GET_VARS['mode'])) ? $HTTP_GET_VARS['mode'] : "unban";
if( isset($HTTP_POST_VARS['submit']) && isset($HTTP_POST_VARS['bancontrol']) )
{
- include('page_header_admin.'.$phpEx);
-
if($HTTP_POST_VARS['bancontrol'] == "ban")
{
$user_bansql = "";
@@ -345,8 +343,6 @@ if( isset($HTTP_POST_VARS['submit']) && isset($HTTP_POST_VARS['bancontrol']) )
}
else
{
- include('page_header_admin.'.$phpEx);
-
if( $mode == "ban" )
{
$userban_count = 0;
diff --git a/phpBB/admin/admin_userauth.php b/phpBB/admin/admin_userauth.php
index 0248bb06e6..b83790033f 100644
--- a/phpBB/admin/admin_userauth.php
+++ b/phpBB/admin/admin_userauth.php
@@ -545,8 +545,6 @@ if(isset($HTTP_POST_VARS['submit']) && !empty($HTTP_POST_VARS[POST_USERS_URL]))
{
$warning_list = "
" . $lang['Conflict_message_userauth'] . "
" . $warning_list . "
" . $lang['Click'] . " " . $lang['HERE'] . " ". $lang['return_user_auth_admin'] . "
";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/admin_message_body.tpl")
);
@@ -584,8 +582,6 @@ else if(empty($HTTP_GET_VARS[POST_USERS_URL]))
}
$select_list .= "";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/auth_select_body.tpl")
);
@@ -616,9 +612,6 @@ else
$adv = FALSE;
}
- $template_header = "admin/page_header.tpl";
- include('page_header_admin.'.$phpEx);
-
$template->set_filenames(array(
"body" => "admin/auth_ug_body.tpl")
);