Code

added lable Tag
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 11:42:51 +0000 (11:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 11:42:51 +0000 (11:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@987 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/component.tpl
plugins/admin/systems/password.tpl
plugins/admin/systems/printer.tpl

index 2b4007458e07b55a76e87d57899126ac9ac17624..a4952887d242b8056228a5e357c6e942be53a940 100644 (file)
@@ -3,16 +3,16 @@
   <td style="vertical-align:top; width:50%;">
        <table summary="">
         <tr>
-         <td>{t}Device name{/t}{$must}</td>
-         <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
+         <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}</td>
+         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
         </tr>
         <tr>
           <td colspan=2>&nbsp;</td>
         </tr>
         <tr>
-         <td>{t}Base{/t}{$must}</td>
+         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
          <td>
-          <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+          <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
            {html_options options=$bases selected=$base_select}
           </select>
          </tr>
@@ -21,8 +21,8 @@
   <td style="vertical-align:top">
        <table summary="">
         <tr>
-         <td>{t}Description{/t}</td>
-         <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
+         <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+         <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
         </tr>
        </table>
   </td>
index e810ea999f46b1dde7effb975c02f8d15ba643a9..131d8dc81a6d9ceaae1030f9d686603323329532 100644 (file)
@@ -8,13 +8,13 @@
 
 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
   <tr>
-    <td><b>{t}New password{/t}</b></td>
-    <td><input type="password" name="new_password" size="30" maxlength="40"
+    <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
+    <td><input id="new_password" type="password" name="new_password" size="30" maxlength="40"
                onFocus="nextfield= 'repeated_password';"></td>
   </tr>
   <tr>
-    <td><b>{t}Repeat new password{/t}</b></td>
-    <td><input type="password" name="repeated_password" size="30" maxlength="40"
+    <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
+    <td><input type="password" id="repeated_password" name="repeated_password" size="30" maxlength="40"
                onFocus="nextfield= 'password_finish';"></td>
   </tr>
 </table>
index e21295a9ff78463ee81af71e6f763da373e81e4c..fad4ba3449b969b5f2961d2e6be49ae12b61f98a 100644 (file)
@@ -3,22 +3,22 @@
   <td style="vertical-align:top; width:50%;">
        <table summary="">
         <tr>
-         <td>{t}Printer name{/t}{$must}</td>
-         <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
+         <td><LABEL for="cn" >{t}Printer name{/t}</LABEL>{$must}</td>
+         <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
         </tr>
         <tr>
-         <td>{t}Description{/t}</td>
-         <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
+         <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+         <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
         </tr>
         <tr>
-         <td>{t}Location{/t}</td>
-         <td><input name="l" size=25 maxlength=80 value="{$l}"></td>
+         <td><LABEL for="l">{t}Location{/t}</LABEL></td>
+         <td><input id="l" name="l" size=25 maxlength=80 value="{$l}"></td>
         </tr>
         <tr>
           <td colspan=2>&nbsp;</td>
         </tr>
         <tr>
-         <td>{t}Base{/t}{$must}</td>
+         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
          <td>
           <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
            {html_options options=$bases selected=$base_select}
   <td style="vertical-align:top">
        <table summary="">
         <tr>
-         <td>{t}Printer URL{/t}</td>
-         <td><input name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
+         <td><LABEL for="labeledURI">{t}Printer URL{/t}</LABEL></td>
+         <td><input id="labeledURI" name="labeledURI" size=25 maxlength=80 value="{$labeledURI}"></td>
         </tr>
         <tr>
-         <td>{t}Path to PPD{/t}</td>
-         <td><input name="gotoPrinterPPD" size=25 maxlength=80 value="{$gotoPrinterPPD}"></td>
+         <td><LABEL for="gotoPrinterPPD">{t}Path to PPD{/t}</LABEL></td>
+         <td><input id="gotoPrinterPPD" name="gotoPrinterPPD" size=25 maxlength=80 value="{$gotoPrinterPPD}"></td>
         </tr>
        </table>
   </td>