From: hickert Date: Mon, 19 Dec 2005 13:14:07 +0000 (+0000) Subject: w3c X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=11ffa5d73a657e50a734334dd6995d569aa1305e;p=gosa.git w3c git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2341 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiHookEntry.inc b/plugins/admin/fai/class_faiHookEntry.inc index 4b10f1bef..a3ed1dfd6 100644 --- a/plugins/admin/fai/class_faiHookEntry.inc +++ b/plugins/admin/fai/class_faiHookEntry.inc @@ -75,9 +75,9 @@ class faiHookEntry extends plugin */ foreach($this->attributes as $attrs){ if(get_magic_quotes_gpc()){ - $smarty->assign($attrs,stripslashes($this->$attrs)); + $smarty->assign($attrs,htmlentities(stripslashes($this->$attrs))); }else{ - $smarty->assign($attrs,($this->$attrs)); + $smarty->assign($attrs,htmlentities($this->$attrs)); } } diff --git a/plugins/admin/fai/faiHook.tpl b/plugins/admin/fai/faiHook.tpl index b821e5310..c037d381c 100644 --- a/plugins/admin/fai/faiHook.tpl +++ b/plugins/admin/fai/faiHook.tpl @@ -1,4 +1,4 @@ - +
@@ -20,7 +20,7 @@

 {t}Generic{/t}

@@ -10,7 +10,7 @@
- +
- +
@@ -34,7 +34,7 @@ {t}List of hook scripts{/t} - +

 {t}Generic{/t}

- +
@@ -17,7 +17,7 @@ {t}Description{/t} 
{t}Name{/t}{$must}  - +
- +
@@ -27,7 +27,7 @@

 {t}Hook attributes{/t}

- +
- +