Code

Strip decription to 40
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Dec 2005 07:55:07 +0000 (07:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Dec 2005 07:55:07 +0000 (07:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2369 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiTemplate.inc

index f8d4c6b8b20e235aa37634cbe0f68f9f77b5d3e1..94837291c76489072db48533bcd38f4357165152 100644 (file)
@@ -182,8 +182,8 @@ class faiTemplate extends plugin
       if($obj['status'] != "delete"){
       
         if((isset($obj['description']))&&(!empty($obj['description']))){
-          if(strlen($obj['description']) > 60){
-            $obj['description'] = substr($obj['description'],0,60)."...";
+          if(strlen($obj['description']) > 40){
+            $obj['description'] = substr($obj['description'],0,40)."...";
           }
           $a_return[$obj['cn']]= $obj['cn']." [".$obj['description']."]";
         }else{