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 <p class="seperator"> </p>
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 <input type="submit" name="ImportUpload" value="{t}Import script{/t}" >
76 {/render}
77 {render acl=$FAIscriptACL}
78 {$DownMe}
79 {/render}
80 </div>
82 <p class="seperator"> </p>
83 <br>
84 <div style="align:right;" align="right">
85 {if !$freeze}
86 <input type="submit" value="{msgPool type=applyButton}" name="SaveSubObject">
87 {/if}
88 <input type="submit" value="{msgPool type=cancelButton}" name="CancelSubObject">
89 </div>
90 <!-- Place cursor -->
91 <script language="JavaScript" type="text/javascript">
92 <!-- // First input field on page
93 focus_field('cn','description');
94 -->
95 </script>