diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-24 11:53:06 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-01-24 11:53:06 +0000 |
| commit | 2b8703fbe10a01e92ba737d233faffc3727341a4 (patch) | |
| tree | fb2a98a5b00863c133b7c18a0eed2f40d570474b /frontends/php/include/items.inc.php | |
| parent | fe41bf62d79f697b051e75aa4b65889ac133d5e0 (diff) | |
| download | zabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.tar.gz zabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.tar.xz zabbix-2b8703fbe10a01e92ba737d233faffc3727341a4.zip | |
- [DEV-102] added support of UTF8 for GUI (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5275 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
| -rw-r--r-- | frontends/php/include/items.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index 260df4ff..e859f8c7 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -1139,8 +1139,8 @@ COpt::profiling_stop('prepare table'); if($row) { $lastvalue=/*nbsp(htmlspecialchars(*/$row["value"]/*))*/; - if(utf8_strlen($lastvalue) > 20) - $lastvalue = utf8_strtop($lastvalue,20)." ..."; + if(strlen($lastvalue) > 20) + $lastvalue = substr($lastvalue,0,20)." ..."; $lastvalue = nbsp(htmlspecialchars($lastvalue)); } else |
