summaryrefslogtreecommitdiffstats
path: root/frontends/php/map.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-20 12:34:33 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-20 12:34:33 +0000
commitd3efc4c51bb20d6122b9b45964017a9d1eae7c3a (patch)
treec4288136453a2efab1a29e2298ed7c5c9a885701 /frontends/php/map.php
parent03daa4e63ed831c05e5e55d1f12411a5b3fbd6d8 (diff)
downloadzabbix-d3efc4c51bb20d6122b9b45964017a9d1eae7c3a.tar.gz
zabbix-d3efc4c51bb20d6122b9b45964017a9d1eae7c3a.tar.xz
zabbix-d3efc4c51bb20d6122b9b45964017a9d1eae7c3a.zip
- added support of localisation (Alexei)
- added file frontends/php/include/locale_en.inc.php (Alexei) - fixed check of NNTP service (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1347 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
-rw-r--r--frontends/php/map.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php
index 2e6e648f..2a299740 100644
--- a/frontends/php/map.php
+++ b/frontends/php/map.php
@@ -251,12 +251,12 @@
else if($count>1)
{
$color=$red;
- $label=$count." problems";
+ $label=$count." ".S_PROBLEMS_SMALL;
}
else
{
$color=$darkgreen;
- $label="OK";
+ $label=S_OK_BIG;
}
}
$x1=$x+ImageSX($img)/2-ImageFontWidth(2)*strlen($label)/2;
@@ -269,7 +269,7 @@
# ImageDestroy($img);
}
- ImageStringUp($im,0,imagesx($im)-10,imagesy($im)-50, "http://www.zabbix.com", $gray);
+ ImageStringUp($im,0,imagesx($im)-10,imagesy($im)-50, S_ZABBIX_URL, $gray);
ImagePng($im);
ImageDestroy($im);