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" maxlength="80" name="cn">
13 </td>
14 </tr>
15 <tr>
16 <td>
17 {t}Description{/t}
18 </td>
19 <td>
20 <input size="45" maxlength="80" value="{$description}" 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 valign="top">
29 <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Properties{/t}"> {t}Script attributes{/t}</h2>
30 <table summary="" width="100%">
31 <tr>
32 <td>
33 <LABEL for="FAIpriority">
34 {t}Priority{/t}
35 </LABEL>
36 </td>
37 <td>
38 <select name="FAIpriority" title="{t}Choose a priority{/t}">
39 {html_options values=$FAIprioritys output=$FAIprioritys selected=$FAIpriority}
40 </select>
41 </td>
42 </tr>
43 </table>
44 </td>
45 </tr>
46 </table>
47 <p class="seperator"> </p>
48 <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Script attributes{/t}">
49 <LABEL for="FAIscript">
50 {t}Script{/t}
51 </LABEL>
52 </h2>
53 <table summary="" width="99%">
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>
65 <br>
66 <div style="align:right;" align="right">
67 <input type="submit" value="{t}Apply{/t}" name="SaveSubObject">
68 <input type="submit" value="{t}Cancel{/t}" name="CancelSubObject">
69 </div>
70 <!-- Place cursor -->
71 <script language="JavaScript" type="text/javascript">
72 <!-- // First input field on page
73 document.mainform.cn.focus();
74 -->
75 </script>