Code

Updated error messages before exit() statements
[gosa.git] / gosa-core / setup / class_setupStep_Ldap.inc
index e831ec1055f6fbf57d52cfe65db249dcfea652a0..006a1e83a454d1b69f34a4ff5bd4ea79b3d590c7 100644 (file)
@@ -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,$this->$attr);
+      $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8"));
     }
 
     /* Assign connection status */