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:
parent
4d3f41de7a
commit
78523ee7b5
|
@ -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
|
||||
|
|
|
@ -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&sec2=godmode/reporting/map_builder&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&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$config["refr"].'&pure=1">'
|
||||
$options['pure']['text'] = '<a href="index.php?sec=visualc&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$config["refr"].'&pure=1">'
|
||||
. print_image ("images/fullscreen.png", true, array ("title" => __('Full screen mode')))
|
||||
. "</a>";
|
||||
} else {
|
||||
$options[] = '<a href="index.php?sec=visualc&sec2=operation/visual_console/render_view&id='.$id_layout.'&refr='.$config["refr"].'">'
|
||||
$options['pure']['text'] = '<a href="index.php?sec=visualc&sec2=operation/visual_console/render_view&id='.$id_layout.'&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&sec2=godmode/reporting/map_builder&id_layout='.$id_layout.'">'.print_image ("images/setup.png", true, array ("title" => __('Setup'))).'</a>';
|
||||
|
||||
print_page_header (__("Visual console") . " » " . $layout_name, "images/monitor.png", false, '', false, $options);
|
||||
|
||||
print_pandora_visual_map ($id_layout);
|
||||
|
|
Loading…
Reference in New Issue