From 47d88e1e154428cbcec2c555851083817f9d02a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Wed, 18 Apr 2018 09:45:30 +0200 Subject: [PATCH] Update banlist.php --- e107_admin/banlist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php index dd5fd65cb..ea564bd3b 100644 --- a/e107_admin/banlist.php +++ b/e107_admin/banlist.php @@ -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; -?> \ No newline at end of file +?>