Code

added label tags
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 10:43:29 +0000 (10:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jul 2005 10:43:29 +0000 (10:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@983 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/application.tpl
plugins/admin/groups/group_objects.tpl
plugins/admin/groups/headpage.tpl

index 7f022de578fd5f0370364297130da49089e4e1da..98f09af89dc49e345aea0671a228392f421498aa 100644 (file)
@@ -1,9 +1,9 @@
 <table summary="" style="width:100%;">
  <tr>
   <td style="width:45%; vertical-align:top;">
-   <b>{t}Used applications{/t}</b>
+   <b><LABEL for="used_apps">{t}Used applications{/t}</LABEL></b>
    <br>
-   <select style="width:350px; height:275;" name="used_apps[]" size=15 multiple>
+   <select id="used_apps" style="width:350px; height:275;" name="used_apps[]" size=15 multiple>
     {html_options options=$used_apps}
        <option disabled>&nbsp;</option>
    </select>
@@ -18,9 +18,9 @@
     <input type=submit name="del_app" value="&rarr;" style="width:50px;">
   </td>
   <td style="width:45%; vertical-align:top;">
-  <b>{t}Available applications{/t}</b>
+  <b><LABEL for="apps">{t}Available applications{/t}</LABEL></b>
   <br>
-  <select style="width:350px; height:275px;" name="apps[]" size=15 multiple>
+  <select style="width:350px; height:275px;" id="apps" name="apps[]" size=15 multiple>
     {html_options options=$apps}
        <option disabled>&nbsp;</option>
   </select>
index 6a07562270d56f0eca69dfed4d8d6cc6696e5ec7..661d6a57abbeefe601bbbeb6e1f192039e99763c 100644 (file)
@@ -3,12 +3,12 @@
   <td style="vertical-align:top;" width="500">
    <div class="contentboxh" style="height:20px;">
     <p class="contentboxh" style="font-size:12px">
-     <b>{t}Select users to add{/t} {$hint}</b>
+     <b><LABEL for="users">{t}Select users to add{/t}</LABEL> {$hint}</b>
     </p>
    </div>
    <div class="contentboxb">
     <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-     <select style="width:500px; height:450px; margin-top:4px;" name="users[]" size="15" multiple>
+     <select id="users" style="width:500px; height:450px; margin-top:4px;" name="users[]" size="15" multiple>
       {html_options options=$users}
      </select>
      <input type=hidden name="edit_helper">
      <table summary="" style="width:100%;border-top:1px solid #B0B0B0;background-color:#F8F8F8">
       {$alphabet}
      </table>
-    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="50%"><img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display users of department{/t}</td>
-    <td><select name="dselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
-      {html_options options=$deplist selected=$dselect}
-    </select></td></tr></table>
+    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
+               <tr>
+                       <td width="50%">
+                               <img alt="" src="{$tree_image}" align=middle>
+                               &nbsp;<LABEL for="dselect">{t}Display users of department{/t}</LABEL>
+                       </td>
+               <td>
+                               <select name="dselect" id="dselect" size=1 onChange="mainform.submit()" 
+                                       title="{t}Choose the department the search will be based on{/t}">
+                               {html_options options=$deplist selected=$dselect}
+                       </select>
+                       </td>
+               </tr>
+       </table>
     <table summary="" width="100%" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8"><tr><td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display users matching{/t}</td>
     <td><input type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
    {$apply}
index 1d3fedc75f2cef5c513feefce3cc9448b12034c3..b828354991558cab4eed8a4a7a41ccbe9267ad2d 100644 (file)
@@ -3,12 +3,12 @@
   <td style="vertical-align:top;">
   <div class="contentboxh">
     <p class="contentboxh">
-     {t}List of groups{/t} {$hint}
+     <LABEL for="grouplist">{t}List of groups{/t}</LABEL> {$hint}
     </p>
   </div>
   <div class="contentboxb">
     <p class="contentboxb">
-     <select style="width:500px; height:450px;" name="grouplist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
+     <select id="grouplist" style="width:500px; height:450px;" name="grouplist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
       {html_options options=$grouplist}
                <option disabled>&nbsp;</option>
     </select>
        <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">     
                <tr>
                        <td>
-       <input type=checkbox name="primarygroups" value="1" {$primarygroups} onClick="mainform.submit()" title="{t}Select to see groups that are primary groups of users{/t}">{t}Show primary groups{/t}<br>
-    <input type=checkbox name="sambagroups" value="1" {$sambagroups} onClick="mainform.submit()" title="{t}Select to see groups that have samba groups mappings{/t}">{t}Show samba groups{/t}<br>
-    <input type=checkbox name="appgroups" value="1" {$appgroups} onClick="mainform.submit()" title="{t}Select to see groups that have applications configured{/t}">{t}Show application groups{/t}<br>
-    <input type=checkbox name="mailgroups" value="1" {$mailgroups} onClick="mainform.submit()" title="{t}Select to see groups that have mail settings{/t}">{t}Show mail groups{/t}<br>
-    <input type=checkbox name="functionalgroups" value="1" {$functionalgroups} onClick="mainform.submit()" title='{t}Select to see normal groups that have only functional aspects{/t}'>{t}Show functional groups{/t}<br>
+       <input type=checkbox id="primarygroups" name="primarygroups" value="1" {$primarygroups} onClick="mainform.submit()" 
+                       title="{t}Select to see groups that are primary groups of users{/t}">
+               <LABEL for="primarygroups">{t}Show primary groups{/t}</LABEL>
+               <br>
+    <input type=checkbox id="sambagroups" name="sambagroups" value="1" {$sambagroups} onClick="mainform.submit()" 
+               title="{t}Select to see groups that have samba groups mappings{/t}">
+               <LABEL for="sambagroups">{t}Show samba groups{/t}</LABEL>
+               <br>
+    <input type=checkbox id="appgroups" name="appgroups" value="1" {$appgroups} onClick="mainform.submit()" 
+               title="{t}Select to see groups that have applications configured{/t}">
+               <LABEL for="appgroups">{t}Show application groups{/t}</LABEL>
+               <br>
+    <input type=checkbox id="mailgroups" name="mailgroups" value="1" {$mailgroups} onClick="mainform.submit()" 
+               title="{t}Select to see groups that have mail settings{/t}">
+               <LABEL for="mailgroups">{t}Show mail groups{/t}</LABEL>
+               <br>
+    <input type=checkbox id="functionalgroups" name="functionalgroups" value="1" {$functionalgroups} onClick="mainform.submit()" 
+               title='{t}Select to see normal groups that have only functional aspects{/t}'>
+               <LABEL for="functionalgroups">{t}Show functional groups{/t}</LABEL>
+               <br>
             </td>
         </tr>
     </table>
                </tr>
        </table>
        
-    <table summary="" style="width:100%;border-top:1px solid #B0B0B0;"><tr><td width="50%"><img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display groups of department{/t}</td>
-    <td><select name="depselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
-      {html_options options=$deplist selected=$depselect}
-    </select></td></tr></table>
-    <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;"><tr><td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display groups matching{/t}</td>
-    <td><input type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching group names{/t}' onChange="mainform.submit()"></td></tr></table>
-    <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;"><tr><td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display groups of user{/t}</td>
-    <td><input type='text' name='guser' maxlength='20' value='{$guser}' title='{t}User name of which groups are shown{/t}' onChange="mainform.submit()"></td></tr></table>
+    <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+               <tr>
+                       <td width="50%">
+                               <img alt="" src="{$tree_image}" align=middle>&nbsp;
+                               <LABEL for="depselect">{t}Display groups of department{/t}</LABEL>
+                       </td>
+               <td>
+                               <select id="depselect" name="depselect" size=1 onChange="mainform.submit()" 
+                                               title="{t}Choose the department the search will be based on{/t}">
+                               {html_options options=$deplist selected=$depselect}
+                       </select>
+                       </td>
+               </tr>
+       </table>
+    <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
+               <tr>
+                       <td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;
+                               <LABEL for="regex">{t}Display groups matching{/t}</LABEL>
+                       </td>
+               <td>
+                               <input type='text' id="regex" name='regex' maxlength='20' value='{$regex}' 
+                                       title='{t}Regular expression for matching group names{/t}' onChange="mainform.submit()">
+                       </td>
+               </tr>
+       </table>
+    <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+               <tr>
+                       <td width="50%"><img alt="" src="{$search_image}" align=middle>&nbsp;
+                               <LABEL for="guser">{t}Display groups of user{/t}</LABEL>
+                       </td>
+               <td>
+                               <input id="guser" type='text' name='guser' maxlength='20' value='{$guser}' 
+                                       title='{t}User name of which groups are shown{/t}' onChange="mainform.submit()">
+                       </td>
+               </tr>
+       </table>
    {$apply}
    </div>
   </td>