1 <input type="hidden" name="SubObjectFormSubmitted" value="1">
2 <table width="100%" summary="">
3 <tr>
4 <td valign="top" width="50%">
5 <h2><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
6 <table summary="">
7 <tr>
8 <td>
9 {t}Name{/t}{$must}
10 </td>
11 <td>
12 {render acl=$cnACL}
13 <input 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 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 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}"> {t}Hook attributes{/t}</h2>
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 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 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}">
55 <LABEL for="FAIscript">
56 {t}Script{/t}
57 </LABEL>
58 </h2>
59 <table width="99%" summary="">
60 <tr>
61 <td>
62 {render acl=$FAIscriptACL}
63 <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript" >{$FAIscript}</textarea>
64 {/render}
65 </td>
66 </tr>
67 </table>
68 <br>
69 <div>
70 {render acl=$FAIscriptACL}
71 <input type="file" name="ImportFile">
72 {/render}
73 {render acl=$FAIscriptACL}
74 <input type="submit" name="ImportUpload" value="{t}Import script{/t}" >
75 {/render}
76 {render acl=$FAIscriptACL}
77 {$DownMe}
78 {/render}
79 </div>
81 <p class="seperator"> </p>
82 <br>
83 <div style="align:right;" align="right">
84 <input type="submit" value="{t}Apply{/t}" name="SaveSubObject">
85 <input type="submit" value="{t}Cancel{/t}" name="CancelSubObject">
86 </div>
87 <!-- Place cursor -->
88 <script language="JavaScript" type="text/javascript">
89 <!-- // First input field on page
90 document.mainform.cn.focus();
91 -->
92 </script>