mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Update banlist.php
This commit is contained in:
@@ -591,7 +591,7 @@ class banlist_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
$allFailedTotal = e107::getDB()->count('generic', '(*)', "gen_type='failed_login'");
|
$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")
|
if(!empty($_POST['etrigger_batch']) && $_POST['etrigger_batch'] == "delete-all")
|
||||||
{
|
{
|
||||||
@@ -1707,4 +1707,4 @@ function headerjs()
|
|||||||
|
|
||||||
require_once(e_ADMIN."footer.php");
|
require_once(e_ADMIN."footer.php");
|
||||||
exit;
|
exit;
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user