X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fsetup%2Fclass_setupStep_Config1.inc;h=7d585f3d028cbe999c143209b1c13c14946585e2;hb=43073ac4d0e6b18428c163774622e15629b4ffb5;hp=d418df8639fe6fb9a43d6c8efc1e2e4746dc3f99;hpb=24187cd7f31d0214f0e97b5f79b3026a67119dd5;p=gosa.git diff --git a/gosa-core/setup/class_setupStep_Config1.inc b/gosa-core/setup/class_setupStep_Config1.inc index d418df863..7d585f3d0 100644 --- a/gosa-core/setup/class_setupStep_Config1.inc +++ b/gosa-core/setup/class_setupStep_Config1.inc @@ -31,12 +31,12 @@ class Step_Config1 extends setup_step var $strict = TRUE; var $compressed = TRUE; - var $header_image = "images/ldapserver.png"; + var $header_image = "images/setup/server.png"; var $account_expiration =FALSE; var $base_hook = ""; var $base_hook_active = FALSE; - var $encryption = "crypt"; + var $encryption = "crypt/md5"; var $theme = "default"; var $include_personal_title = FALSE; @@ -62,7 +62,7 @@ class Step_Config1 extends setup_step { $this->update_strings(); - $tmp = @passwordMethod::get_available_methods(); + $tmp = passwordMethod::get_available_methods(); foreach($tmp['name'] as $name){ $this->crypt_methods[$name] = $name; } @@ -81,13 +81,13 @@ class Step_Config1 extends setup_step { $smarty = get_smarty(); $smarty->assign("peopledns",array("uid","cn")); - $smarty->assign("id_settings",$this->id_settings); - $smarty->assign("crypt_methods",$this->crypt_methods); - $smarty->assign("themes",$this->get_themes()); - $smarty->assign("pwd_rules",$this->pwd_rules); + $smarty->assign("id_settings", reverse_html_entities($this->id_settings)); + $smarty->assign("crypt_methods", reverse_html_entities($this->crypt_methods)); + $smarty->assign("themes", reverse_html_entities($this->get_themes())); + $smarty->assign("pwd_rules", reverse_html_entities($this->pwd_rules)); $smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes"))); foreach($this->attributes as $attr){ - $smarty->assign($attr,xmlentities($this->$attr)); + $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8")); } /* !!! Attention strict is inverse. If you change this,