diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 57bd42163d..9c1dcc7d6a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,7 @@ 2007-06-12 Sancho Lerena + * operation/reporting/graph_viewer.php: ACL to delete graph + * include/functions_reporting.php: Added event reporting and alert reporting items for user reports. Now user reports is fully operative ! diff --git a/pandora_console/operation/reporting/graph_viewer.php b/pandora_console/operation/reporting/graph_viewer.php index 62f936af9e..c518598f38 100644 --- a/pandora_console/operation/reporting/graph_viewer.php +++ b/pandora_console/operation/reporting/graph_viewer.php @@ -142,7 +142,10 @@ if (isset($_GET["view_graph"])){ echo "

".$lang_label["reporting"]." > "; echo $lang_label["custom_graph_viewer"]."

"; echo ""; -echo ""; + if ((give_acl($id_usuario,0,"AW") == 1 ) OR (dame_admin($id_user)==1)) { + echo ""; + } } } echo "
".$lang_label["graph_name"]."".$lang_label["description"]."".$lang_label["view"].""; +echo "
".$lang_label["graph_name"]."".$lang_label["description"]."".$lang_label["view"]; +if ((give_acl($id_usuario,0,"AW") == 1 ) OR (dame_admin($id_user)==1)) + echo ""; + $color=1; $sql="SELECT * FROM tgraph"; $res=mysql_query($sql); @@ -163,8 +166,10 @@ while ($row = mysql_fetch_array($res)){ $id_graph = $row["id_graph"]; echo ""; - echo "'; - echo "'; + echo "
";