2012-03-16 Sergio Martin <sergio.martin@artica.es>

* operation/reporting/graph_viewer.php: Added ACL control
	to Setup tab



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-03-16 12:44:25 +00:00
parent 84b8b300c7
commit 5262c214fd
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-03-16 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/graph_viewer.php: Added ACL control
to Setup tab
2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fixed typo bug from last

View File

@ -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'] = "<a href='index.php?sec=greporting&sec2=godmode/reporting/graph_builder&tab=graph_editor&edit_graph=1&id=$id_graph'>"
. html_print_image ("images/setup.png", true, array ("title" => __('Back to normal mode')))
. "</a>";
if (check_acl ($config['id_user'], 0, "IW")) {
$options['setup'] = "<a href='index.php?sec=greporting&sec2=godmode/reporting/graph_builder&tab=graph_editor&edit_graph=1&id=$id_graph'>"
. html_print_image ("images/setup.png", true, array ("title" => __('Setup')))
. "</a>";
}
if ($config["pure"] == 0) {
$options['screen'] = "<a href='$url&pure=1'>"