From ac17dac21dac408d079680cebd556dbe3d2fc537 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Jul 2010 14:57:26 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_listing.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2