Code

get rid of the div stuff
[gosa.git] / gosa-plugins / fai / admin / fai / faiVariable.tpl
2 <table summary="" width="100%">
3  <tr>
4   <td width="50%" valign="top">
5    <h3>{t}Generic{/t}
6    </h3>
7    <table summary="" cellspacing="4">
8     <tr>
9      <td><LABEL for="cn">{t}Name{/t}
10       {$must}</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><LABEL for="description">{t}Description{/t}</LABEL>
20      </td>
21      <td>
22       {render acl=$descriptionACL}
23        <input type='text' size="45" maxlength="80" value="{$description}" name="description" id="description">
24       {/render}
25      </td>
26     </tr>
27    </table>
28   </td>
29   <td class='left-border'>&nbsp;
30   </td>
31   <td>
32    <h3><LABEL for="SubObject">{t}List of assigned variables{/t}</LABEL>
33    </h3>
34    <table summary="" width="100%">
35     <tr>
36      <td>
37       <select name="SubObject[]" multiple  title="{t}Choose a variable to delete or edit{/t}"                                                   style="width:100%;" size="20" id="SubObject">
38        {html_options options=$SubObjects}
39       </select>
40       <br>
41       
42       {if $is_createable}
43        <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
44        {msgPool type=addButton}</button>
45        {else}
46        <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
47        {msgPool type=addButton}</button>
48        
49       {/if}
50       <button type='submit' name='EditSubObject' title="{t}Edit{/t}">{t}Edit{/t}</button>
51       
52       {if $is_removeable}
53        <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">
54        {msgPool type=delButton}</button>
55        {else}
56        <button type='submit' name='DelSubObject' title="{msgPool type=delButton}">
57        {msgPool type=delButton}</button>
58        
59       {/if}
60      </td>
61     </tr>
62    </table>
63   </td>
64  </tr>
65 </table>
66 <input type="hidden" value="1" name="FAIvariable_posted"><!-- Place cursor -->
67 <script language="JavaScript" type="text/javascript"><!-- // First input field on page  focus_field('cn','description');  --></script>