From: hickert Date: Fri, 23 Jul 2010 14:57:26 +0000 (+0000) Subject: Updated list rendering X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac17dac21dac408d079680cebd556dbe3d2fc537;p=gosa.git Updated list rendering -Enable HTML tags within list entries, e.g. descrition like this: Room number 122 <1. OG> git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19091 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 225509525..81d4d2241 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -988,7 +988,7 @@ class listing { $name= $name[0]; } $result= sprintf("%s [%s]", $name, $description[0]); - return("pid&act=department_$row' title='$dn'>$result"); + return("pid&act=department_$row' title='$dn'>".set_post($result).""); } @@ -1014,7 +1014,7 @@ class listing { $result= " "; $trans= call_user_func_array("sprintf", $params); if ($trans != "") { - return("$trans"); + return("".set_post($trans).""); } return $result;