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