From 77c0be4a40097d74cc4ca3e52836002cd9ab32fc Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 17 Nov 2011 16:55:32 +0000 Subject: [PATCH] 2011-11-17 Juan Manuel Ramon * godmode/snmpconsole/snmp_alert.php: Fixed bad time description. * godmode/reporting/visual_console_builder.editor.php include/functions_visual_map.php: Now it's possible to link icons in visual console with a web page through the label. * operation/visual_console/index.php operation/visual_console/render_view.php include/functions_config.php operation/menu.php godmode/menu.php godmode/setup/setup.php godmode/setup/setup_visuals.php include/config_process.php: Added two new autorefresh parameters: one global and the other for visual console. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 18 +++++ pandora_console/godmode/menu.php | 4 +- .../visual_console_builder.editor.php | 2 +- pandora_console/godmode/setup/setup.php | 6 -- .../godmode/setup/setup_visuals.php | 73 ++++++++++++------- .../godmode/snmpconsole/snmp_alert.php | 6 +- pandora_console/include/config_process.php | 4 +- pandora_console/include/functions_config.php | 10 +++ .../include/functions_visual_map.php | 11 ++- pandora_console/operation/menu.php | 12 ++- .../operation/visual_console/index.php | 4 +- .../operation/visual_console/render_view.php | 20 ++++- 12 files changed, 124 insertions(+), 46 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9a61c2b488..e953ebf1a9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,21 @@ +2011-11-17 Juan Manuel Ramon + + * godmode/snmpconsole/snmp_alert.php: Fixed bad time description. + + * godmode/reporting/visual_console_builder.editor.php + include/functions_visual_map.php: Now it's possible to link icons + in visual console with a web page through the label. + + * operation/visual_console/index.php + operation/visual_console/render_view.php + include/functions_config.php + operation/menu.php + godmode/menu.php + godmode/setup/setup.php + godmode/setup/setup_visuals.php + include/config_process.php: Added two new autorefresh + parameters: one global and the other for visual console. + 2011-11-17 Junichi Satoh * include/help/ja/help_network_map_enterprise.php, diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 6643429986..ed3cc7caca 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -153,7 +153,7 @@ if (check_acl ($config['id_user'], 0, "IW")) { if ($config['activate_gis']) { $menu["godgismaps"]["text"] = __('GIS Maps builder'); $menu["godgismaps"]["sec2"] = "godmode/gis_maps/index"; - if (isset($config['refr'])){ + if (!empty($config['refr'])){ $menu["godgismaps"]["refr"] = $config['refr']; } else{ @@ -259,7 +259,7 @@ if (check_acl ($config['id_user'], 0, "PM")) { if (array_key_exists('fatherId',$extmenu)) { if (strlen($extmenu['fatherId']) > 0) { $menu[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["text"] = __($extmenu['name']); - if (isset($config['refr'])){ + if (!empty($config['refr'])){ $menu[$extmenu['fatherId']]['sub'][$extmenu['sec2']]["refr"] = $config['refr']; } else{ diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.php b/pandora_console/godmode/reporting/visual_console_builder.editor.php index 560320c0a6..f63aa0c859 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.php +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.php @@ -116,7 +116,7 @@ echo '