From b84e34b9683214690966db8e05e689975957aa85 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 15 Aug 2003 14:36:23 +0000 Subject: - support of system maps for screens (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@919 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/map.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'frontends/php/map.php') 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"])) { -- cgit