2011-07-27 Vanessa Gil <vanessa.gil@artica.es>

* 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
This commit is contained in:
vgilc 2011-07-27 09:07:37 +00:00
parent fb6fc2b223
commit 9a5d72cd01
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2011-07-27 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/status_monitor.php: Update the monitor search with "Filter" button.
2011-07-26 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Changed null languages

View File

@ -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')
. '<a href="#" class="tip">&nbsp;<span>' . __("Filter by agent name, module name, template name or action name") . '</span></a>';

View File

@ -60,7 +60,7 @@ echo '<table cellspacing="4" cellpadding="4" width="98%" class="databox">';
echo '<tr><td valign="middle">'.__('Group').'</td>';
echo '<td valign="middle">';
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 "</td>";
@ -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 '</td>';
echo '<td valign="middle">'.__('Module group').'</td>';
echo '<td valign="middle">';
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 '</td></tr><tr><td valign="middle">'.__('Module name').'</td>';
echo '<td valign="middle">';
@ -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 '</td><td valign="middle" align="right">'.__('Search').'</td>';