1 <table width="100%">
2 <tr>
3 <td width="50%" valign="top">
4 <h2><img alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
5 <table summary="" cellspacing="4">
6 <tr>
7 <td>
8 <LABEL for="cn">
9 {t}Name{/t}{$must}
10 </LABEL>
11 </td>
12 <td>
13 <input value="{$cn}" disabled id="cn">
14 </td>
15 </tr>
16 <tr>
17 <td>
18 <LABEL for="description">
19 {t}Description{/t}
20 </LABEL>
21 </td>
22 <td>
23 <input size=40 value="{$description}" {$description} name="description" id="description">
24 </td>
25 </tr>
26 </table>
27 </td>
28 <td style="border-left: 1px solid rgb(160, 160, 160);">
29
30 </td>
31 <td>
32 <h2><img alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">
33 <LABEL for="SubObject">
34 {t}List of scripts{/t}
35 </LABEL>
36 </h2>
37 <table width="100%">
38 <tr>
39 <td>
40 <select name="SubObject" title="{t}Choose a script to delete or edit{/t}" style="width:100%;" size=15 id="SubObject">
41 {html_options values=$SubObjectKeys output=$SubObjects}
42 </select><br>
43 <input type="submit" name="AddSubObject" value="{t}Add{/t}" title="{t}Add{/t}">
44 <input type="submit" name="EditSubObject" value="{t}Edit{/t}" title="{t}Edit{/t}">
45 <input type="submit" name="DelSubObject" value="{t}Delete{/t}" title="{t}Delete{/t}">
46 </td>
47 </tr>
48 </table>
49 </td>
50 </tr>
51 </table>
52 <input type="hidden" value="1" name="FAIscript_posted">
53 <!-- Place cursor -->
54 <script language="JavaScript" type="text/javascript">
55 <!-- // First input field on page
56 document.mainform.description.focus();
57 -->
58 </script>