summaryrefslogtreecommitdiffstats
path: root/frontends/php/report2.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-07 08:29:46 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-02-07 08:29:46 +0000
commit7c3b021cb3ad21db99d7d4d912ef659577d25fcd (patch)
tree336e53be7ebbf74c8e4dcf63e4bac944779094ab /frontends/php/report2.php
parentf0e67a7e2be2671c3750f3959534de002ed8ed3e (diff)
downloadzabbix-7c3b021cb3ad21db99d7d4d912ef659577d25fcd.tar.gz
zabbix-7c3b021cb3ad21db99d7d4d912ef659577d25fcd.tar.xz
zabbix-7c3b021cb3ad21db99d7d4d912ef659577d25fcd.zip
Frontend improvements.
git-svn-id: svn://svn.zabbix.com/trunk@2615 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/report2.php')
-rw-r--r--frontends/php/report2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/report2.php b/frontends/php/report2.php
index 0418e753..96cf6020 100644
--- a/frontends/php/report2.php
+++ b/frontends/php/report2.php
@@ -124,14 +124,14 @@
$lasthost=$row["host"];
$description=expand_trigger_description($row["triggerid"]);
- $description="<a href=\"alarms.php?triggerid=".$row["triggerid"]."\">$description</a>";
+ $description=new CLink($description,"alarms.php?triggerid=".$row["triggerid"],"action");
$availability=calculate_availability($row["triggerid"],0,0);
$true=new CSpan(sprintf("%.4f%%",$availability["true"]), "on");
$false=new CSpan(sprintf("%.4f%%",$availability["false"]), "off");
$unknown=new CSpan(sprintf("%.4f%%",$availability["unknown"]), "unknown");
- $actions="<a href=\"report2.php?hostid=".$_REQUEST["hostid"]."&triggerid=".$row["triggerid"]."\">".S_SHOW."</a>";
+ $actions=new CLink(S_SHOW,"report2.php?hostid=".$_REQUEST["hostid"]."&triggerid=".$row["triggerid"],"action");
$table->addRow(array(
$description,