summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6986ed1)
raw | patch | inline | side by side (parent: 6986ed1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Dec 2005 12:54:27 +0000 (12:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Dec 2005 12:54:27 +0000 (12:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2306 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiTemplate.inc | patch | blob | history |
index 0ead840154085b82a1235201fb1f5479c75ad56c..f8d4c6b8b20e235aa37634cbe0f68f9f77b5d3e1 100644 (file)
$a_return=array();
foreach($this->SubObjects as $obj){
if($obj['status'] != "delete"){
+
if((isset($obj['description']))&&(!empty($obj['description']))){
+ if(strlen($obj['description']) > 60){
+ $obj['description'] = substr($obj['description'],0,60)."...";
+ }
$a_return[$obj['cn']]= $obj['cn']." [".$obj['description']."]";
}else{
$a_return[$obj['cn']]= $obj['cn'];