From 72da9d6d5c03be780863a378f8bec41cd10e7574 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 22 Feb 2011 10:40:50 -0500
Subject: [PATCH] Fixed: FS#1523 - Dashboard. Text out of boxes

---
 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