From eed5d0efb48ddc12344355062a645139bfb055ff Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 4 Sep 2013 09:14:52 +0000 Subject: [PATCH] 2013-09-04 Ramon Novoa * include/functions_events.php, include/javascript/pandora_events.js: Added 'ID extra' to the event details. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/functions_events.php | 10 ++++++++++ pandora_console/include/javascript/pandora_events.js | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 233c7ed270..a9fc552b0d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-09-04 Ramon Novoa + + * include/functions_events.php, + include/javascript/pandora_events.js: Added 'ID extra' to the event + details. + 2013-09-03 Miguel de Dios * include/functions_groups.php, operation/agentes/group_view.php: diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 9df17f4e21..5495f2f0e2 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2250,6 +2250,16 @@ function events_page_general ($event) { } $table_general->data[] = $data; + $data = array(); + $data[0] = __('ID extra'); + if ($event["id_extra"] != '') { + $data[1] = $event["id_extra"]; + } + else { + $data[1] = '' . __('N/A') . ''; + } + $table_general->data[] = $data; + $general = '
'.html_print_table($table_general,true).'
'; return $general; diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js index 7cb0637a4b..f0f99e18f0 100644 --- a/pandora_console/include/javascript/pandora_events.js +++ b/pandora_console/include/javascript/pandora_events.js @@ -47,7 +47,7 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) { background: "black" }, width: 700, - height: 500 + height: 510 }) .show ();