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}
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}
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 style="border-left: 1px solid rgb(160, 160, 160);">
30
31 </td>
32 <td style="vertical-align:top">
33 <h3>{t}Hook attributes{/t}</h3>
34 <table width="100%" summary="">
35 <tr>
36 <td>
37 <LABEL for="FAItask">
38 {t}Task{/t}
39 </LABEL>
40 {render acl=$FAItaskACL}
41 <select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}">
42 {html_options values=$tasks output=$tasks selected=$FAItask}
43 </select>
44 {/render}
45 </td>
46 </tr>
47 </table>
48 </td>
49 </tr>
50 </table>
53 <hr>
54 <h3>
55 <LABEL for="FAIscript">
56 {t}Script{/t}
57 </LABEL>
58 </h3>
59 <table width="99%" summary="">
60 <tr>
61 <td>
62 {render acl=$FAIscriptACL}
63 <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"
64 rows=20 cols=120>{$FAIscript}</textarea>
65 {/render}
66 </td>
67 </tr>
68 </table>
69 <br>
70 <div>
71 {render acl=$FAIscriptACL}
72 <input type="file" name="ImportFile">
73 {/render}
74 {render acl=$FAIscriptACL}
75 <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
77 {/render}
78 {render acl=$FAIscriptACL}
79 {$DownMe}
80 {/render}
81 </div>
83 <hr>
84 <br>
85 <div style="align:right;" align="right">
86 {if !$freeze}
87 <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>
89 {/if}
90 <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
92 </div>
93 <!-- Place cursor -->
94 <script language="JavaScript" type="text/javascript">
95 <!-- // First input field on page
96 focus_field('cn','description');
97 -->
98 </script>