diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ab1c0a3411..ee896ae9f7 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-03-16 Sergio Martin + + * operation/reporting/graph_viewer.php: Added ACL control + to Setup tab + 2012-03-16 Sergio Martin * include/javascript/pandora.js: Fixed typo bug from last diff --git a/pandora_console/operation/reporting/graph_viewer.php b/pandora_console/operation/reporting/graph_viewer.php index 97716cb876..40440cc55b 100644 --- a/pandora_console/operation/reporting/graph_viewer.php +++ b/pandora_console/operation/reporting/graph_viewer.php @@ -105,9 +105,11 @@ if ($view_graph) { $url = "index.php?sec=reporting&sec2=operation/reporting/graph_viewer&id=$id_graph&view_graph=1"; - $options['setup'] = "" - . html_print_image ("images/setup.png", true, array ("title" => __('Back to normal mode'))) - . ""; + if (check_acl ($config['id_user'], 0, "IW")) { + $options['setup'] = "" + . html_print_image ("images/setup.png", true, array ("title" => __('Setup'))) + . ""; + } if ($config["pure"] == 0) { $options['screen'] = ""