summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 18e6def)
raw | patch | inline | side by side (parent: 18e6def)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Jun 2008 09:39:12 +0000 (09:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 18 Jun 2008 09:39:12 +0000 (09:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11355 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/setup/class_setupStep_Config1.inc b/gosa-core/setup/class_setupStep_Config1.inc
index 1087b6a2b18af2da7ebc52cb32659aba184de84c..4ca9e0c0ca82e0133391c1538cd5c0cc27da2430 100644 (file)
{
$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,$this->$attr);
+ $smarty->assign($attr,htmlentities($this->$attr,ENT_QUOTES,"UTF-8"));
}
/* !!! Attention strict is inverse. If you change this,
diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc
index ff3a9718a127f59b544e1dcb1eaa10b3363a2699..89103e75b082f0ac404dd3bd16d54c6997d7efb2 100644 (file)
}
$smarty = get_smarty();
- $smarty->assign("sambaDomain_found",$this->sambaDomain_found);
- $smarty->assign("generic_settings",$this->generic_settings);
- $smarty->assign("mail_settings",$this->mail_settings);
- $smarty->assign("mail_methods",$this->mail_methods);
- $smarty->assign("samba_settings",$this->samba_settings);
+ $smarty->assign("sambaDomain_found", $this->sambaDomain_found);
+ $smarty->assign("generic_settings", reverse_html_entities($this->generic_settings));
+ $smarty->assign("mail_settings", reverse_html_entities($this->mail_settings));
+ $smarty->assign("mail_methods", reverse_html_entities($this->mail_methods));
+ $smarty->assign("samba_settings", reverse_html_entities($this->samba_settings));
$smarty->assign("logging_mysql" ,preg_match("/mysql/",$this->generic_settings['logging']));
$smarty->assign("logging_syslog",preg_match("/syslog/",$this->generic_settings['logging']));
$smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes")));
foreach($this->attributes as $attr){
- $smarty->assign($attr,$this->$attr);
+ $smarty->assign($attr,reverse_html_entities($this->$attr));
}
$smarty->assign("timezone" ,$this->timezone);
$smarty->assign("timezones" ,$this->timezones);
diff --git a/gosa-core/setup/class_setupStep_Config3.inc b/gosa-core/setup/class_setupStep_Config3.inc
index 8f8283bba752d6d334e776c264a016d0fa0c5679..a9b942fde4114c3d610a0408d4e0f62e921a53d4 100644 (file)
"contextCSN"=>"contextCSN" ));
- $smarty->assign("optional", $this->optional);
+ $smarty->assign("optional", reverse_html_entities($this->optional));
foreach($this->attributes as $attr){
- $smarty->assign($attr,$this->$attr);
+ $smarty->assign($attr,reverse_html_entities($this->$attr));
}
$smarty->assign("login_attributes",$this->login_attributes);
return($smarty -> fetch (get_template_path("../setup/setup_config3.tpl")));
diff --git a/gosa-core/setup/class_setupStep_Feedback.inc b/gosa-core/setup/class_setupStep_Feedback.inc
index ef00ce836ce7f969b102192e1758c0567422bcab..f1e9e1259016c91f6d721561e254057b6aa42df6 100644 (file)
$smarty = get_smarty();
foreach($this->attributes as $attr){
- $smarty->assign($attr, $this->$attr);
+ $smarty->assign($attr, reverse_html_entities($this->$attr));
}
$smarty->assign("years",$years);
$smarty->assign("features_used",$this->features_used);
- $smarty->assign("additional_info",$additional_info);
+ $smarty->assign("additional_info", reverse_html_entities($additional_info));
$smarty->assign ("must", "<font class=\"must\">*</font>");
return($smarty->fetch(get_template_path("setup_feedback.tpl",TRUE,dirname(__FILE__))));
}