From 26e43e5252bcd6d69fd837d663fa2badbabc230b Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 9 Sep 2016 16:26:29 +0200 Subject: [PATCH] Added new checkbox in massive agents deletion to select only the disabled agents --- .../godmode/massive/massive_delete_agents.php | 15 +++++++++++++++ .../include/javascript/jquery.pandora.controls.js | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/massive/massive_delete_agents.php b/pandora_console/godmode/massive/massive_delete_agents.php index e80c4b9756..98612a1b12 100755 --- a/pandora_console/godmode/massive/massive_delete_agents.php +++ b/pandora_console/godmode/massive/massive_delete_agents.php @@ -120,6 +120,10 @@ $table->data[1][0] = __('Status'); $table->data[1][1] = html_print_select($status_list, 'status_agents', 'selected', '', __('All'), AGENT_STATUS_ALL, true); +$table->data[1][2] = __('Only disabled agents'); +$table->data[1][3] = html_print_checkbox ("disabled", 1, $disabled, + true, false); + $table->data[2][0] = __('Agents'); $table->data[2][0] .= '