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 class='left-border'>
34
35 </td>
36 <td>
37 <h3>
38 <LABEL for="SubObject">
39 {t}List of assigned variables{/t}
40 </LABEL>
41 </h3>
42 <table summary="" width="100%">
43 <tr>
44 <td>
45 <select name="SubObject[]" multiple title="{t}Choose a variable to delete or edit{/t}"
46 style="width:100%;" size="20" id="SubObject">
47 {html_options options=$SubObjects}
48 </select><br>
49 {if $is_createable}
50 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
52 {else}
53 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
55 {/if}
56 <button type='submit' name='EditSubObject' title="{t}Edit{/t}">{t}Edit{/t}</button>
58 {if $is_removeable}
59 <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">{msgPool type=delButton}</button>
61 {else}
62 <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">{msgPool type=delButton}</button>
64 {/if}
65 </td>
66 </tr>
67 </table>
68 </td>
69 </tr>
70 </table>
71 <input type="hidden" value="1" name="FAIvariable_posted">
72 <!-- Place cursor -->
73 <script language="JavaScript" type="text/javascript">
74 <!-- // First input field on page
75 focus_field('cn','description');
76 -->
77 </script>