width = '100%'; $table->id = 'add_alert_table'; $table->class = 'databox filters'; $table->head = []; $table->data = []; $table->size = []; $table->size = []; $table->size[0] = '15%'; $table->size[1] = '90%'; $table->data[0][0] = __('Group'); $table->data[0][1] = html_print_select( $group_values, 'default_group', $config['default_group'], '', __('Select'), 0, true, false, true, '', false ); $table->data[1][0] = __('Default Criticity'); $table->data[1][1] = html_print_select( $integria_criticity_values, 'default_criticity', $config['default_criticity'], '', __('Select'), 0, true, false, true, '', false ); $table->data[2][0] = __('Default Owner'); $table->data[2][1] = html_print_select( $integria_users_values, 'default_owner', $config['default_owner'], '', __('Select'), 0, true, false, true, '', false ); $table->data[0][2] = __('Incident Type'); $table->data[0][3] = html_print_select( $integria_types_values, 'incident_type', $config['incident_type'], '', __('Select'), 0, true, false, true, '', false ); $table->data[1][2] = __('Incident title').ui_print_help_icon('response_macros', true); $table->data[1][3] = html_print_input_text( 'incident_title', $config['incident_title'], __('Name'), 50, 100, true, false, true ); $table->data[2][2] = __('Incident content').ui_print_help_icon('response_macros', true); $table->data[2][3] = html_print_input_text( 'incident_content', $config['incident_content'], '', 50, 100, true, false, true ); echo '
'; html_print_table($table); html_print_input_hidden('create_incident', 1); echo '
'; html_print_submit_button(__('Create'), 'accion', false, 'class="sub wand"'); echo '
'; echo '
';