summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-14 18:44:56 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-14 18:44:56 +0000
commit62ec268eedf7e25115d41f28ed38ac59c7fed2b7 (patch)
tree54ddfaf7d899937c4f73d9a71f69a259904eeb53 /frontends/php
parent6f41480ba8e7a6be09b4252239ac91d40216d2f5 (diff)
- fixed refresh of status of triggers. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1026 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/tr_status.php27
1 files changed, 24 insertions, 3 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php
index 5d76e9dd..f272ae9f 100644
--- a/frontends/php/tr_status.php
+++ b/frontends/php/tr_status.php
@@ -323,7 +323,14 @@
}
else
{
- echo "<TD ALIGN=LEFT><B><A HREF=\"tr_status.php?sort=description&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Description</a>";
+ if($select=="TRUE")
+ {
+ echo "<TD ALIGN=LEFT><B><A HREF=\"tr_status.php?sort=description&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Description</a>";
+ }
+ else
+ {
+ echo "<TD ALIGN=LEFT><B><A HREF=\"tr_status.php?sort=description&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">Description</a>";
+ }
}
if($compact!='true') {echo "<BR><FONT SIZE=-1>Expression</FONT></B>";}
echo "</TD>";
@@ -336,7 +343,14 @@
}
else
{
- echo "<TD ALIGN=CENTER><B><A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Severity</a>";
+ if($select=="TRUE")
+ {
+ echo "<TD ALIGN=CENTER><B><A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Severity</a>";
+ }
+ else
+ {
+ echo "<TD ALIGN=CENTER><B><A HREF=\"tr_status.php?sort=priority&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">Severity</a>";
+ }
}
if($noactions=='true')
echo "<TD WIDTH=12% ALIGN=CENTER>";
@@ -349,7 +363,14 @@
}
else
{
- echo "<B><A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Last change</a>";
+ if($select=="TRUE")
+ {
+ echo "<B><A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact&select=$select&txt_select=$txt_select$fullscreen$cond\">Last change</a>";
+ }
+ else
+ {
+ echo "<B><A HREF=\"tr_status.php?sort=lastchange&onlytrue=$onlytrue&noactions=$noactions&compact=$compact$fullscreen$cond\">Last change</a>";
+ }
}
echo "</TD>";