summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-10 20:00:22 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-01-10 20:00:22 +0000
commit8f721488cd53c18ae352de5dc62e65fefa097ae0 (patch)
tree1cf6d93229e2e8d77f2cfefe86c28da8235f65ca /frontends/php/include
parentaa75108f001293d5e8b25aedb4b754b3133f944e (diff)
downloadzabbix-8f721488cd53c18ae352de5dc62e65fefa097ae0.tar.gz
zabbix-8f721488cd53c18ae352de5dc62e65fefa097ae0.tar.xz
zabbix-8f721488cd53c18ae352de5dc62e65fefa097ae0.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@1162 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 5230b478..c45bdbe1 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -4941,7 +4941,14 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid";
if( ($status==0)||($status==2))
{
- $map=$map."\n<area shape=rect coords=$x,$y,".($x+32).",".($y+32)." href=\"tr_status.php?hostid=$hostid&noactions=true&onlytrue=true&compact=true\" alt=\"$host\">";
+ if(function_exists("imagecreatetruecolor"))
+ {
+ $map=$map."\n<area shape=rect coords=$x,$y,".($x+48).",".($y+48)." href=\"tr_status.php?hostid=$hostid&noactions=true&onlytrue=true&compact=true\" alt=\"$host\">";
+ }
+ else
+ {
+ $map=$map."\n<area shape=rect coords=$x,$y,".($x+32).",".($y+32)." href=\"tr_status.php?hostid=$hostid&noactions=true&onlytrue=true&compact=true\" alt=\"$host\">";
+ }
}
}
$map=$map."\n</map>";