1 <table summary="" width="100%">
2 <tr>
3 <td width="50%" valign="top">
4 <h3>{t}Generic{/t}</h3>
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 {render acl=$cnACL}
14 <input type='text' value="{$cn}" size="45" maxlength="80" disabled id="cn">
15 {/render}
16 </td>
17 </tr>
18 <tr>
19 <td>
20 <LABEL for="description">
21 {t}Description{/t}
22 </LABEL>
23 </td>
24 <td>
25 {render acl=$descriptionACL}
26 <input type='text' size="45" maxlength="80" value="{$description}" name="description" id="description">
27 {/render}
28 </td>
29 </tr>
30 </table>
31 </td>
32 <td style="border-left: 1px solid rgb(160, 160, 160);">
33
34 </td>
35 <td>
36 <h3>
37 <LABEL for="SubObject">
38 {t}List of assigned variables{/t}
39 </LABEL>
40 </h3>
41 <table summary="" width="100%">
42 <tr>
43 <td>
44 <select name="SubObject[]" multiple title="{t}Choose a variable to delete or edit{/t}"
45 style="width:100%;" size="20" id="SubObject">
46 {html_options options=$SubObjects}
47 </select><br>
48 {if $is_createable}
49 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
51 {else}
52 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
54 {/if}
55 <button type='submit' name='EditSubObject' title="{t}Edit{/t}">{t}Edit{/t}</button>
57 {if $is_removeable}
58 <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">{msgPool type=delButton}</button>
60 {else}
61 <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">{msgPool type=delButton}</button>
63 {/if}
64 </td>
65 </tr>
66 </table>
67 </td>
68 </tr>
69 </table>
70 <input type="hidden" value="1" name="FAIvariable_posted">
71 <!-- Place cursor -->
72 <script language="JavaScript" type="text/javascript">
73 <!-- // First input field on page
74 focus_field('cn','description');
75 -->
76 </script>