Code

Added Label tags
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Aug 2005 06:16:08 +0000 (06:16 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 29 Aug 2005 06:16:08 +0000 (06:16 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1236 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/environment.tpl
plugins/personal/environment/hotplugDialog.tpl
plugins/personal/environment/hotplugDialogNew.tpl
plugins/personal/environment/kioskManagement.tpl
plugins/personal/environment/logonManagement.tpl
plugins/personal/environment/selectPrinterDialog.tpl

index 8888078036e946835f5796e02dcc4b2f2118e064..58aa630515193278025803f51eb6b80b1b4d3a83 100644 (file)
                        <table summary="">
                                <tr>
                                        <td>
-                                               <input type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} 
+                                               <input type="checkbox" value="1" {$useProfileCHK} name="useProfile" {$useProfileACL} id="useProfile"
                                                                        onclick="changeState('gotoProfileServer');changeState('gotoProfileFlag_C');">
                                        </td>
                                        <td valign="top">
-                                               {t}Use profile managment{/t}
+                                               <LABEL for="useProfile">{t}Use profile managment{/t}</LABEL>
                                        </td>
                                </tr>
                                <tr>
                                                <table summary="">
                                                        <tr>
                                                                <td>    
-                                                                       {t}Profil server{/t}
+                                                                       <LABEL for="gotoProfileServer">{t}Profil server{/t}</LABEL>
                                                                </td>
                                                                <td>
-                                                                       <select style="width:350px;" name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
+                                                                       <select style="width:350px;" id="gotoProfileServer" 
+                                                                                       name="gotoProfileServer" {$gotoProfileServerACL} id="gotoProfileServer">
                                                                                {html_options values=$gotoProfileServerKeys output=$gotoProfileServers selected=$gotoProfileServer}
                                                                                <option disabled>&nbsp;</option>
                                                                        </select>
                                                        </tr>
                                                        <tr>
                                                                <td>    
-                                                                       {t}Use local caching{/t}
+                                                                       <LABEL for="gotoProfileFlag_C">{t}Use local caching{/t}</LABEL>
                                                                </td>
                                                                <td>
-                                                                       <input type="checkbox" name="gotoProfileFlag_C" value="C" id="gotoProfileFlag_C" {$gotoProfileFlag_CACL} {$gotoProfileFlag_CCHK}>
+                                                                       <input type="checkbox" name="gotoProfileFlag_C" value="C" 
+                                                                               id="gotoProfileFlag_C" {$gotoProfileFlag_CACL} {$gotoProfileFlag_CCHK}>
                                                                </td>
                                                        </tr>
                                                </table>
                                </table>
                                <table>
                                <tr>
-                                       <td>{t}Quota{/t} 
+                                       <td>
+                                               <LABEL for="gotoProfileQuota">{t}Quota{/t}</LABEL> 
                                        </td>
                                        <td>
-                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" {$gotoProfileQuotaACL}>
+                                               <input type="text" name="gotoProfileQuota" value="{$gotoProfileQuota}" {$gotoProfileQuotaACL} id="gotoProfileQuota">
                                        </td>
                                </tr>
                                <tr>
                                        <td>
-                                               {t}Resolution{/t}
+                                               <LABEL for="gotoXResolution">{t}Resolution{/t}</LABEL>
                                        </td>
                                        <td>
-                                               <select name="gotoXResolution" {$gotoXResolutionACL}>
+                                               <select name="gotoXResolution" {$gotoXResolutionACL} id="gotoXResolution">
                                {html_options values=$gotoXResolutions output=$gotoXResolutions selected=$gotoXResolution}
                             <option disabled>&nbsp;</option>
                        </select>
                                </tr>
                                <tr>
                                        <td>
-                                               <input type="checkbox" name="gotoProfileFlag_L" value="L" {$gotoProfileFlagsACL} {$gotoProfileFlag_LCHK}>
+                                               <input type="checkbox" name="gotoProfileFlag_L" id="gotoProfileFlag_L" value="L" {$gotoProfileFlagsACL} {$gotoProfileFlag_LCHK}>
                                        </td>
                                        <td>
-                                               {t}Resolution changeable on runtime {/t}
+                                               <LABEL for="gotoProfileFlag_L">{t}Resolution changeable on runtime {/t}</LABEL>
                                        </td>
                                </tr>
                        </table>
                        <table summary="">
                                <tr>
                                        <td>
-                                               {t}Kiosk profile{/t}    
+                                               <LABEL for="gotoKioskProfile">{t}Kiosk profile{/t}</LABEL>
                                        </td>
                                        <td>
-                                               <select name="gotoKioskProfile" {$gotoKioskProfileACL}>
+                                               <select name="gotoKioskProfile" {$gotoKioskProfileACL} id="gotoKioskProfile">
                         {html_options values=$gotoKioskProfiles output=$gotoKioskProfiles selected=$gotoKioskProfile}
                         <option disabled>&nbsp;</option>
                                        </td>
                                </tr>
                        </table>        
                        <p class="seperator">&nbsp;</p>
-                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Logon scripts{/t}</h2>
+                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;<LABEL for="gotoLogonScript">{t}Logon scripts{/t}</LABEL></h2>
                        <table summary="">
                                <tr>
                                        <td>
-                                       <select style="width:350px;" name="gotoLogonScript" multiple size=4 {$gotoLogonScriptACL}>
+                                       <select style="width:350px;" name="gotoLogonScript" multiple size=4 {$gotoLogonScriptACL} id="gotoLogonScript">
                         {html_options values=$gotoLogonScriptKeys output=$gotoLogonScripts }
                         <option disabled>&nbsp;</option>
                                                </select>
                        </table>        
                </td>
                <td style="border-left: 1px solid rgb(160, 160, 160);"  valign="top">
-                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Attach share{/t}</h2>
+                       <h2><img alt="" src="images/banana.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Attach share{/t}</LABEL></h2>
                        <table summary="">
                                <tr>
                                        <td>
-                                       <select style="width:350px;" name="gotoShare" multiple size=4 {$gotoShareACL}>
+                                       <select style="width:350px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
                         {html_options values=$gotoShareKeys output=$gotoShares}
                         <option disabled>&nbsp;</option>
                                                </select>
-                       
                                                <br>
-                                                       
                                        <select name="gotoShareSelection" {$gotoShareACL}>
                         {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
                         <option disabled>&nbsp;</option>
                                </tr>
                        </table>
                        <p class="seperator">&nbsp;</p>
-            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Hotplug devices{/t}</h2>   
+            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;<LABEL for="gotoHotplugDevice">{t}Hotplug devices{/t}</LABEL></h2>    
                        <table summary="">
                                <tr>
                                        <td>
-                                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=4  style="width:350px;">
+                                               <select name="gotoHotplugDevice" {$gotoHotplugDeviceACL} size=4  style="width:350px;" id="gotoHotplugDevice">
                         {html_options values=$gotoHotplugDeviceKeys output=$gotoHotplugDevices}
                         <option disabled>&nbsp;</option>
                                        </td>
                                </tr>
                        </table>
                        <p class="seperator">&nbsp;</p>
-            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;{t}Printer{/t}</h2>
+            <h2><img alt="" src="images/banana.png" align="middle">&nbsp;<LABEL for="gotoPrinter">{t}Printer{/t}</LABEL></h2>
             <table summary="">
                 <tr>
                     <td>
-                        <select style="width:350px;" name="gotoPrinter" multiple size=4 {$gotoPrinterACL}>
+                        <select style="width:350px;" name="gotoPrinter" multiple size=4 {$gotoPrinterACL} id="gotoPrinter">
                         {html_options values=$gotoPrinterKeys output=$gotoPrinters}
                         <option disabled>&nbsp;</option>
                         </select>
-
                         <br>
                         <input type="submit" {$gotoPrinterACL} name="gotoPrinterAdd"     value="{t}Add{/t}">
                         <input type="submit" {$gotoPrinterACL} name="gotoPrinterDel"     value="{t}Delete{/t}">
-                        <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"   value="{t}Admin Toggle{/t}">
+                        <input type="submit" {$gotoPrinterACL} name="gotoPrinterEdit"    value="{t}Admin Toggle{/t}">
                     </td>
                 </tr>
             </table>
index 4b7af7164ea2a47b9e94556e0e24acf83bb4ccd0..bde07dfb084fc364c19673955b4ae5d2289832fd 100644 (file)
@@ -7,12 +7,12 @@
             <td width="50%" style="vertical-align:top;">
                                <div class="contentboxh" style="height:20px;">
                                <p class="contentboxh" style="font-size:12px">
-                                       <b>Select hotplug to add </b>
+                                       <b><LABEL for="hotplugName">Select hotplug to add</LABEL></b>
                                </p>
                                </div>
                                <div class="contentboxb">
                                <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-                                               <select style="width:550px;" size=20 name="hotplugName">
+                                               <select style="width:550px;" size=20 name="hotplugName" id="hotplugName">
                                                {html_options values=$hotplugDeviceKeys output=$hotplugDevices}
                                                <option disabled>&nbsp;</option>
                                                </select><br>
index 8b1cd6bbed846d3a63e940c9e7b895bf5bbb2d69..45ce56a5d24b79d860f3c05c0ce9061ae055e5df 100644 (file)
@@ -4,24 +4,24 @@
        
        <table>
                <tr>
-                       <td>{t}Name{/t}
+                       <td><LABEL for="HOT_name">{t}Name{/t}</LABEL>
                        </td>
                        <td>    
-                               <input type="text" value="{$HOT_name}" name="HOT_name">
+                               <input type="text" value="{$HOT_name}" name="HOT_name" id="HOT_name">
                        </td>
                </tr>
                <tr>
-                       <td>{t}Description{/t}
+                       <td><LABEL for="HOT_description">{t}Description{/t}</LABEL>
                        </td>
                        <td>
-                               <input type="text" value="{$HOT_description}" name="HOT_description">
+                               <input type="text" value="{$HOT_description}" name="HOT_description" id="HOT_description">
                        </td>
                </tr>
                <tr>
-                       <td>{t}ID{/t}
+                       <td><LABEL for="HOT_id">{t}ID{/t}</LABEL>
                        </td>
                        <td>
-                               <input type="text" value="{$HOT_id}" name="HOT_id">
+                               <input type="text" value="{$HOT_id}" name="HOT_id" id="HOT_id">
                        </td>
                </tr>
        </table>
index b0f02352f0fa72f490894f58403f75376086c9a4..e698d1d3722b4fbc3a0f98b1f4d2286ef4dd7d80 100644 (file)
@@ -1,11 +1,11 @@
-<h2><img alt="" src="images/house.png" align="middle">&nbsp;{t}Kiosk profile management{/t}</h2>
+<h2><img alt="" src="images/house.png" align="middle">&nbsp;<LABEL for="gotoKioskProfile">{t}Kiosk profile management{/t}</LABEL></h2>
 
     <input type="hidden" name="dialogissubmitted" value="1">
 
        <table summary="">
                <tr>
                        <td>
-               <select style="width:350px;" size=8 name="gotoKioskProfile" {$gotoKioskProfileACL}>
+               <select style="width:350px;" size=8 name="gotoKioskProfile" {$gotoKioskProfileACL} id="gotoKioskProfile">
                 {html_options values=$gotoKioskProfileKeys output=$gotoKioskProfiles}
                 <option disabled>&nbsp;</option>
                 </select><br>
index 209ef5c7eb4874e8427ff609fe8632aeb99c817a..4a1e6870f33345d67d7b0ce9290dff4ac90910d8 100644 (file)
@@ -7,24 +7,24 @@
                        <td width="50%">
                                        <table>
                                                <tr>
-                                                       <td>{t}Name{/t}
+                                                       <td><LABEL for="LogonName">{t}Name{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                                               <input type="text" value="{$LogonName}" name="LogonName" {$LogonNameACL}>
+                                                               <input type="text" value="{$LogonName}" name="LogonName" {$LogonNameACL} id="LogonName">
                                                        </td>
                                                </tr>
                                                <tr>
-                                                       <td>{t}Description{/t}
+                                                       <td><LABEL for="LogonDescription">{t}Description{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                                               <input type="text" value="{$LogonDescription}" name="LogonDescription">
+                                                               <input type="text" value="{$LogonDescription}" name="LogonDescription" id="LogonDescription"> 
                                                        </td>
                                                </tr>
                                                <tr>
-                                                       <td>{t}Priority{/t}
+                                                       <td><LABEL for="LogonPriority">{t}Priority{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                               <select name="LogonPriority">
+                                               <select name="LogonPriority" id="LogonPriority">
                                                        {html_options values=$LogonPriorityKeys output=$LogonPrioritys}
                                                </select>
                                                        </td>
                                        <table>
                                                <tr>
                                                        <td>
-                                                               <input type="checkbox" value="L" name="LogonLast" {$LogonLastCHK}>
+                                                               <input type="checkbox" value="L" name="LogonLast" {$LogonLastCHK} id="LogonLast">
                                                        </td>
-                                                       <td>{t}Last proceeded script{/t}
+                                                       <td><LABEL for="LogonLast">{t}Last proceeded script{/t}</LABEL>
                                                        </td>
                                                </tr>
                                                <tr>
                                                        <td>
-                                                               <input type="checkbox" value="O" name="LogonOverload" {$LogonOverloadCHK}>
+                                                               <input type="checkbox" value="O" name="LogonOverload" {$LogonOverloadCHK} id="LogonOverload">
                                                        </td>
-                                                       <td>{t}Overloadable{/t}
+                                                       <td>
+                                                               <LABEL for="LogonOverload">{t}Overloadable{/t}</LABEL>
                                                        </td>
                                                </tr>
                                                <tr>
                                                        <td>
-                                                               {t}Import{/t}
+                                                               <LABEL for="importFile">{t}Import{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                                               <input type="file" name="importFile" >
+                                                               <input type="file" name="importFile" id="importFile">
                                                                <input type="submit" value="{t}Import{/t}" name="StartImport" >
                                                        </td>
                                                </tr>
index 52b5402ee2784a0bc2fafa9c844b447db5ce5804..5d41b9da74c79b959ad2451049e2cfc743d79a5f 100644 (file)
@@ -7,12 +7,12 @@
             <td width="50%">
                                <div class="contentboxh" style="height:20px;">
                                <p class="contentboxh" style="font-size:12px">
-                                       <b>Select printer to add </b>
+                                       <b><LABEL for="gotoPrinter">{t}Select printer to add{/t}</LABEL></b>
                                </p>
                                </div>
                                <div class="contentboxb">
                                <p class="contentboxb" style="border-top:1px solid #B0B0B0;background-color:#F8F8F8">
-                               <select style="width:550px;" size=20 name="gotoPrinter">
+                               <select style="width:550px;" size=20 name="gotoPrinter" id="gotoPrinter">
                                {html_options values=$gotoPrinterKeys output=$gotoPrinters}
                                <option disabled>&nbsp;</option>
                                         </select><br>