Code

Fixed Label tags
[gosa.git] / plugins / personal / posix / generic.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4    <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
5    <table summary="">
6     <tr>
7      <td><LABEL for="homeDirectory">{t}Home directory{/t}</LABEL>{$must}</td>
8      <td>
9       <input id="homeDirectory" name="homeDirectory" size=25 maxlength=120 {$homeDirectoryACL} value="{$homeDirectory}">
10      </td>
11     </tr>
12     <tr>
13      <td><LABEL for="loginShell">{t}Shell{/t}</LABEL></td>
14      <td>
15       <select id="loginShell" size="1" name="loginShell" {$loginShellACL}>
16        {html_options values=$shells output=$shells selected=$loginShell}
17       </select> 
18      </td>
19     </tr>
20     <tr>
21      <td><LABEL for="">{t}Primary group{/t}</LABEL></td>
22      <td>
23       <select id="primaryGroup" size="1" name="primaryGroup" {$gidNumberACL}>
24        {html_options options=$secondaryGroups selected=$primaryGroup}
25       </select> 
26      </td>
27     </tr>
28     <tr>
29      <td>{t}Status{/t}</td>
30      <td>{$status}</td>
31     </tr>
32    </table>
33    <table summary="">
34     <tr>
35      <td>
36       <input id="force_ids" type=checkbox name="force_ids" value="1" {$force_ids} {$force_idsACL} onclick="changeState('uidNumber'); changeState('gidNumber');">
37                                         </td>
38                                         <td>
39       <LABEL for="force_ids">{t}Force UID/GID{/t}</LABEL>
40      </td>
41                                         <td style="width:20px;"></td>
42                                         <td>
43                                                 <LABEL for="uidNumber">{t}UID{/t}</LABEL>
44                                         </td>
45                                         <td>
46                                                 <input id="uidNumber" name="uidNumber" size=5 maxlength=5 {$forceMode} {$uidNumberACL} value="{$uidNumber}">
47                                         </td>
48                                 </tr>
49                                 <tr>
50                                         <td colspan="3"></td>
51                                         <td>
52                                                 <LABEL for="gidNumber">{t}GID{/t}</LABEL>
53                                         </td>
54      <td>
55                                                 <input id="gidNumber" name="gidNumber" size=5 maxlength=5 {$forceMode} {$gidNumberACL} value="{$gidNumber}">
56                                         </td>
57                                 </tr>
58    </table>
59   </td>
60   <td style="border-left:1px solid #A0A0A0">
61     &nbsp;
62   </td>
63   <td style="vertical-align:top;">
64    <h2><img alt="" align="middle" src="images/members.png"> {t}Group membership{/t}</h2>
65    {if $groups eq "too_many_for_nfs"}
66     <b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
67     <br>
68    {/if}
69    <select style="width:400px; height:130px;" name="group_list[]" size=16 multiple>
70     {html_options options=$groupMembership}
71    </select>
72    <br>
73    <input type=submit value="{t}Add{/t}" name="edit_groupmembership" {$groupMembershipACL}>&nbsp;
74    <input type=submit value="{t}Delete{/t}" name="delete_groupmembership" {$groupMembershipACL}>
75   </td>
76  </tr>
77 </table>
79 <p class="seperator">&nbsp;</p>
81 <table summary="" style="width:100% ; vertical-align:top; text-align:left;" cellpadding=0 border=0>
82  <tr>
83   <td>
84    <h2><img alt="" align="middle" src="images/terminal_small.png"> {t}Account{/t}</h2>
85   </td>
86  </tr>
87  <tr>
88   <td>
89    {include file="$pwmode.tpl"}
90   </td>
91  </tr>
92 </table>
94 <p class="seperator">&nbsp;</p>
95 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
96  <tr>
97   <td style="vertical-align:top; width:50%">
98    <h2><img alt="" align="middle" src="images/display.png"> {t}Environment{/t}</h2>
99    <table summary="">
100     <tr>
101      <td><LABEL for="gosaDefaultPrinter">{t}Default printer{/t}</LABEL></td>
102      <td>
103       <select id="gosaDefaultPrinter" size="1" name="gosaDefaultPrinter" {$gosaDefaultPrinterACL}>
104        {html_options options=$printerList selected=$gosaDefaultPrinter}
105                 <option disabled value="">&nbsp;</option>
106       </select> 
107      </td>
108     </tr>
109     <tr>
110      <td><LABEL for="gosaDefaultLanguage">{t}Default language{/t}</LABEL></td>
111      <td>
112       <select size="1" id="gosaDefaultLanguage" name="gosaDefaultLanguage" {$gosaDefaultLanguageACL}>
113        {html_options values=$languages output=$languages selected=$gosaDefaultLanguage}
114       </select> 
115      </td>
116     </tr>
117    </table>
118   </td>
119   <td style="border-left:1px solid #A0A0A0">
120     &nbsp;
121   </td>
122   <td style="vertical-align:top;">
123    <h2><img alt="" align="middle" src="images/closedlock.png" style="margin-bottom:10px;"> {t}System trust{/t}&nbsp;
124     <select name="trustmode" id="trustmode" size=1 onchange="changeSelectState('trustmode', 'wslist'); changeSelectState('trustmode', 'add_ws'); changeSelectState('trustmode', 'del_ws');" {$trustmodeACL}>
125       {html_options options=$trustmodes selected=$trustmode}
126     </select>
127    </h2>
128    <select style="width:350px;" id="wslist" name="workstation_list[]" size=4 multiple {$trustmodeACL} {$trusthide}>
129     {html_options values=$workstations output=$workstations}
130         {if $emptyArrAccess}
131                 <option disabled>&nbsp;</option>
132         {/if}
133    </select>
134    <br>
135    <input type="submit" id="add_ws" value="{t}Add{/t}" name="add_ws"
136         {$trustmodeACL} {$trusthide}>&nbsp;
137    <input type="submit" id="del_ws" value="{t}Delete{/t}" name="delete_ws"
138         {$trustmodeACL} {$trusthide}>
139   </td>
140  </tr>
141 </table>
143 <input type="hidden" name="posixTab" value="posixTab">
145 <!-- Place cursor -->
146 <script language="JavaScript" type="text/javascript">
147   <!-- // First input field on page
148   document.mainform.homeDirectory.focus();
149   -->
150 </script>