Commit 72da9d6d authored by tbrehm's avatar tbrehm

Fixed: FS#1523 - Dashboard. Text out of boxes

parent 0fce6207
......@@ -28,7 +28,9 @@ class dashlet_modules {
include_once('../' . $mt.'/lib/module.conf.php');
/* We don't want to show the dashboard */
if ($mt != 'dashboard') {
$mod[] = array( 'modules_title' => $app->lng($module['title']),
$module_title = $app->lng($module['title']);
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']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment