1 <table width='100%'>
2 <tr>
3 <td style='vertical-align:top;'>
4 <h3>{t}Posix settings{/t}</h3>
5 <table>
6 <tr>
7 <td>
8 <label for="homeDirectory">{t}Home directory{/t}</label>
9 </td>
10 <td>
11 <input type='text' id="homeDirectory" name="homeDirectory" size=40 maxlength=120 value="{$homeDirectory}">
12 </td>
13 </tr>
14 </table>
15 <table style='width:100%;'>
16 <tr>
17 <td><label for="primaryGroup">{t}Primary group{/t}</label></td>
18 <td>
19 <select id="primaryGroup" size="1" name="primaryGroup">
20 {html_options options=$secondaryGroups selected=$primaryGroup}
21 </select>
22 </td>
23 </tr>
24 <tr>
25 <td>
26 <input id="force_ids" type=checkbox name="force_ids" value="1" {$force_ids}
27 onclick="changeState('uidNumber');changeState('gidNumber');">
28 </td>
29 <td>
30 <label for="force_ids">
31 {t}Force UID/GID{/t}
32 </label>
33 </td>
34 <td> </td>
35 <td>
36 <label for="uidNumber">{t}UID{/t}</label>
37 </td>
38 <td>
39 <input type='text' id="uidNumber" name="uidNumber" size=9 maxlength=9 {$forceMode} value="{$uidNumber}">
40 </td>
41 </tr>
42 <tr>
43 <td colspan="3"> </td>
44 <td>
45 <label for="gidNumber">{t}GID{/t}</label>
46 </td>
47 <td>
48 <input type='text' id="gidNumber" name="gidNumber" size=9 maxlength=9 {$forceMode} value="{$gidNumber}">
49 </td>
50 </tr>
51 </table>
52 <table width="50%">
53 <tr>
54 <td style="vertical-align:top;" colspan="4">
55 <h3>{image path="plugins/posix/images/members.png"} {t}Group membership{/t}
56 </h3>
57 </td>
58 </tr>
59 <tr>
60 <td style="vertical-align:top;" colspan="4">
62 {if $groups eq "too_many_for_nfs"}
63 <b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
64 <br>
65 {/if}
66 <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple>
67 {html_options options=$groupMembership}
68 </select>
69 <br>
70 <button type='submit' name='edit_groupmembership'>{msgPool type=addButton}</button>
72 <button type='submit' name='delete_groupmembership'>{msgPool type=delButton}</button>
74 </td>
75 </tr>
76 </table>
77 </td>
78 </tr>
79 </table>
80 <br>
81 <br>