mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
@@ -591,7 +591,7 @@ class banlist_form_ui extends e_admin_form_ui
|
||||
|
||||
$allFailedTotal = e107::getDB()->count('generic', '(*)', "gen_type='failed_login'");
|
||||
|
||||
$this->batchOptions = array('delete-all'=>"Delete all ".$allFailedTotal." failed logins from database");
|
||||
$this->batchOptions = array('delete-all'=>str_replace('[x]', $allFailedTotal, BANLAN_127));
|
||||
|
||||
if(!empty($_POST['etrigger_batch']) && $_POST['etrigger_batch'] == "delete-all")
|
||||
{
|
||||
@@ -1707,4 +1707,4 @@ function headerjs()
|
||||
|
||||
require_once(e_ADMIN."footer.php");
|
||||
exit;
|
||||
?>
|
||||
?>
|
||||
|
@@ -130,5 +130,6 @@ define("BANLAN_123", "Add to Blacklist");
|
||||
define("BANLAN_124", "Expires"); // not ban_lan_34
|
||||
define("BANLAN_125", "Use my IP");
|
||||
define("BANLAN_126", "IP / Email");
|
||||
define("BANLAN_127", "Delete all [x] failed logins from database");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user