2010-09-29 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2010-09-29 14:44:03 +00:00
parent 4d3f41de7a
commit 78523ee7b5
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2010-09-29 Sergio Martin <sergio.martin@artica.es>
* 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 <sergio.martin@artica.es>
* operation/agentes/tactical.php: Hide the server

View File

@ -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'] = '<a href="index.php?sec=gmap&amp;sec2=godmode/reporting/map_builder&amp;id_layout='.$id_layout.'">'.print_image ("images/setup.png", true, array ("title" => __('Setup'))).'</a>';
$options['setup']['active'] = false;
}
if ($config["pure"] == 0) {
$options[] = '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'&amp;pure=1">'
$options['pure']['text'] = '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'&amp;pure=1">'
. print_image ("images/fullscreen.png", true, array ("title" => __('Full screen mode')))
. "</a>";
} else {
$options[] = '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'">'
$options['pure']['text'] = '<a href="index.php?sec=visualc&amp;sec2=operation/visual_console/render_view&amp;id='.$id_layout.'&amp;refr='.$config["refr"].'">'
. print_image ("images/normalscreen.png", true, array ("title" => __('Back to normal mode')))
. "</a>";
}
$options['pure']['active'] = false;
if (give_acl ($config["id_user"], $id_group, "AW"))
$options[] = '<a href="index.php?sec=gmap&amp;sec2=godmode/reporting/map_builder&amp;id_layout='.$id_layout.'">'.print_image ("images/setup.png", true, array ("title" => __('Setup'))).'</a>';
print_page_header (__("Visual console") . " &raquo; " . $layout_name, "images/monitor.png", false, '', false, $options);
print_pandora_visual_map ($id_layout);