From 9a5d72cd011de557551671761d081580b2801a50 Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 27 Jul 2011 09:07:37 +0000 Subject: [PATCH] 2011-07-27 Vanessa Gil * operation/agentes/status_monitor.php: Update the monitor search with "Filter" button. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ .../operation/agentes/alerts_status.functions.php | 2 +- pandora_console/operation/agentes/status_monitor.php | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 0bc50743f2..fc69133d06 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-07-27 Vanessa Gil + + * operation/agentes/status_monitor.php: Update the monitor search with "Filter" button. + 2011-07-26 Sergio Martin * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Changed null languages diff --git a/pandora_console/operation/agentes/alerts_status.functions.php b/pandora_console/operation/agentes/alerts_status.functions.php index bb3d041e88..da402c8bd0 100755 --- a/pandora_console/operation/agentes/alerts_status.functions.php +++ b/pandora_console/operation/agentes/alerts_status.functions.php @@ -58,7 +58,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st $alert_standby['standby_off'] = __('Standby off'); $table->data[0][2] = __('Status'); - $table->data[0][3] = html_print_select ($alert_status_filter, "filter", $filter, '', '', '', true);; + $table->data[0][3] = html_print_select ($alert_status_filter, "filter", $filter, '', '', '', true); $table->data[0][4] = ''; $table->data[1][0] = __('Free text for search') . ' ' . __("Filter by agent name, module name, template name or action name") . ''; diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 8e00bc669d..0aae73515f 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -60,7 +60,7 @@ echo ''; echo ''; echo '"; @@ -74,13 +74,13 @@ $fields[3] = __('Unknown'); $fields[4] = __('Not normal'); //default $fields[5] = __('Not init'); -html_print_select ($fields, "status", $status, 'this.form.submit();', __('All'), -1, false, false, true, '', false, 'width: 125px;'); +html_print_select ($fields, "status", $status, '', __('All'), -1, false, false, true, '', false, 'width: 125px;'); echo ''; echo ''; echo ''; echo '';
'.__('Group').''; -html_print_select_groups(false, "AR", true, "ag_group", $ag_group, 'this.form.submit();', +html_print_select_groups(false, "AR", true, "ag_group", $ag_group, '', '', '0', false, false, false, 'w130', false, 'width:150px;'); echo "'.__('Module group').''; html_print_select_from_sql ("SELECT * FROM tmodule_group ORDER BY name", - 'modulegroup', $modulegroup, 'this.form.submit();',__('All'), 0, false, false, true, false, 'width: 100px;'); + 'modulegroup', $modulegroup, '',__('All'), 0, false, false, true, false, 'width: 100px;'); echo '
'.__('Module name').''; @@ -179,7 +179,7 @@ switch ($config["dbtype"]) { $modules = db_get_all_rows_sql($sql); html_print_select (index_array ($modules, 'nombre', 'nombre'), "ag_modulename", - $ag_modulename, 'this.form.submit();', __('All'), '', false, false, true, '', false, 'width: 150px;'); + $ag_modulename, '', __('All'), '', false, false, true, '', false, 'width: 150px;'); echo ''.__('Search').'