From 99436b806856acc9dc0986386b1f9271c2bd844f Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 1 Feb 2012 12:49:01 +0000 Subject: [PATCH] 2012-02-01 Vanessa Gil * operation/events/events_list.php: Show event id in view events. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 ++++ pandora_console/index.php | 2 +- .../operation/events/events_list.php | 20 ++++++++++++------- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e0ffe9db41..3981dbbeb3 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2012-02-01 Vanessa Gil + + * operation/events/events_list.php: Show event id in view events. + 2012-02-01 Juan Manuel Ramon * general/shortcut_bar.php: Fixed realtime update of alerts counter. diff --git a/pandora_console/index.php b/pandora_console/index.php index 978a1e66fe..6b4d2a848d 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -21,7 +21,7 @@ if (function_exists ('mb_internal_encoding')) { // Set to 1 to do not check for installer or config file (for development!). // Activate gives more error information, not useful for production sites -$develop_bypass = 1; +$develop_bypass = 0; if ($develop_bypass != 1) { // If no config file, automatically try to install diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index f89ceeead2..9ae5c615b4 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -583,10 +583,15 @@ foreach ($result as $event) { //Hiden row with extended description $string = ''; + $string .= ''; + $string .= ''; + $string .= ''; $string .= ''; + $string .= ''; $string .= ''; + $string .= ''; $string .= ''; - $string .= ''; + $string .= ''; - $odd = ''; + $string .= ''; + + $odd = 'rowOdd'; if ($event["id_agente"] != 0) { $string .= '
'; + $string .= '' . __('Event ID') . ''; + $string .= io_safe_output($event["id_evento"]); + $string .= '
'; $string .= '' . __('Event name') . ''; $string .= io_safe_output($event["evento"]); - $string .= '
'; $string .= '' . __('Severity') . ''; $string .= html_print_image ($img_sev, true, @@ -595,16 +600,16 @@ foreach ($result as $event) { "height" => 12, "title" => get_priority_name ($event["criticity"]))); $string .= ' '.get_priority_name ($event["criticity"]); - $string .= '
'; $string .= '' . __('Type') . ''; $string .= events_print_type_img ($event["event_type"], true).' '.events_print_type_description($event["event_type"], true); - $string .= '
'; $string .= '' . __('Status') . ''; $string .= $title_st; - $string .= '
'; + $string .= '
'; $string .= '' . __('Timestamp') . ''; if ($group_rep == 1) { $string .= date ($config["date_format"], $event['timestamp_rep']); @@ -612,8 +617,9 @@ foreach ($result as $event) { else { $string .= date ($config["date_format"], strtotime($event["timestamp"])); } - $string .= '
';