From 1ca823723668e01b1b998faec5f8d8153545cfa8 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 04 Apr 2011 08:22:29 -0400 Subject: [PATCH] Merged revisions 2181-2262 from stable branch. --- interface/web/dashboard/dashlets/modules.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/interface/web/dashboard/dashlets/modules.php b/interface/web/dashboard/dashlets/modules.php index fa3f761..b958de6 100644 --- a/interface/web/dashboard/dashlets/modules.php +++ b/interface/web/dashboard/dashlets/modules.php @@ -28,7 +28,9 @@ 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']); } -- Gitblit v1.9.1