index f77bf6727f81e46997b58d5672238a9fb985428e..dc30ae2c6f3920df03d22f6377ad8dd6198a1f70 100644 (file)
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
<!-- Headline container -->
<tr>
- <td colspan=2 style="width:50%; vertical-align:top;">
- <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Generic{/t}</h2>
+ <td colspan="2" style="width:50%; vertical-align:top;">
+ <h2><p class="center"><img class="center" alt="" align="middle" src="images/rightarrow.png" /> {t}Generic{/t}</p></h2>
</td>
</tr>
<tr>
<td style="vertical-align:top;">
<table summary="">
<tr>
- <td>{t}Samba home{/t}</td>
+ <td><label for="smbHome">{t}Samba home{/t}</label></td>
<td>
- <input name="smbHome" size=30 maxlength=60 {$smbHomeACL} value="{$smbHome}">
+ <input id="smbHome" name="smbHome" size=30 maxlength=60 {$smbHomeACL} value="{$smbHome}">
<select size="1" name="homeDrive" {$homeDriveACL}>
- <option></option>
+ <option disabled> </option>
{html_options values=$drives output=$drives selected=$homeDrive}
</select>
</td>
<td style="vertical-align:top;">
<table summary="">
<tr>
- <td>{t}Script path{/t}</td>
+ <td><label for="scriptPath">{t}Script path{/t}</label></td>
<td>
- <input name="scriptPath" size=35 maxlength=60 {$scriptPathACL} value="{$scriptPath}">
+ <input id="scriptPath" name="scriptPath" size=35 maxlength=60 {$scriptPathACL} value="{$scriptPath}">
</td>
</tr>
<tr>
- <td>{t}Profile path{/t}</td>
+ <td><label for="profilePath">{t}Profile path{/t}</label></td>
<td>
- <input name="profilePath" size=35 maxlength=60 {$profilePathACL} value="{$profilePath}">
+ <input id="profilePath" name="profilePath" size=35 maxlength=60 {$profilePathACL} value="{$profilePath}">
</td>
</tr>
</table>
<p class="seperator"> </p>
-<h2><img alt="" align="middle" src="images/certs.png"> {t}Access options{/t}</h2>
+<h2><p class="center"><img class="center" alt="" align="middle" src="images/certs.png" /> {t}Access options{/t}</p></h2>
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
<tr>
<td style="width:50%;">
- <input type=checkbox name="allow_pwchange" value="1" {$flagsP} {$allow_pwchangeACL}>
- {t}Allow user to change password from client{/t}
+ <input id="allow_pwchange" type=checkbox name="allow_pwchange" value="1" {$flagsP} {$allow_pwchangeACL}>
+ <label for="allow_pwchange">{t}Allow user to change password from client{/t}</label>
<br>
- <input type=checkbox name="no_password_required" value="1" {$flagsN} {$no_password_requiredACL}>
- {t}Login from windows client requires no password{/t}
+ <input id="no_password_required" type=checkbox name="no_password_required" value="1" {$flagsN} {$no_password_requiredACL}>
+ <label for="no_password_required">{t}Login from windows client requires no password{/t}</label>
<br>
- <input type=checkbox name="temporary_disable" value="1" {$flagsD} {$temporary_disableACL}>
- {t}Temporary disable samba account{/t}
+ <input id="temporary_disable" type=checkbox name="temporary_disable" value="1" {$flagsD} {$temporary_disableACL}>
+ <label for="temporary_disable">{t}Temporary disable samba account{/t}</label>
<br>
</td>
<td style="border-left:1px solid #A0A0A0">
</td>
<td style="vertical-align:top; width:50%">
<input type=checkbox name="password_expires" value="1" {$flagsC} {$password_expiresACL}>
- {t}Password expires on{/t}
- <select name=day onChange="createResult(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
+ <label for="day">{t}Password expires on{/t}</label>
+ <select id="day" name=day onChange="createResult(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
{html_options values=$days output=$days selected=$day}
</select>
<select name=month onChange="populate(this.form,this.form.sambaPwdMustChange);" {$sambaPwdMustChangeACL}>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!--
- // First input field on page
- document.mainform.sambaHomePath.focus();
-
// Populate expiery dialog
populate(document.mainform,document.mainform.sambaPwdMustChange);
-->