Code

Updated listing table summary
[gosa.git] / gosa-plugins / fai / admin / fai / faiHookEntry.tpl
1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
2 <table width="100%" summary="">
3         <tr>
4                 <td valign="top" width="50%">
5                         <h3>{t}Generic{/t}</h3>
6                                 <table summary="">
7                                         <tr>
8                                                 <td>
9                                                         {t}Name{/t}{$must}&nbsp;
10                                                 </td>
11                                                 <td>
12 {render acl=$cnACL}
13                                                         <input type='text' value="{$cn}" size="45" name="cn">
14 {/render}
15                                                 </td>
16                                         </tr>
17                                         <tr>
18                                                 <td>
19                                                         {t}Description{/t}&nbsp;
20                                                 </td>
21                                                 <td>
22 {render acl=$descriptionACL}
23                                                         <input type='text' value="{$description}" size="45" name="description">
24 {/render}
25                                                 </td>
26                                         </tr>
27                                 </table>
28                 </td>
29                 <td class='left-border'>
31            &nbsp;
32         </td>
33                 <td>
35                                 <h3>{t}Hook attributes{/t}</h3>
36                                 <table width="100%" summary="">
37                                         <tr>
38                                                 <td>
39                                                         <LABEL for="FAItask">
40                                                         {t}Task{/t}&nbsp;
41                                                         </LABEL>
42 {render acl=$FAItaskACL}
43                                                         <select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}" size=1>
44                                                                 {html_options values=$tasks output=$tasks selected=$FAItask}
45                                                         </select>
46 {/render}
47                                                 </td>
48                                         </tr>
49                                 </table>
50                 </td>
51         </tr>
52 </table>
55 <hr>
56 <h3>
57     <LABEL for="FAIscript">
58         {t}Script{/t}
59     </LABEL>
60     </h3>
61 <table width="99%" summary="">
62     <tr>
63         <td>
64 {render acl=$FAIscriptACL}
65             <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript" 
66                                 rows=20 cols=120>{$FAIscript}</textarea>
67 {/render}
68         </td>
69     </tr>
70 </table>
71 <br>
72 <div>
73 {render acl=$FAIscriptACL}
74     <input type="file" name="ImportFile">&nbsp;
75 {/render}
76 {render acl=$FAIscriptACL}
77     <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
79 {/render}
80 {render acl=$FAIscriptACL}
81         {$DownMe}
82 {/render}
83 </div>
85 <hr>
86 <br>
87 <div style="align:right;" align="right">
88 {if !$freeze}
89         <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
91 {/if}
92         <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
94 </div>
95 <!-- Place cursor -->
96 <script language="JavaScript" type="text/javascript">
97   <!-- // First input field on page
98         focus_field('cn','description');
99   -->
100 </script>