width = '90%'; $table->data = array (); $table->style = array (); $table->data[0][0] = __('Group'); $table->data[0][1] = print_select_groups(false, "AR", true, "ag_group", $id_group, 'javascript:this.form.submit();', '', '', true); $alert_status_filter = array(); $alert_status_filter['all_enabled'] = __('All (Enabled)'); $alert_status_filter['all'] = __('All'); $alert_status_filter['fired'] = __('Fired'); $alert_status_filter['notfired'] = __('Not fired'); $alert_status_filter['disabled'] = __('Disabled'); $table->data[0][2] = __('Status'); $table->data[0][3] = print_select ($alert_status_filter, "filter", $filter, 'javascript:this.form.submit();', '', '', true); $table->data[1][0] = __('Free text for search') . ' ' . __("Filter by agent name, module name, template name or action name") . ''; $table->data[1][1] = print_input_text('free_search', $free_search, '', 20, 40, true); $table->colspan[1][2] = 2; $table->data[1][2] = print_submit_button(__('Filter'), 'filter_button', false, 'class="sub search"', true); echo '
'; print_table ($table); echo '
'; } ?>