From 8dfc2751c6834cd9942254fdba3f1a4b559ecf13 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 29 Apr 2002 06:42:35 +0000 Subject: - added support for Inverse Select in status of triggers (Alexei) - added support for flexible permissions (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@356 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/queue.php | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'frontends/php/queue.php') diff --git a/frontends/php/queue.php b/frontends/php/queue.php index 986c2b13..b2692048 100644 --- a/frontends/php/queue.php +++ b/frontends/php/queue.php @@ -7,15 +7,23 @@ ?> No permissions !"); + show_footer(); + exit; + } +?> +"; show_table_header("QUEUE"); ?> "; echo "\n"; echo "Next time to checkHostDescription"; @@ -23,6 +31,10 @@ $col=0; while($row=DBfetch($result)) { + if(!check_right("Host","R",$row["hostid"])) + { + continue; + } if($col++%2==0) { echo ""; } else { echo ""; } echo "".date("m.d.Y H:i:s",$row["nextcheck"]).""; @@ -33,8 +45,7 @@ echo ""; ?>