1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

More notice removal

This commit is contained in:
Tijn Kuyper
2012-12-08 13:52:05 +01:00
parent bb13386eb3
commit 5290bb8ea4
36 changed files with 134 additions and 130 deletions

View File

@@ -148,7 +148,8 @@ if (isset ($_POST['resend_to_all']))
// if (isset ($_POST['execute_batch']))
// {
// $user->process_batch();
// }
// }
@@ -449,13 +450,15 @@ if (isset ($_POST['useraction']) && $_POST['useraction'] == "unban")
// {
// $ip = ($_POST['userip']) ? $_POST['userip'] : $_GET['userinfo'];
// $user->user_info($ip);
// $user->user_info($ip);
// }
// ------- Delete User --------------
// if (isset ($_POST['useraction']) && $_POST['useraction'] == 'deluser')
// {
// $user->user_delete($_POST['userid'],true);
// {
// }
// ---- Update User's class --------------------
if (isset ($_POST['updateclass']))
@@ -762,15 +765,15 @@ class users_admin_ui extends e_admin_ui
if(isset($_POST['useraction']))
{
switch ($_POST['useraction'])
if(isset($_POST['useraction']))
{
{
case 'deluser':
if($_POST['userid'])
{
// map to the delete trigger - TODO quick and dirty fix, rewrite
$_POST['multiselect'] = array($_POST['userid'] => $_POST['userid']);
$_POST['etrigger_batch'] = 'delete';
// map to the delete trigger - TODO quick and dirty fix, rewrite
$_POST['multiselect'] = array($_POST['userid'] => $_POST['userid']);
}
break;
}
}
}
@@ -1111,13 +1114,13 @@ class users_admin_form_ui extends e_admin_form_ui
return $list;
}
return $list;
$tmp = explode(",", $curval);
$text = array();
foreach($tmp as $v)
{
$text[] = $list[$v];
}
{
return implode("<br />", $text); // $list[$curval];
}
@@ -1176,7 +1179,7 @@ class users_admin_form_ui extends e_admin_form_ui
extract($row);
$text = "<div>
<input type='hidden' name='userid[{$user_id}]' value='{$user_id}' />
<input type='hidden' name='userip[{$user_id}]' value='{$user_ip}' />
@@ -1371,7 +1374,7 @@ class users
save_prefs();
}
// $this->usersSaveColumnPref();
save_prefs();
$this->fieldpref = (!vartrue($user_pref['admin_users_columns'])) ? array('user_name','user_class') : $user_pref['admin_users_columns'];
/* if (e_QUERY)
{