From 231faf1162a0aac6feb4e30b18da7bd14bb8de11 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Tue, 25 May 2004 07:40:51 +0000 Subject: - added support for real delta. item.delta=2. (Alexei) - new selection for triggers.php (Alexei) - new selection for items.php (Alexei) - removed helpdesk.php (Alexei) - fixed check of permissions for screenedit.php (Alexei) - new selection for graphs in charts.php (Alexei) - new selection of maps in maps.php (Alexei) - new selection of group and host for latest.php (Alexei) - added support for macro {IPADDRESS} (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1348 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/queue.php | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'frontends/php/queue.php') diff --git a/frontends/php/queue.php b/frontends/php/queue.php index cc38bdcd..d98422d5 100644 --- a/frontends/php/queue.php +++ b/frontends/php/queue.php @@ -19,31 +19,31 @@ **/ ?> No permissions !"); + show_table_header("".S_NO_PERMISSIONS.""); show_footer(); exit; } ?> 'status' order by i.nextcheck"); echo ""; echo "\n"; - echo ""; + echo ""; echo "\n"; $col=0; while($row=DBfetch($result)) @@ -52,24 +52,22 @@ { continue; } - if($col++%2==0) { echo ""; } - else { echo ""; } - echo ""; - echo ""; - echo ""; + iif_echo($col++%2==0, + "", + ""); + table_td(date("m.d.Y H:i:s",$row["nextcheck"]),""); + table_td($row["host"],""); + table_td($row["description"],""); echo ""; cr(); } - if(DBnum_rows($result)==0) - { - echo ""; - echo ""; - echo ""; - } + iif_echo(DBnum_rows($result)==0, + "", + ""); echo "
Next time to checkHostDescription
".S_NEXT_CHECK."".S_HOST."".S_DESCRIPTION."
".date("m.d.Y H:i:s",$row["nextcheck"])."".$row["host"]."".$row["description"]."
-The queue is empty-
".S_THE_QUEUE_IS_EMPTY."
"; ?>