diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-12-25 17:18:20 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-12-25 17:18:20 +0000 |
| commit | 7db18b09cf67a64e7bb27cd99941d130365e2c21 (patch) | |
| tree | c0e7b3f9a918faf9744eb9e350483457a7c38189 /frontends/php/map.php | |
| parent | 7fd6f7686ec8249590441570b6c7468c8fa2e058 (diff) | |
| download | zabbix-7db18b09cf67a64e7bb27cd99941d130365e2c21.tar.gz zabbix-7db18b09cf67a64e7bb27cd99941d130365e2c21.tar.xz zabbix-7db18b09cf67a64e7bb27cd99941d130365e2c21.zip | |
- added timestamp and header to maps (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1105 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
| -rw-r--r-- | frontends/php/map.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php index 7dc46d8c..3b0d2706 100644 --- a/frontends/php/map.php +++ b/frontends/php/map.php @@ -65,6 +65,12 @@ ImageRectangle($im,0,0,$width-1,$height-1,$black); } + $x=imagesx($im)/2-ImageFontWidth(4)*strlen($name)/2; + ImageString($im, 4,$x,1, $name , $darkred); + + $str=date("m.d.Y H:i:s",time(NULL)); + ImageString($im, 0,imagesx($im)-120,imagesy($im)-12,"$str", $gray); + if(!check_right("Network map","R",$HTTP_GET_VARS["sysmapid"])) { ImagePng($im); |
