diff --git a/pandora_console/godmode/setup/setup_integria.php b/pandora_console/godmode/setup/setup_integria.php index 7c6c3c6f47..207cd49fc1 100644 --- a/pandora_console/godmode/setup/setup_integria.php +++ b/pandora_console/godmode/setup/setup_integria.php @@ -55,7 +55,7 @@ if ($has_connection === false) { if (get_parameter('update_config', 0) == 1) { // Try to retrieve event response 'Create incident in IntegriaIMS from event' to check if it exists. - $event_response_exists = db_get_row_filter('tevent_response', ['name' => io_safe_input('Create incident in IntegriaIMS from event')]); + $event_response_exists = db_get_row_filter('tevent_response', ['name' => io_safe_input('Create ticket in IntegriaIMS from event')]); // Try to retrieve command 'Integia IMS Ticket' to check if it exists. $command_exists = db_get_row_filter('talert_commands', ['name' => io_safe_input('Integria IMS Ticket')]); @@ -66,8 +66,8 @@ if (get_parameter('update_config', 0) == 1) { db_process_sql_insert( 'tevent_response', [ - 'name' => io_safe_input('Create incident in IntegriaIMS from event'), - 'description' => io_safe_input('Create an incident in Integria IMS from an event'), + 'name' => io_safe_input('Create ticket in IntegriaIMS from event'), + 'description' => io_safe_input('Create a ticket in Integria IMS from an event'), 'target' => io_safe_input('index.php?sec=incident&sec2=operation/incidents/configure_integriaims_incident&from_event=_event_id_'), 'type' => 'url', 'id_group' => '0', @@ -88,7 +88,7 @@ if (get_parameter('update_config', 0) == 1) { 'name' => io_safe_input('Integria IMS Ticket'), 'command' => io_safe_input('perl /usr/share/pandora_server/util/integria_rticket.pl -p '.$config['integria_hostname'].'/integria/include/api.php -u '.$config['integria_api_pass'].','.$config['integria_user'].','.$config['integria_pass'].' -create_ticket -name "_field1_" -desc "_field2_" -group _field3_ -priority _field4_ -owner _field5_ -type _field6_'), 'internal' => 1, - 'description' => io_safe_input('Create an incident in Integria IMS'), + 'description' => io_safe_input('Create a ticket in Integria IMS'), 'fields_descriptions' => '["'.io_safe_input('Ticket title').'","'.io_safe_input('Ticket description').'","'.io_safe_input('Ticket group ID').'","'.io_safe_input('Ticket priority').'","'.io_safe_input('Ticket owner').'","'.io_safe_input('Ticket type').'"]', 'fields_values' => '["'.io_safe_input($config['incident_title']).'", "'.io_safe_input($config['incident_content']).'", "'.io_safe_input($config['default_group']).'", "'.io_safe_input($config['default_criticity']).'", "'.io_safe_input($config['default_owner']).'", "'.io_safe_input($config['incident_type']).'"]', 'fields_hidden' => '["","","","","","","","","",""]', @@ -144,7 +144,7 @@ if (get_parameter('update_config', 0) == 1) { } else { if ($event_response_exists != false) { // Delete 'Create incident in IntegriaIMS from event' event response if it does exist and IntegriaIMS integration is disabled. - db_process_sql_delete('tevent_response', ['name' => io_safe_input('Create incident in IntegriaIMS from event')]); + db_process_sql_delete('tevent_response', ['name' => io_safe_input('Create ticket in IntegriaIMS from event')]); } if ($command_exists != false) { @@ -201,7 +201,7 @@ $table_enable->style['name'] = 'font-weight: bold'; // Enable Integria. $row = []; -$row['name'] = __('Enable Integria'); +$row['name'] = __('Enable Integria IMS'); $row['control'] = html_print_checkbox_switch('integria_enabled', 1, $config['integria_enabled'], true); $table_enable->data['integria_enabled'] = $row; @@ -308,7 +308,7 @@ $table_cr_settings->data['custom_response_def_group'] = $row; // Custom response default criticity. $row = []; -$row['name'] = __('Criticity'); +$row['name'] = __('Priority'); $row['control'] = html_print_select( $integria_criticity_values, 'default_criticity', @@ -428,7 +428,7 @@ if ($has_connection != false) { // Form custom response settings. echo '