X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=gosa-core%2Fsetup%2Fclass_setupStep_Ldap.inc;h=006a1e83a454d1b69f34a4ff5bd4ea79b3d590c7;hb=e228f3c3cda1a0093f7bf5ac3dc3b465732d23b7;hp=9b5f670eafdfbaf412ef674874fdbb70b750eff5;hpb=7f7f21906eb6121c29823abbf96461733d642509;p=gosa.git
diff --git a/gosa-core/setup/class_setupStep_Ldap.inc b/gosa-core/setup/class_setupStep_Ldap.inc
index 9b5f670ea..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,$this->$attr);
+ $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8"));
}
/* Assign connection status */
@@ -102,17 +102,17 @@ class Step_Ldap extends setup_step
$this->bind_id = @ldap_bind($this->connect_id, $this->admin, $this->password);
if(!$this->bind_id){
- $str = sprintf(_("Anonymous bind failed on server '%s'."),$this->connection);
+ $str = sprintf(_("Anonymous bind to server '%s' failed!"),$this->connection);
if(!empty($this->admin)){
- $str = sprintf(_("Bind as user '%s' failed on server '%s'."),$this->admin,$this->connection);
+ $str = sprintf(_("Bind as user '%s' failed!"),$this->admin,$this->connection);
}
return("".$str."");
}else{
if(empty($this->admin)){
- $str = sprintf(_("Anonymous bind on server '%s' succeeded."), $this->connection);
- return("".$str." "._("Please specify user and password.")."");
+ $str = sprintf(_("Anonymous bind to server '%s' succeeded."), $this->connection);
+ return("".$str." "._("Please specify user and password!")."");
}else{
- $str = sprintf(_("Bind as user '%s' on server '%s' succeeded."),$this->admin,$this->connection);
+ $str = sprintf(_("Bind as user '%s' to server '%s' succeeded!"),$this->admin,$this->connection);
return("".$str."");
}
}