X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fsetup%2Fclass_setupStep_Ldap.inc;h=006a1e83a454d1b69f34a4ff5bd4ea79b3d590c7;hb=e228f3c3cda1a0093f7bf5ac3dc3b465732d23b7;hp=855a4a8d35800ea1e97314b7fd440a36360087a4;hpb=24187cd7f31d0214f0e97b5f79b3026a67119dd5;p=gosa.git diff --git a/gosa-core/setup/class_setupStep_Ldap.inc b/gosa-core/setup/class_setupStep_Ldap.inc index 855a4a8d3..006a1e83a 100644 --- a/gosa-core/setup/class_setupStep_Ldap.inc +++ b/gosa-core/setup/class_setupStep_Ldap.inc @@ -40,7 +40,7 @@ class Step_Ldap extends setup_step var $rfc2307bis = FALSE; var $attributes = array("connection","location","admin","password","base","admin_given","append_base_to_admin_dn","tls","rfc2307bis"); - var $header_image= "images/proxy.png"; + var $header_image= "images/setup/ldap.png"; function Step_Ldap() { @@ -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")));