tbrehm
2012-01-06 de249dbc7e393132c78c2195a8683bca41b0d7f2
Fixed: FS#1961 - Wrong output on backend Home page with cyrilic chars
1 files modified
6 ■■■■ changed files
interface/web/dashboard/dashlets/modules.php 6 ●●●● patch | view | raw | blame | history
interface/web/dashboard/dashlets/modules.php
@@ -29,7 +29,11 @@
                    /* We don't want to show the dashboard */
                    if ($mt != 'dashboard') {
                        $module_title = $app->lng($module['title']);
                        if(strlen($module_title) > 8) $module_title = substr($module_title,0,7).'..';
                        if(function_exists('mb_strlen')) {
                            if(mb_strlen($module_title,"UTF-8") > 8) $module_title = mb_substr($module_title,0,7,"UTF-8").'..';
                        } else {
                            if(strlen($module_title) > 8) $module_title = substr($module_title,0,7).'..';
                        }
                        $mod[] = array(    'modules_title'     => $module_title,
                                'modules_startpage'    => $module['startpage'],
                                'modules_name'      => $module['name']);