summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b4323ce)
raw | patch | inline | side by side (parent: b4323ce)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Jan 2007 04:10:43 +0000 (04:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Jan 2007 04:10:43 +0000 (04:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5495 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/macro/class_divListMacros.inc | patch | blob | history |
diff --git a/plugins/gofon/macro/class_divListMacros.inc b/plugins/gofon/macro/class_divListMacros.inc
index 3d14404e19e5de3152d96cf748b3292c1ba2adde..99c40678fac8bebd1649aad5bb703b4710bc92ea 100755 (executable)
foreach($list as $key => $val){
$display= $val["displayName"][0];
+ if(isset($val['description'][0])){
+
+ $desc = $val['description'][0];
+ if(strlen($desc) > 55){
+ $desc = substr($desc,0,52)."...";
+ }
+
+ $display .= " [".$desc."]";
+ }
+
if(isset($val['goFonMacroVisible']['0'])&&($val['goFonMacroVisible']['0'] == "1")){
$pic1 = $visible;
}else{