From 363c1470432dce436acc796b344bf8cb75810b3a Mon Sep 17 00:00:00 2001 From: enriquecd Date: Wed, 1 Feb 2017 17:31:39 +0100 Subject: [PATCH] Disabled and enabled or all agents selector in agent massive operations - #37 --- .../godmode/massive/massive_delete_agents.php | 20 ++++--- .../godmode/massive/massive_edit_agents.php | 34 ++++++++--- .../javascript/jquery.pandora.controls.js | 58 +++++++++++++++++-- 3 files changed, 92 insertions(+), 20 deletions(-) diff --git a/pandora_console/godmode/massive/massive_delete_agents.php b/pandora_console/godmode/massive/massive_delete_agents.php index 98612a1b12..295411c92a 100755 --- a/pandora_console/godmode/massive/massive_delete_agents.php +++ b/pandora_console/godmode/massive/massive_delete_agents.php @@ -120,9 +120,9 @@ $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[1][2] = __('Show agents'); +$table->data[1][3] = html_print_select (array(0 => 'Only enabled',1 => 'Only disabled'), 'disabled',2,'',__('All'), + 2,true,'','','','','width:30%;'); $table->data[2][0] = __('Agents'); $table->data[2][0] .= '