From 78523ee7b5a5827d1f1083343c0aa277325e727e Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 29 Sep 2010 14:44:03 +0000 Subject: [PATCH] 2010-09-29 Sergio Martin * operation/visual_console/render_view.php: Fixed the missing full screen tab in the visual console section for bug: 3078003 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../operation/visual_console/render_view.php | 14 +++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 18204fea8a..128772c2f4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-09-29 Sergio Martin + + * operation/visual_console/render_view.php: Fixed the + missing full screen tab in the visual console section + for bug: 3078003 + 2010-09-29 Sergio Martin * operation/agentes/tactical.php: Hide the server diff --git a/pandora_console/operation/visual_console/render_view.php b/pandora_console/operation/visual_console/render_view.php index 1cef0c097d..71173f60ce 100644 --- a/pandora_console/operation/visual_console/render_view.php +++ b/pandora_console/operation/visual_console/render_view.php @@ -54,19 +54,23 @@ if (! give_acl ($config["id_user"], $id_group, "AR")) { // Render map $options = array(); +if (give_acl ($config["id_user"], $id_group, "AW")){ + $options['setup']['text'] = ''.print_image ("images/setup.png", true, array ("title" => __('Setup'))).''; + $options['setup']['active'] = false; +} + if ($config["pure"] == 0) { - $options[] = '' + $options['pure']['text'] = '' . print_image ("images/fullscreen.png", true, array ("title" => __('Full screen mode'))) . ""; } else { - $options[] = '' + $options['pure']['text'] = '' . print_image ("images/normalscreen.png", true, array ("title" => __('Back to normal mode'))) . ""; } +$options['pure']['active'] = false; + -if (give_acl ($config["id_user"], $id_group, "AW")) - $options[] = ''.print_image ("images/setup.png", true, array ("title" => __('Setup'))).''; - print_page_header (__("Visual console") . " » " . $layout_name, "images/monitor.png", false, '', false, $options); print_pandora_visual_map ($id_layout);