mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Issue #2846 LAN vars cleanup
This commit is contained in:
@@ -1058,13 +1058,14 @@ class lancheck
|
|||||||
$kom_start = chr(47)."*";
|
$kom_start = chr(47)."*";
|
||||||
$kom_end = "*".chr(47);
|
$kom_end = "*".chr(47);
|
||||||
|
|
||||||
if(vartrue($_SESSION['lancheck-edit-file']))
|
if(!empty($_SESSION['lancheck-edit-file']))
|
||||||
{
|
{
|
||||||
$writeit = $_SESSION['lancheck-edit-file'];
|
$writeit = $_SESSION['lancheck-edit-file'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return;
|
e107::getMessage()->addError("There is a problem with sessions");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$old_kom = "";
|
$old_kom = "";
|
||||||
|
@@ -2335,7 +2335,7 @@ class users_admin_ui extends e_admin_ui
|
|||||||
$ed = $sql->db_Update('user',"user_ban=3 WHERE (`user_id` IN (".$all_ids.") OR `user_email` IN (".$all_emails.")) AND user_sess !='' ");
|
$ed = $sql->db_Update('user',"user_ban=3 WHERE (`user_id` IN (".$all_ids.") OR `user_email` IN (".$all_emails.")) AND user_sess !='' ");
|
||||||
if (!$ed)
|
if (!$ed)
|
||||||
$ed = '0';
|
$ed = '0';
|
||||||
$this->show_message(str_replace(array('{TOTAL}','{DELCOUNT}','{DELUSER}','{FOUND}'),array($tot,$del_count,$ed,$found),USRLAN_155).$text);
|
$this->show_message(str_replace(array('[w]','[x]','[y]','[z]'),array($tot,$del_count,$ed,$found),USRLAN_155).$text);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------- FIXME Prune Users move to cron --------------
|
// ------- FIXME Prune Users move to cron --------------
|
||||||
|
@@ -156,7 +156,7 @@ define("USRLAN_151", "Clear bounce, require Activation");
|
|||||||
define("USRLAN_152", "Clear bounce and Activate");
|
define("USRLAN_152", "Clear bounce and Activate");
|
||||||
define("USRLAN_153", "Delete non-bounce emails");
|
define("USRLAN_153", "Delete non-bounce emails");
|
||||||
define("USRLAN_154", "Clear email for checked");
|
define("USRLAN_154", "Clear email for checked");
|
||||||
define("USRLAN_155", "Total {TOTAL} emails found. {DELCOUNT} deleted through options.<br />{DELUSER} users marked as 'bounced' (out of {FOUND} emails)");
|
define("USRLAN_155", "Total [w] emails found. [x] deleted through options.[br][y] users marked as 'bounced' (out of [z] emails)");
|
||||||
define("USRLAN_156", "Email address is already in use");
|
define("USRLAN_156", "Email address is already in use");
|
||||||
|
|
||||||
// define("USRLAN_160", "Total [x] users of type --TYPE-- pruned");
|
// define("USRLAN_160", "Total [x] users of type --TYPE-- pruned");
|
||||||
|
Reference in New Issue
Block a user