From: hickert Date: Fri, 13 Jun 2008 08:52:13 +0000 (+0000) Subject: Readded description X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e79b3cdfb979fd270d2fd1a53d2991f1ec4df5ec;p=gosa.git Readded description git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11317 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index cf509983e..08e47a82f 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -695,11 +695,18 @@ class MultiSelectWindow{ } } + /* Create entry name + */ + $name = $val['ou'][0]; + if(isset($val['description'])){ + $name .= " - [".$val["description"][0]."]"; + } + /* Add departments */ $img = "department"; $row[]=$field1=array("string"=> $img,"attach"=>"style='text-align:center;width:20px;'"); - $row[]=$field2=array("string"=>sprintf($linkopen,$key,$val['ou'][0]), "attach" => "style=''"); + $row[]=$field2=array("string"=>sprintf($linkopen,$key,$name), "attach" => "style=''"); /* Add spacer tabs */