summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba222e8)
raw | patch | inline | side by side (parent: ba222e8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 10:30:05 +0000 (10:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 10:30:05 +0000 (10:30 +0000) |
-Use set_post/get_post
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19086 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19086 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc | patch | blob | history |
diff --git a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc
index 7f1960f59173a03498d18e99ca5de6feca5f42ad..eac830beb5ac4fdc18bbc2aed8892fc54840e441 100644 (file)
$id = "{$class[0]}_{$cn[0]}";
$title = _("No description");
- if(isset($description[0])) $title = htmlentities($description[0],ENT_COMPAT, 'UTF-8');
+ if(isset($description[0])) $title = set_post($description[0]);
$title = preg_replace("/\n/", "<br>", $title);
$tooltip = "<div id='tooltip_{$id}' class='tooltip' style='display:none'>".$title."</div>";
$ssize = "208px";
$isize = "200px";
$name = "{$class[0]}:{$cn[0]}";
- $value = htmlentities($value[0],ENT_QUOTES ,'UTF-8');
-
- // Add slashes to keep escaped values escaped after passing them to smarty.
- $value = addslashes($value);
+ $value = set_post($value[0]);
switch($type[0]){
case 'noLdap':