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" {$cnACL}>
13 </td>
14 </tr>
15 <tr>
16 <td>
17 {t}Description{/t}
18 </td>
19 <td>
20 <input value="{$description}" size="45" name="description" {$descriptionACL}>
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}" {$FAItaskACL}>
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" {$FAIscriptACL}>
63 <input type="submit" name="ImportUpload" value="{t}Import script{/t}" {$FAIscriptACL}>
64 {$DownMe}
65 </div>
67 <p class="seperator"> </p>
68 <br>
69 <div style="align:right;" align="right">
70 <input type="submit" value="{t}Apply{/t}" name="SaveSubObject" {$cnACL}>
71 <input type="submit" value="{t}Cancel{/t}" name="CancelSubObject">
72 </div>
73 <!-- Place cursor -->
74 <script language="JavaScript" type="text/javascript">
75 <!-- // First input field on page
76 focus_field('cn','description');
77 -->
78 </script>