width = '100%'; $table->id = 'add_alert_table'; $table->class = 'databox filters integria_incidents_options'; $table->head = []; $table->data = []; $table->size = []; $table->size = []; $table->style[0] = 'width: 33%; padding-right: 50px; padding-left: 100px;'; $table->style[1] = 'width: 33%; padding-right: 50px; padding-left: 50px;'; $table->style[2] = 'width: 33%; padding-right: 100px; padding-left: 50px;'; $table->colspan[0][0] = 2; $table->colspan[3][0] = 3; $help_macros = isset($_GET['from_event']) ? ui_print_help_icon('response_macros', true) : ''; if (isset($_GET['from_event'])) { if ($update) { $input_value_title = $incident_details[3]; $input_value_type = $incident_details[17]; $input_value_status = $incident_details[6]; $input_value_group = $incident_details[8]; $input_value_criticity = $incident_details[7]; $input_value_owner = $incident_details[5]; $input_value_content = $incident_details[4]; } else if (isset($_GET['from_event'])) { $input_value_title = $config['cr_incident_title']; $input_value_type = $config['cr_incident_type']; $input_value_status = $config['cr_incident_status']; $input_value_group = $config['cr_default_group']; $input_value_criticity = $config['cr_default_criticity']; $input_value_owner = $config['cr_default_owner']; $input_value_content = $config['cr_incident_content']; } else { $input_value_title = ''; $input_value_type = ''; $input_value_status = ''; $input_value_group = ''; $input_value_criticity = ''; $input_value_owner = ''; $input_value_content = ''; } } $table->data[0][0] = '
'.__('Title').': '.$help_macros.'
'; $table->data[0][0] .= ''.__('Type').':
'; $table->data[1][0] .= ''.__('Status').':
'; $table->data[2][0] .= ''.__('Group').':
'; $table->data[1][1] .= ''.__('Creator').':
'; $table->data[2][1] .= ''.__('Priority').':
'; $table->data[1][2] .= ''.__('Owner').':
'; $table->data[2][2] .= ''.__('Description').': '.$help_macros.'
'; $table->data[3][0] .= '