Code

w3c
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 13:14:07 +0000 (13:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 13:14:07 +0000 (13:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2341 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiHookEntry.inc
plugins/admin/fai/faiHook.tpl
plugins/admin/fai/faiHookEntry.tpl

index 4b10f1befbfa758c956d08f9b823b98af1342cf4..a3ed1dfd62bf8f9b7bd829e6eac6af8f7fe11e53 100644 (file)
@@ -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));
       }
     }
 
index b821e5310e57cf68c9ea781dff9b4f6d45937072..c037d381c29d0576d998b3e2d07edaca966a7639 100644 (file)
@@ -1,4 +1,4 @@
-<table width="100%">
+<table width="100%" summary=''>
        <tr>
                <td width="50%" valign="top">
                                <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
@@ -10,7 +10,7 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" size="45" maxsize="80" disabled id="cn">
+                                                       <input value="{$cn}" size="45" disabled id="cn">
                                                </td>
                                        </tr>
                                        <tr>
@@ -20,7 +20,7 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" size="45" maxsize="80"  {$description} name="description" id="description">
+                                                       <input value="{$description}" size="45" {$description} name="description" id="description">
                                                </td>
                                        </tr>
                                </table>
@@ -34,7 +34,7 @@
                                                {t}List of hook scripts{/t}
                                        </LABEL>
                                </h2>
-                               <table width="100%">
+                               <table width="100%" summary=''>
                                <tr>
                                        <td>
                                                <select name="SubObject" title="{t}Choose a hook to delete or edit{/t}" style="width:100%" size="20" id="SubObject">
index 8607540d3a9dc912d527d3208f9c80836f8b02c1..8ec11bd47eecfad358f2a2c964e53609081c461e 100644 (file)
@@ -3,13 +3,13 @@
        <tr>
                <td valign="top" width="50%">
                        <h2><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
-                               <table>
+                               <table summary="">
                                        <tr>
                                                <td>
                                                        {t}Name{/t}{$must}&nbsp;
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" size="45" maxsize="80" name="cn">
+                                                       <input value="{$cn}" size="45" name="cn">
                                                </td>
                                        </tr>
                                        <tr>
@@ -17,7 +17,7 @@
                                                        {t}Description{/t}&nbsp;
                                                </td>
                                                <td>
-                                                       <input value="{$description}" size="45" maxsize="80" name="description">
+                                                       <input value="{$description}" size="45" name="description">
                                                </td>
                                        </tr>
                                </table>
@@ -27,7 +27,7 @@
         </td>
                <td style="vertical-align:top">
                                <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}">&nbsp;{t}Hook attributes{/t}</h2>
-                               <table width="100%">
+                               <table width="100%" summary="">
                                        <tr>
                                                <td>
                                                        <LABEL for="FAItask">
@@ -50,7 +50,7 @@
         {t}Script{/t}
     </LABEL>
     </h2>
-<table width="99%">
+<table width="99%" summary="">
     <tr>
         <td>
             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript">{$FAIscript}</textarea>