openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 53a9daeebe72774abe375e94497e95c3efc4535e
parent 76741223c3efebcbebe99f19a9179328f0640655
Author: dankert <devnull@localhost>
Date:   Sat, 16 Apr 2005 23:31:18 +0200

Lange Projektnamen abkuerzen

Diffstat:
actionClasses/TreemenuAction.class.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/actionClasses/TreemenuAction.class.php b/actionClasses/TreemenuAction.class.php @@ -35,6 +35,9 @@ class TreemenuAction extends Action $user = Session::getUser(); $projects = $user->projects; + + foreach($projects as $pid=>$p) + $projects[$pid]=Text::maxLength($p,17,'..',STR_PAD_BOTH); // Administrator sieht Administrationsbereich if ( $user->isAdmin )