Code

Updated trunk, introduced gosa-core
[gosa.git] / plugins / admin / fai / faiVariable.tpl
1 <table summary="" width="100%">
2         <tr>
3                 <td width="50%" valign="top">
4                                 <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{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 {render acl=$cnACL}
14                                                         <input 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 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                    &nbsp;
34                 </td>
35                 <td>
36                                 <h2><img class="center" alt="" src="images/fai_variable.png" align="middle" title="{t}Objects{/t}">&nbsp;
37                                         <LABEL for="SubObject">
38                                                 {t}List of assigned variables{/t}
39                                         </LABEL>
40                                 </h2>
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                                         <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}">
50 {else}
51                                         <input disabled type="submit" name="AddSubObject"     value="{t}Add{/t}"                title="{t}Add{/t}">
52 {/if}
53                                         <input type="submit" name="EditSubObject"    value="{t}Edit{/t}"    title="{t}Edit{/t}" >
54 {if $is_removeable}
55                                         <input type="submit" name="DelSubObject"     value="{t}Delete{/t}"  title="{t}Delete{/t}">
56 {else}
57                                         <input disabled type="submit" name="DelSubObject"     value="{t}Delete{/t}"  title="{t}Delete{/t}">
58 {/if}
59                                         </td>
60                                 </tr>
61                                 </table>
62                 </td>
63         </tr>
64 </table>
65 <input type="hidden" value="1" name="FAIvariable_posted">
66 <!-- Place cursor -->
67 <script language="JavaScript" type="text/javascript">
68   <!-- // First input field on page
69         focus_field('cn','description');
70   -->
71 </script>