Code

Updated gosa.conf ACL tag for systems
[gosa.git] / gosa-core / setup / class_setupStep_Ldap.inc
index 855a4a8d35800ea1e97314b7fd440a36360087a4..a590a3bf07c503c8ab13a486784649a3f8675c92 100644 (file)
@@ -60,7 +60,7 @@ class Step_Ldap extends setup_step
   {
     $smarty = get_smarty();
     foreach($this->attributes as $attr){
-      $smarty->assign($attr,xmlentities($this->$attr));
+      $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8"));
     }
 
     /* Assign connection status */
@@ -84,7 +84,7 @@ class Step_Ldap extends setup_step
 
     $base_to_append = $this->base;
     if(strlen($base_to_append) > 20){
-      $base_to_append = xmlentities(substr($base_to_append,0,17)."...");
+      $base_to_append = substr($base_to_append,0,17)."...";
     }
     $smarty->assign("base_to_append",$base_to_append);
     return($smarty -> fetch (get_template_path("../setup/setup_ldap.tpl")));