summaryrefslogtreecommitdiffstats
path: root/frontends/php/alerts.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-22 10:53:16 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-22 10:53:16 +0000
commit6c68c976be9e2da1b4592d5eec5e0f55df0e7971 (patch)
tree48ad4ca1a929a7ea84730f2d63a436cff0141150 /frontends/php/alerts.php
parent49e6adf6cfaaac6806a24978f85f703b405caf93 (diff)
- fixed add services (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1054 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
-rw-r--r--frontends/php/alerts.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php
index 735d7b14..27815477 100644
--- a/frontends/php/alerts.php
+++ b/frontends/php/alerts.php
@@ -131,6 +131,12 @@
echo "</TR>";
cr();
}
+ if(DBnum_rows($result)==0)
+ {
+ echo "<TR BGCOLOR=#EEEEEE>";
+ echo "<TD COLSPAN=6 ALIGN=CENTER>-No alerts-</TD>";
+ echo "<TR>";
+ }
echo "</TABLE>";
?>
</FONT>