8ec11bd47eecfad358f2a2c964e53609081c461e
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 <input value="{$cn}" size="45" name="cn">
13 </td>
14 </tr>
15 <tr>
16 <td>
17 {t}Description{/t}
18 </td>
19 <td>
20 <input value="{$description}" size="45" name="description">
21 </td>
22 </tr>
23 </table>
24 </td>
25 <td style="border-left: 1px solid rgb(160, 160, 160);">
26
27 </td>
28 <td style="vertical-align:top">
29 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}"> {t}Hook attributes{/t}</h2>
30 <table width="100%" summary="">
31 <tr>
32 <td>
33 <LABEL for="FAItask">
34 {t}Task{/t}
35 </LABEL>
36 <select name="FAItask" title="{t}Choose an existing FAI task{/t}">
37 {html_options values=$tasks output=$tasks selected=$FAItask}
38 </select>
39 </td>
40 </tr>
41 </table>
42 </td>
43 </tr>
44 </table>
47 <p class="seperator"> </p>
48 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Hook attributes{/t}">
49 <LABEL for="FAIscript">
50 {t}Script{/t}
51 </LABEL>
52 </h2>
53 <table width="99%" summary="">
54 <tr>
55 <td>
56 <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript">{$FAIscript}</textarea>
57 </td>
58 </tr>
59 </table>
60 <br>
61 <div>
62 <input type="file" name="ImportFile">
63 <input type="submit" name="ImportUpload" value="{t}Import script{/t}">
64 </div>
66 <p class="seperator"> </p>
67 <br>
68 <div style="align:right;" align="right">
69 <input type="submit" value="{t}Apply{/t}" name="SaveSubObject">
70 <input type="submit" value="{t}Cancel{/t}" name="CancelSubObject">
71 </div>
72 <!-- Place cursor -->
73 <script language="JavaScript" type="text/javascript">
74 <!-- // First input field on page
75 document.mainform.cn.focus();
76 -->
77 </script>