";
+ echo "
";
html_print_button(__('Execute again'), 'btn_str', false, "perform_response({'target':'".$command."','event_id':".$event_id.",'server_id':".$server_id.'}, '.$response_id.');', "class='sub next'");
echo '
';
diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php
index 1ca61fbe9b..e7f9c993b1 100644
--- a/pandora_console/include/functions_events.php
+++ b/pandora_console/include/functions_events.php
@@ -4329,7 +4329,7 @@ function events_page_details($event, $server='')
if (!empty($agent)) {
$data = [];
- $data[0] = '
'.__('Name').'
';
+ $data[0] = '
'.__('Name').'
';
if (can_user_access_node() && is_metaconsole() && empty($event['server_id']) === true) {
$data[1] = ui_print_truncate_text(
$agent['alias'],
@@ -4362,12 +4362,12 @@ function events_page_details($event, $server='')
$table_details->data[] = $data;
$data = [];
- $data[0] = '
'.__('IP Address').'
';
+ $data[0] = '
'.__('IP Address').'
';
$data[1] = empty($agent['direccion']) ? '
'.__('N/A').'' : $agent['direccion'];
$table_details->data[] = $data;
$data = [];
- $data[0] = '
'.__('OS').'
';
+ $data[0] = '
'.__('OS').'
';
$data[1] = ui_print_os_icon($agent['id_os'], true, true);
if (!empty($agent['os_version'])) {
$data[1] .= ' ('.$agent['os_version'].')';
@@ -4376,17 +4376,17 @@ function events_page_details($event, $server='')
$table_details->data[] = $data;
$data = [];
- $data[0] = '
'.__('Last contact').'
';
+ $data[0] = '
'.__('Last contact').'
';
$data[1] = ($agent['ultimo_contacto'] == '1970-01-01 00:00:00') ? '
'.__('N/A').'' : ui_print_timestamp($agent['ultimo_contacto'], true);
$table_details->data[] = $data;
$data = [];
- $data[0] = '
'.__('Last remote contact').'
';
+ $data[0] = '
'.__('Last remote contact').'
';
$data[1] = ($agent['ultimo_contacto_remoto'] == '1970-01-01 00:00:00') ? '
'.__('N/A').'' : date_w_fixed_tz($agent['ultimo_contacto_remoto']);
$table_details->data[] = $data;
$data = [];
- $data[0] = '
'.__('Custom fields').'
';
+ $data[0] = '
'.__('Custom fields').'
';
$data[1] = html_print_button(
__('View custom fields'),
'custom_button',
@@ -4418,13 +4418,13 @@ function events_page_details($event, $server='')
if (!empty($module)) {
// Module name.
$data = [];
- $data[0] = '
'.__('Name').'
';
+ $data[0] = '
'.__('Name').'
';
$data[1] = $module['nombre'];
$table_details->data[] = $data;
// Module group.
$data = [];
- $data[0] = '
'.__('Module group').'
';
+ $data[0] = '
'.__('Module group').'
';
$id_module_group = $module['id_module_group'];
if ($id_module_group == 0) {
$data[1] = __('No assigned');
@@ -4461,7 +4461,7 @@ function events_page_details($event, $server='')
if ($acl_graph) {
$data = [];
- $data[0] = '
'.__('Graph').'
';
+ $data[0] = '
'.__('Graph').'
';
$module_type = -1;
if (isset($module['module_type'])) {
@@ -4510,7 +4510,7 @@ function events_page_details($event, $server='')
if ($event['id_alert_am'] != 0) {
$data = [];
- $data[0] = '
'.__('Source').'
';
+ $data[0] = '
'.__('Source').'
';
$data[1] = '
';
$standby = db_get_value('standby', 'talert_template_modules', 'id', $event['id_alert_am']);
if (!$standby) {
@@ -4542,7 +4542,7 @@ function events_page_details($event, $server='')
$table_details->data[] = $data;
$data = [];
- $data[0] = ''.__('Priority').'
';
+ $data[0] = ''.__('Priority').'
';
$priority_code = db_get_value('priority', 'talert_template_modules', 'id', $event['id_alert_am']);
$alert_priority = get_priority_name($priority_code);
diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js
index 79be1dd634..0304fcc080 100644
--- a/pandora_console/include/javascript/pandora_events.js
+++ b/pandora_console/include/javascript/pandora_events.js
@@ -847,7 +847,8 @@ function execute_delete_event_reponse(table, id_evento, event_rep, row) {
// Imported from old files.
function execute_event_response(event_list_btn) {
- var message = " Are you sure?
";
+ var message =
+ " Are you sure?
";
confirmDialog({
title: "ATTENTION",
message: message,
diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php
index 4884280080..d24ba41e2a 100644
--- a/pandora_console/operation/events/events.php
+++ b/pandora_console/operation/events/events.php
@@ -1692,8 +1692,8 @@ echo "";
echo "";
// Load filter div for dialog.
-echo '';
-echo '';
+echo '';
+echo '';
if ($_GET['refr'] || $do_refresh === true) {
$autorefresh_draw = true;