summaryrefslogtreecommitdiffstats
path: root/frontends/php/graphs.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-12 11:53:38 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-12 11:53:38 +0000
commit8ffad73609ee2547a179e11d11f0258a7bc0f0b1 (patch)
tree537c486fd2860d3f81a6160342277a40b810898f /frontends/php/graphs.php
parent86d48d9a4012ed8c8864515c273d9d569f769eab (diff)
downloadzabbix-8ffad73609ee2547a179e11d11f0258a7bc0f0b1.tar.gz
zabbix-8ffad73609ee2547a179e11d11f0258a7bc0f0b1.tar.xz
zabbix-8ffad73609ee2547a179e11d11f0258a7bc0f0b1.zip
- zabbix_suckerd housekeeping process to disconnect from
DB when unactive (Alexei) - support for check_service[http] (Alexei) - drop column config.password_required (Alexei) - drop column users.groupid (Alexei) - drop table groups (Alexei) - added parameter DBConnectOnEach for zabbix_trapperd (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@359 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graphs.php')
-rw-r--r--frontends/php/graphs.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/php/graphs.php b/frontends/php/graphs.php
index f0a72059..7edefd74 100644
--- a/frontends/php/graphs.php
+++ b/frontends/php/graphs.php
@@ -35,6 +35,7 @@
<?
show_table_header("GRAPHS");
echo "<TABLE BORDER=0 COLS=4 WIDTH=\"100%\" BGCOLOR=\"#CCCCCC\" cellspacing=1 cellpadding=3>";
+ echo "<TD WIDTH=\"5%\" NOSAVE><B>Id</B></TD>";
echo "<TD WIDTH=\"10%\" NOSAVE><B>Name</B></TD>";
echo "<TD WIDTH=\"10%\" NOSAVE><B>Width</B></TD>";
echo "<TD WIDTH=\"10%\" NOSAVE><B>Height</B></TD>";
@@ -46,9 +47,14 @@
$col=0;
while($row=DBfetch($result))
{
+ if(!check_right("Graph","R",$row["graphid"]))
+ {
+ continue;
+ }
if($col++%2==0) { echo "<TR BGCOLOR=#EEEEEE>"; }
else { echo "<TR BGCOLOR=#DDDDDD>"; }
+ echo "<TD>".$row["graphid"]."</TD>";
echo "<TD><a href=\"graph.php?graphid=".$row["graphid"]."\">".$row["name"]."</a></TD>";
echo "<TD>".$row["width"]."</TD>";
echo "<TD>".$row["height"]."</TD>";