mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Major screwups ;(
git-svn-id: file:///svn/phpbb/trunk@800 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
077d7a7651
commit
e84bf795a4
5 changed files with 1 additions and 30 deletions
|
@ -43,6 +43,7 @@ if( $setmodules == 1 )
|
||||||
// Include required files, get $phpEx and check permissions
|
// Include required files, get $phpEx and check permissions
|
||||||
//
|
//
|
||||||
require('pagestart.inc');
|
require('pagestart.inc');
|
||||||
|
include($phpbb_root_path . 'includes/prune.php');
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get the forum ID for pruning
|
// Get the forum ID for pruning
|
||||||
|
@ -99,8 +100,6 @@ if($submit == "Prune")
|
||||||
$prunesecs = $prunedays * 1440 * 60;
|
$prunesecs = $prunedays * 1440 * 60;
|
||||||
$prunedate = time() - $prunesecs;
|
$prunedate = time() - $prunesecs;
|
||||||
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/forum_prune_result_body.tpl")
|
"body" => "admin/forum_prune_result_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -132,8 +131,6 @@ else
|
||||||
//
|
//
|
||||||
// Output a selection table if no forum id has been specified.
|
// Output a selection table if no forum id has been specified.
|
||||||
//
|
//
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/forum_prune_select_body.tpl")
|
"body" => "admin/forum_prune_select_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -160,8 +157,6 @@ else
|
||||||
//
|
//
|
||||||
// Output the form to retrieve Prune information.
|
// Output the form to retrieve Prune information.
|
||||||
//
|
//
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/forum_prune_body.tpl")
|
"body" => "admin/forum_prune_body.tpl")
|
||||||
);
|
);
|
||||||
|
|
|
@ -164,11 +164,6 @@ $f_result = $db->sql_query($sql);
|
||||||
|
|
||||||
$forum_rows = $db->sql_fetchrowset($f_result);
|
$forum_rows = $db->sql_fetchrowset($f_result);
|
||||||
|
|
||||||
//
|
|
||||||
// Page header
|
|
||||||
//
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
if(empty($forum_id))
|
if(empty($forum_id))
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
|
@ -480,8 +480,6 @@ if(isset($HTTP_POST_VARS['submit']) && !empty($HTTP_POST_VARS[POST_GROUPS_URL]))
|
||||||
{
|
{
|
||||||
$warning_list = "<br />" . $lang['Conflict_message_groupauth'] . "<br/><br/>" . $warning_list . "<br />" . $lang['Click'] ." <a href=\"admin_groupauth.$phpEx?" . POST_GROUPS_URL . "=$group_id\">" . $lang['HERE'] . "</a> " . $lang['return_group_auth_admin'] . "<br />";
|
$warning_list = "<br />" . $lang['Conflict_message_groupauth'] . "<br/><br/>" . $warning_list . "<br />" . $lang['Click'] ." <a href=\"admin_groupauth.$phpEx?" . POST_GROUPS_URL . "=$group_id\">" . $lang['HERE'] . "</a> " . $lang['return_group_auth_admin'] . "<br />";
|
||||||
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/admin_message_body.tpl")
|
"body" => "admin/admin_message_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -518,9 +516,6 @@ else if(empty($HTTP_GET_VARS[POST_GROUPS_URL]))
|
||||||
}
|
}
|
||||||
$select_list .= "</select>";
|
$select_list .= "</select>";
|
||||||
|
|
||||||
$template_header = "admin/page_header.tpl";
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/auth_select_body.tpl")
|
"body" => "admin/auth_select_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -551,9 +546,6 @@ else
|
||||||
$adv = FALSE;
|
$adv = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
$template_header = "admin/page_header.tpl";
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/auth_ug_body.tpl")
|
"body" => "admin/auth_ug_body.tpl")
|
||||||
);
|
);
|
||||||
|
|
|
@ -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']) )
|
if( isset($HTTP_POST_VARS['submit']) && isset($HTTP_POST_VARS['bancontrol']) )
|
||||||
{
|
{
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
if($HTTP_POST_VARS['bancontrol'] == "ban")
|
if($HTTP_POST_VARS['bancontrol'] == "ban")
|
||||||
{
|
{
|
||||||
$user_bansql = "";
|
$user_bansql = "";
|
||||||
|
@ -345,8 +343,6 @@ if( isset($HTTP_POST_VARS['submit']) && isset($HTTP_POST_VARS['bancontrol']) )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
if( $mode == "ban" )
|
if( $mode == "ban" )
|
||||||
{
|
{
|
||||||
$userban_count = 0;
|
$userban_count = 0;
|
||||||
|
|
|
@ -545,8 +545,6 @@ if(isset($HTTP_POST_VARS['submit']) && !empty($HTTP_POST_VARS[POST_USERS_URL]))
|
||||||
{
|
{
|
||||||
$warning_list = "<br />" . $lang['Conflict_message_userauth'] . "<br/><br/>" . $warning_list . "<br />" . $lang['Click'] . " <a href=\"admin_userauth.$phpEx?" . POST_USERS_URL . "=$user_id\">" . $lang['HERE'] . "</a> ". $lang['return_user_auth_admin'] . "<br />";
|
$warning_list = "<br />" . $lang['Conflict_message_userauth'] . "<br/><br/>" . $warning_list . "<br />" . $lang['Click'] . " <a href=\"admin_userauth.$phpEx?" . POST_USERS_URL . "=$user_id\">" . $lang['HERE'] . "</a> ". $lang['return_user_auth_admin'] . "<br />";
|
||||||
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/admin_message_body.tpl")
|
"body" => "admin/admin_message_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -584,8 +582,6 @@ else if(empty($HTTP_GET_VARS[POST_USERS_URL]))
|
||||||
}
|
}
|
||||||
$select_list .= "</select>";
|
$select_list .= "</select>";
|
||||||
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/auth_select_body.tpl")
|
"body" => "admin/auth_select_body.tpl")
|
||||||
);
|
);
|
||||||
|
@ -616,9 +612,6 @@ else
|
||||||
$adv = FALSE;
|
$adv = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
$template_header = "admin/page_header.tpl";
|
|
||||||
include('page_header_admin.'.$phpEx);
|
|
||||||
|
|
||||||
$template->set_filenames(array(
|
$template->set_filenames(array(
|
||||||
"body" => "admin/auth_ug_body.tpl")
|
"body" => "admin/auth_ug_body.tpl")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue