Code

Updated divlists.
[gosa.git] / plugins / admin / fai / faiHookEntry.tpl
index 2c3279bb60e39cd843c994d03f61345edd376bc5..2ab571413e707cbe16306a6c1e2124a91809e25f 100644 (file)
@@ -9,7 +9,9 @@
                                                        {t}Name{/t}{$must} 
                                                </td>
                                                <td>
-                                                       <input value="{$cn}" size="45" name="cn" {$cnACL}>
+{render acl=$cnACL}
+                                                       <input value="{$cn}" size="45" name="cn">
+{/render}
                                                </td>
                                        </tr>
                                        <tr>
@@ -17,7 +19,9 @@
                                                        {t}Description{/t}&nbsp;
                                                </td>
                                                <td>
-                                                       <input value="{$description}" size="45" name="description" {$descriptionACL}>
+{render acl=$descriptionACL}
+                                                       <input value="{$description}" size="45" name="description">
+{/render}
                                                </td>
                                        </tr>
                                </table>
                                                        <LABEL for="FAItask">
                                                        {t}Task{/t}&nbsp;
                                                        </LABEL>
-                                                       <select name="FAItask" title="{t}Choose an existing FAI task{/t}" {$FAItaskACL}>
-                                                               {html_options options=$tasks selected=$FAItask}
+{render acl=$FAItaskACL}
+                                                       <select name="FAItask" title="{t}Choose an existing FAI task{/t}">
+                                                               {html_options values=$tasks output=$tasks selected=$FAItask}
                                                        </select>
+{/render}
                                                </td>
                                        </tr>
                                </table>
 <table width="99%" summary="">
     <tr>
         <td>
+{render acl=$FAIscriptACL}
             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript" >{$FAIscript}</textarea>
+{/render}
         </td>
     </tr>
 </table>
 <br>
 <div>
-    <input type="file" name="ImportFile" {$FAIscriptACL}>&nbsp;
-    <input type="submit" name="ImportUpload" value="{t}Import script{/t}" {$FAIscriptACL}>
+{render acl=$FAIscriptACL}
+    <input type="file" name="ImportFile">&nbsp;
+{/render}
+{render acl=$FAIscriptACL}
+    <input type="submit" name="ImportUpload" value="{t}Import script{/t}" >
+{/render}
+{render acl=$FAIscriptACL}
        {$DownMe}
+{/render}
 </div>
 
 <p class="seperator">&nbsp;</p>
 <br>
 <div style="align:right;" align="right">
-       <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject" {$cnACL}>&nbsp;
+       <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject">&nbsp;
        <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
 </div>
 <!-- Place cursor -->