summaryrefslogtreecommitdiffstats
path: root/frontends/php/map.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-08-15 14:36:23 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-08-15 14:36:23 +0000
commitb84e34b9683214690966db8e05e689975957aa85 (patch)
treed818c53eb3a3eb1da7f887136c49ebceaf1a81e1 /frontends/php/map.php
parent345f9a1860e018a1395d5b52bef54437148039e2 (diff)
downloadzabbix-b84e34b9683214690966db8e05e689975957aa85.tar.gz
zabbix-b84e34b9683214690966db8e05e689975957aa85.tar.xz
zabbix-b84e34b9683214690966db8e05e689975957aa85.zip
- support of system maps for screens (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@919 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
-rw-r--r--frontends/php/map.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php
index 079aa4db..5c76ef23 100644
--- a/frontends/php/map.php
+++ b/frontends/php/map.php
@@ -59,7 +59,11 @@
# ImageFilledRectangle($im,0,0,$width,$height,$black);
ImageFilledRectangle($im,0,0,$width,$height,$white);
- ImageRectangle($im,0,0,$width-1,$height-1,$black);
+
+ if(!isset($HTTP_GET_VARS["sysmapid"]))
+ {
+ ImageRectangle($im,0,0,$width-1,$height-1,$black);
+ }
if(!check_right("Network map","R",$HTTP_GET_VARS["sysmapid"]))
{