index 83b3083bc199b4006aebf0770ba132175c8fd30b..27ec82fbd408913f1d644951b63b994298372f92 100644 (file)
<tr>
<td><label for="homeDirectory">{t}Home directory{/t}</label>{$must}</td>
<td>
- <input id="homeDirectory" name="homeDirectory" size=40 maxlength=120 {$homeDirectoryACL} value="{$homeDirectory}">
+ {render acl=$homeDirectoryACL}
+ <input id="homeDirectory" name="homeDirectory" size=40 maxlength=120 value="{$homeDirectory}">
+ {/render}
</td>
</tr>
<tr>
<td><label for="loginShell">{t}Shell{/t}</label></td>
<td>
- <select id="loginShell" size="1" name="loginShell" {$loginShellACL}>
+ {render acl=$loginShellACL}
+ <select id="loginShell" size="1" name="loginShell">
{html_options values=$shells output=$shells selected=$loginShell}
</select>
+ {/render}
</td>
</tr>
<tr>
<td><label for="">{t}Primary group{/t}</label></td>
<td>
- <select id="primaryGroup" size="1" name="primaryGroup" {$gidNumberACL}>
+ {render acl=$gidNumberACL}
+ <select id="primaryGroup" size="1" name="primaryGroup">
{html_options options=$secondaryGroups selected=$primaryGroup}
</select>
+ {/render}
</td>
</tr>
<tr>
<table summary="">
<tr>
<td>
- <input id="force_ids" type=checkbox name="force_ids" value="1" {$force_ids} {$force_idsACL} onclick="changeState('uidNumber'); changeState('gidNumber');">
+ {render acl=$force_idsACL}
+ <input id="force_ids" type=checkbox name="force_ids" value="1" {$force_ids} onclick="changeState('uidNumber'); changeState('gidNumber');">
+ {/render}
</td>
<td>
<label for="force_ids">{t}Force UID/GID{/t}</label>
<label for="uidNumber">{t}UID{/t}</label>
</td>
<td>
- <input id="uidNumber" name="uidNumber" size=5 maxlength=5 {$forceMode} {$uidNumberACL} value="{$uidNumber}">
+ {render acl=$uidNumberACL}
+ <input id="uidNumber" name="uidNumber" size=5 maxlength=5 {$forceMode} value="{$uidNumber}">
+ {/render}
</td>
</tr>
<tr>
<label for="gidNumber">{t}GID{/t}</label>
</td>
<td>
- <input id="gidNumber" name="gidNumber" size=5 maxlength=5 {$forceMode} {$gidNumberACL} value="{$gidNumber}">
+ {render acl=$gidNumberACL}
+ <input id="gidNumber" name="gidNumber" size=5 maxlength=5 {$forceMode} value="{$gidNumber}">
+ {/render}
</td>
</tr>
</table>
<b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
<br>
{/if}
- <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple {$groupMembershipACL}>
+ {render acl=$groupMembershipACL}
+ <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple >
{html_options options=$groupMembership}
</select>
+ {/render}
<br>
- <input type=submit value="{t}Add{/t}" name="edit_groupmembership" {$groupMembershipACL}>
- <input type=submit value="{t}Delete{/t}" name="delete_groupmembership" {$groupMembershipACL}>
+ {render acl=$groupMembershipACL}
+ <input type=submit value="{t}Add{/t}" name="edit_groupmembership" >
+ {/render}
+ {render acl=$groupMembershipACL}
+ <input type=submit value="{t}Delete{/t}" name="delete_groupmembership" >
+ {/render}
</td>
</tr>
</table>
</td>
<td style="vertical-align:top;">
<h2><img alt="" class="center" align="middle" src="images/closedlock.png" /> {t}System trust{/t}</h2>
- {t}Trust mode{/t} <select name="trustmode" id="trustmode" size=1 onchange="changeSelectState('trustmode', 'wslist'); changeSelectState('trustmode', 'add_ws'); changeSelectState('trustmode', 'del_ws');" {$trustmodeACL}>
+ {t}Trust mode{/t}
+ {render acl=$trustmodeACL}
+ <select name="trustmode" id="trustmode" size=1 onchange="changeSelectState('trustmode', 'wslist'); changeSelectState('trustmode', 'add_ws'); changeSelectState('trustmode', 'del_ws');">
{html_options options=$trustmodes selected=$trustmode}
</select>
- <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trustmodeACL} {$trusthide}>
+ {/render}
+ {render acl=$trustmodeACL}
+ <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple>
{html_options values=$workstations output=$workstations}
{if $emptyArrAccess}
<option disabled> </option>
{/if}
</select>
+ {/render}
<br>
- <input type="submit" id="add_ws" value="{t}Add{/t}" name="add_ws"
- {$trustmodeACL} {$trusthide}>
- <input type="submit" id="del_ws" value="{t}Delete{/t}" name="delete_ws"
- {$trustmodeACL} {$trusthide}>
+ {render acl=$trustmodeACL}
+ <input type="submit" id="add_ws" value="{t}Add{/t}" name="add_ws">
+ {/render}
+ {render acl=$trustmodeACL}
+ <input type="submit" id="del_ws" value="{t}Delete{/t}" name="delete_ws">
+ {/render}
</td>
</tr>
</table>