summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b5660b)
raw | patch | inline | side by side (parent: 2b5660b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 14:57:26 +0000 (14:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 14:57:26 +0000 (14:57 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19091 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_listing.inc | patch | blob | history |
index 225509525ad1420ae3c3b97d4b2ddb220d2473ec..81d4d2241116e9baf8d47efda42d9da799c5e784 100644 (file)
$name= $name[0];
}
$result= sprintf("%s [%s]", $name, $description[0]);
- return("<a href='?plug=".$_GET['plug']."&PID=$this->pid&act=department_$row' title='$dn'>$result</a>");
+ return("<a href='?plug=".$_GET['plug']."&PID=$this->pid&act=department_$row' title='$dn'>".set_post($result)."</a>");
}
$result= " ";
$trans= call_user_func_array("sprintf", $params);
if ($trans != "") {
- return("<a href='?plug=".$_GET['plug']."&PID=$pid&act=listing_edit_$row' title='$dn'>$trans</a>");
+ return("<a href='?plug=".$_GET['plug']."&PID=$pid&act=listing_edit_$row' title='$dn'>".set_post($trans)."</a>");
}
return $result;