summaryrefslogtreecommitdiffstats
path: root/frontends/php/srv_status.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-29 08:11:38 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-29 08:11:38 +0000
commit96b79d8f853c69ec427a1a08d813aed1dbc143bf (patch)
treeeb373de1d269fe14511ae0637f84e0f35d6e49d1 /frontends/php/srv_status.php
parentf234b8afd1c33641b61bfb95b171ca6af1feb6b3 (diff)
downloadzabbix-96b79d8f853c69ec427a1a08d813aed1dbc143bf.tar.gz
zabbix-96b79d8f853c69ec427a1a08d813aed1dbc143bf.tar.xz
zabbix-96b79d8f853c69ec427a1a08d813aed1dbc143bf.zip
- cosmetic changes for IT Services screen (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1066 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/srv_status.php')
-rw-r--r--frontends/php/srv_status.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontends/php/srv_status.php b/frontends/php/srv_status.php
index 48b0525c..295561ac 100644
--- a/frontends/php/srv_status.php
+++ b/frontends/php/srv_status.php
@@ -127,7 +127,7 @@
$description=$trigger["description"];
if( strstr($description,"%s"))
{
- $description=expand_trigger_description($row["triggerid"]);
+ $description=nbsp(expand_trigger_description($row["triggerid"]));
}
$description="[<a href=\"alarms.php?triggerid=".$row["triggerid"]."\">TRIGGER</a>] $description";
}
@@ -166,6 +166,7 @@
else
{
echo "<td>";
+ echo "<ul>";
$sql="select s.triggerid,s.serviceid from services s, triggers t where s.status>0 and s.triggerid is not NULL and t.triggerid=s.triggerid order by s.status desc,t.description";
$result2=DBselect($sql);
while($row2=DBfetch($result2))
@@ -176,11 +177,12 @@
$description=$trigger["description"];
if( strstr($description,"%s"))
{
- $description=expand_trigger_description($row2["triggerid"]);
+ $description=nbsp(expand_trigger_description($row2["triggerid"]));
}
- echo "<li><a href=\"alarms.php?triggerid=".$row2["triggerid"]."\">$description</a></li>";
+ echo "<li class=\"itservices\"><a href=\"alarms.php?triggerid=".$row2["triggerid"]."\">$description</a></li>";
}
}
+ echo "</ul>";
echo "</td>";
}