Code

Added Label Tag
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 08:49:14 +0000 (08:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 08:49:14 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@976 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/samba2.tpl

index 7ad198e717256a8b3aef2c0d520718516134e059..ea024eb57c6451e39823938a9889037b5dcb8d88 100644 (file)
@@ -10,9 +10,9 @@
   <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 disabled>&nbsp;</option>
        {html_options values=$drives output=$drives selected=$homeDrive}
   <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>
 <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">
@@ -65,8 +65,8 @@
   </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}>