git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4eb0bcece3
commit
84fca6657b
|
@ -1,3 +1,7 @@
|
|||
2011-07-26 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* operation/agentes/alerts_status_functions.php: Update the alerts search with "Filter" button.
|
||||
|
||||
2011-07-26 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* pandoradb_data.sql
|
||||
|
|
|
@ -43,8 +43,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
|
|||
$table->style = array ();
|
||||
|
||||
$table->data[0][0] = __('Group');
|
||||
$table->data[0][1] = html_print_select_groups(false, "AR", true, "ag_group", $id_group,
|
||||
'javascript:this.form.submit();', '', '', true);
|
||||
$table->data[0][1] = html_print_select_groups(false, "AR", true, "ag_group", $id_group, '', '', '', true);
|
||||
|
||||
$alert_status_filter = array();
|
||||
$alert_status_filter['all_enabled'] = __('All (Enabled)');
|
||||
|
@ -59,13 +58,13 @@ 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, 'javascript:this.form.submit();', '', '', 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"> <span>' . __("Filter by agent name, module name, template name or action name") . '</span></a>';
|
||||
$table->data[1][1] = html_print_input_text('free_search', $free_search, '', 20, 40, true);
|
||||
$table->data[1][2] = __('Standby');
|
||||
$table->data[1][3] = html_print_select ($alert_standby, "filter_standby", $filter_standby, 'javascript:this.form.submit();', '', '', true);
|
||||
$table->data[1][3] = html_print_select ($alert_standby, "filter_standby", $filter_standby, '', '', '', true);
|
||||
$table->data[1][4] = html_print_submit_button(__('Filter'), 'filter_button', false, 'class="sub search"', true);
|
||||
|
||||
$data = '<form method="post" action="'.$url.'">';
|
||||
|
|
Loading…
Reference in New Issue