Code

added Label tag
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jul 2005 13:32:43 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jul 2005 13:32:43 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@962 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/generic.tpl

index b2b80d7f29f39ef2fc8e8ae6effd789db0ddf8f2..20b575fda411d451003d5aba2d088c097b90caac 100644 (file)
@@ -5,29 +5,29 @@
      
      <table summary="">
       <tr>
-       <td>{t}Name of department{/t}{$must}</td>
-       <td><input name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}"></td>
+       <td><LABEL for="ou">{t}Name of department{/t}</LABEL>{$must}</td>
+       <td><input id="ou" name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}"></td>
       </tr>
       <tr>
-       <td>{t}Description{/t}{$must}</td>
+       <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>
        <td>
-        <input name="description" size=25 maxlength=60 {$descriptionACL} value="{$description}" title="{t}Descriptive text for department{/t}">
+        <input id="description" name="description" size=25 maxlength=60 {$descriptionACL} value="{$description}" title="{t}Descriptive text for department{/t}">
        </td>
       </tr>
       <tr>
-       <td>{t}Category{/t}</td>
+       <td><LABEL for="businessCategory">{t}Category{/t}</LABEL></td>
        <td>
-        <input name="businessCategory" size=25 maxlength=60 {$businessCategoryACL} value="{$businessCategory}" title="{t}Category for this subtree{/t}">
+        <input id="businessCategory" name="businessCategory" size=25 maxlength=60 {$businessCategoryACL} value="{$businessCategory}" title="{t}Category for this subtree{/t}">
        </td>
       </tr>
       <tr>
         <td colspan="2"><br></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 department in{/t}"> 
+         <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
           {html_options options=$bases selected=$base_select}
          </select>
        </td>
 
      <table summary="">
       <tr>
-       <td>{t}State{/t}</td>
-       <td><input name="st" size=25 maxlength=60 {$stACL} value="{$st}" title="{t}State where this subtree is located{/t}"></td>
+       <td><LABEL for="st">{t}State{/t}/</LABEL></td>
+       <td><input iD="st" name="st" size=25 maxlength=60 {$stACL} value="{$st}" title="{t}State where this subtree is located{/t}"></td>
       </tr>
       <tr>
-       <td>{t}Location{/t}</td>
-       <td><input name="l" size=25 maxlength=60 {$lACL} value="{$l}" title="{t}Location of this subtree{/t}"></td>
+       <td><LABEL for="l">{t}Location{/t}</LABEL></td>
+       <td><input id="l" name="l" size=25 maxlength=60 {$lACL} value="{$l}" title="{t}Location of this subtree{/t}"></td>
       </tr>
       <tr>
-       <td style="vertical-align:top;">{t}Address{/t}</td>
-       <td><textarea name="postalAddress" rows=3 cols=22 {$postalAddressACL} title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
+       <td style="vertical-align:top;"><LABEL for="postalAddress">{t}Address{/t}</LABEL></td>
+       <td><textarea id="postalAddress" name="postalAddress" rows=3 cols=22 {$postalAddressACL} title="{t}Postal address of this subtree{/t}">{$postalAddress}</textarea>
       </tr>
       <tr>
-       <td>{t}Phone{/t}</td>
-       <td><input name="telephoneNumber" size=25 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}"></td>
+       <td><LABEL for="telephoneNumber">{t}Phone{/t}</LABEL></td>
+       <td><input id="telephoneNumber" name="telephoneNumber" size=25 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}" title="{t}Base telephone number of this subtree{/t}"></td>
       </tr>
       <tr>
-       <td>{t}Fax{/t}</td>
-       <td><input name="facsimileTelephoneNumber" size=25 maxlength=60 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}"></td>
+       <td><LABEL for="facsimileTelephoneNumber">{t}Fax{/t}</LABEL></td>
+       <td><input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=25 maxlength=60 {$facsimileTelephoneNumberACL} value="{$facsimileTelephoneNumber}" title="{t}Base facsimile telephone number of this subtree{/t}"></td>
       </tr>
      </table>