summaryrefslogtreecommitdiffstats
path: root/frontends/php/tr_status.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-12 18:01:48 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-05-12 18:01:48 +0000
commit4855aae12c151e6473922b2a5d3de5c7bafe9e48 (patch)
tree7927ac6a64d439030c4c453718b3ece248aa325a /frontends/php/tr_status.php
parent8ffad73609ee2547a179e11d11f0258a7bc0f0b1 (diff)
downloadzabbix-4855aae12c151e6473922b2a5d3de5c7bafe9e48.tar.gz
zabbix-4855aae12c151e6473922b2a5d3de5c7bafe9e48.tar.xz
zabbix-4855aae12c151e6473922b2a5d3de5c7bafe9e48.zip
- support for new trigger status - UNKNOWN (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@360 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/tr_status.php')
-rw-r--r--frontends/php/tr_status.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php
index 034e1a9f..bbd7a52e 100644
--- a/frontends/php/tr_status.php
+++ b/frontends/php/tr_status.php
@@ -383,8 +383,12 @@
{ echo "<TD ALIGN=CENTER><FONT COLOR=\"00AA00\">FALSE</FONT></TD>";}
elseif($row["istrue"]==2)
{ echo "<TD ALIGN=CENTER><FONT COLOR=\"777777\">DISABLED</FONT></TD>"; }
- else
+ elseif($row["istrue"]==1)
{ echo "<TD ALIGN=CENTER><FONT COLOR=\"AA0000\">TRUE</FONT></TD>"; }
+ elseif($row["istrue"]==3)
+ { echo "<TD ALIGN=CENTER><FONT COLOR=\"AA0000\">UNKNOWN</FONT></TD>"; }
+ else
+ { echo "<TD ALIGN=CENTER><FONT COLOR=\"AA0000\">Error !</FONT></TD>"; }
if($row["priority"]==0) echo "<TD ALIGN=CENTER>Not classified</TD>";
elseif($row["priority"]==1) echo "<TD ALIGN=CENTER>Just information</TD>";