Code

Added Label Tags
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jul 2005 14:27:28 +0000 (14:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Jul 2005 14:27:28 +0000 (14:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@966 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/phonesettings.tpl

index 30a07a67714b8c17f600c1986b82c9e9424e2b17..45cec1b5dc9d8ff3ea24f5305cbf8b15a8475bfe 100644 (file)
@@ -6,8 +6,8 @@
                        <table summary="" width="100%">
                        <tr>
                                <td>
-                                       {t}Phone type{/t}{$staticAddress}
-                                       <select size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" onchange="mainform.submit();">
+                                       <LABEL for="selected_categorie">{t}Phone type{/t}</LABEL>{$staticAddress}
+                                       <select id="selected_categorie" size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" onchange="mainform.submit();">
                                                {html_options options=$categories selected=$selected_categorie}
                                        </select>
                                        <input type="submit" value="{t}refresh{/t}" name="refresh">
                        <table summary="">
                         <tr>
                                <td>
-                                       {t}Mode{/t}{$staticAddress}
-                               </td>
+                                       <LABEL for="goFonType">{t}Mode{/t}</LABEL>{$staticAddress}
+
                                <td>
-                                       <select size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
+                                       <select id="goFonType" size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
                                                {html_options options=$goFonTypes selected=$goFonType}
                                        </select>
                                </td>
                         </tr>
                         <tr>
                                <td >
-                                       {t}DTMF mode{/t}
+                                       <LABEL for="goFonDmtfMode">{t}DTMF mode{/t}</LABEL>
                                </td>
                                <td>
-                                       <select size="1" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
+                                       <select size="1" id="goFonDmtfMode" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
                                                {html_options options=$goFonDmtfModes selected=$goFonDmtfMode}
                                        </select>
                                </td>
                <table summary="">
                        <tr>
                                <td >
-                                       {t}Default IP{/t}
+                                       <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
                                </td>
                 <td>
-                    <select size="1" name="goFonDefaultIP" title="{t}Choose a phone type{/t}" style="width:200px;" >
+                    <select id="goFonDefaultIP" size="1" name="goFonDefaultIP" title="{t}Choose a phone type{/t}" style="width:200px;" >
                         {html_options options=$goFonDefaultIPs selected=$goFonDefaultIP}
                     </select>
                    </td>
                        </tr>
                        <tr>
                                <td >
-                                       {t}Response timeout{/t}
+                                       <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
                                </td>
                                <td>
-                                       <input style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
+                                       <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
                                </td>
                        </tr>
                        </table>
                        <table summary="" width="100%">
                         <tr>
                                <td>
-                                       {t}Modus{/t}{$staticAddress}
+                                       <LABEL for="goFonType">{t}Modus{/t}{$staticAddress}</LABEL>
                                </td>
                                <td >
-                                       <select size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
+                                       <select size="1" id="goFonType" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
                                                {html_options options=$goFonTypes selected=$goFonType}
                                        </select>
                                </td>
                         </tr>
                        <tr>
                                <td >
-                                       {t}Default IP{/t}
+                                       <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
                                </td>
                                <td>
-                                       <input style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
+                                       <input id="goFonDefaultIP" style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
                                </td>
                        </tr>
                        <tr>
                                <td >
-                                       {t}Response timeout{/t}
+                                       <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
                                </td>
                                <td>
-                                       <input style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
+                                       <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
                                </td>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                                <td>
-                                       {t}Authtype{/t}
+                                       <LABEL for="goFonAuth">{t}Authtype{/t}</LABEL>
                                </td>
                                <td>
-                                       <select size="1" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
+                                       <select size="1" id="goFonAuth" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
                                                {html_options options=$goFonAuths selected=$goFonAuth}
                                        </select>
                                </td>
                        </tr>
                        <tr>
                                <td>    
-                                        {t}Secret{/t}  
+                                        <LABEL for="goFonSecret">{t}Secret{/t}</LABEL>
                                </td>
                                <td>
-                                       <input style="width:200px" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
+                                       <input id="goFonSecret" style="width:200px" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
                                </td>
                        </tr>
 <!--                   <tr>
             </tr>
             <tr>
                 <td>
-                    {t}Account code{/t}
+                    <LABEL for="goFonAccountCode">{t}Account code{/t}</LABEL>
                 </td>
                 <td>
-                    <input style="width:200px" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
+                    <input id="goFonAccountCode" style="width:200px" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
                 </td>
             </tr>
             <tr>
                 <td>
-                    {t}Trunk lines{/t}
+                    <LABEL for="goFonTrunk">{t}Trunk lines{/t}</LABEL>
                 </td>
                 <td>
-                     <select size="1" name="goFonTrunk" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTrunkUSED}>
+                     <select size="1" id="goFonTrunk" name="goFonTrunk" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTrunkUSED}>
                         {html_options options=$goFonTrunks selected=$goFonTrunk}
                      </select>
                  </td>
                         <table summary="" width="100%">
                <tr>
                     <td style="vertical-align:top;">
-                        {t}Hosts that are allowed to connect{/t}<br>
-                        <select style="width:300px; height:80px;" name="goFonPermitS" size=15
+                        <LABEL for="goFonPermitS">{t}Hosts that are allowed to connect{/t}</LABEL><br>
+                        <select id="goFonPermitS" style="width:300px; height:80px;" name="goFonPermitS" size=15
                             multiple title="{t}List of alternative mail addresses{/t}">
                             {html_options values=$goFonPermit output=$goFonPermit}
                             <option disabled>&nbsp;</option>
                         </select>
                         <br>
                             <input name="goFonPermitNew" size=30 align="middle" maxlength="65" value="">
-                        <input type=submit value="{t}Add{/t}" name="goFonPermitAdd"
-                        <input type=submit value="{t}Delete{/t}" name="goFonPermitDel"
+                        <input type=submit value="{t}Add{/t}" name="goFonPermitAdd">
+                        <input type=submit value="{t}Delete{/t}" name="goFonPermitDel">
                                                <br><br>
                     </td>
                 </tr>
                                <tr>
                     <td style="vertical-align:top;">
-                        {t}Hosts that are not allowed to connect{/t}<br>
-                        <select style="width:300px; height:80px;" name="goFonDenyS" size=15
+                       <LABEL for="goFonDenyS">{t}Hosts that are not allowed to connect{/t}</LABEL><br>
+                        <select id="goFonDenyS" style="width:300px; height:80px;" name="goFonDenyS" size=15
                             multiple title="{t}List of alternative mail addresses{/t}">
                             {html_options values=$goFonDeny output=$goFonDeny}
                             <option disabled>&nbsp;</option>
                         </select>
                         <br>
                             <input name="goFonDenyNew" size=30 align="middle" maxlength="65" value="">
-                        <input type=submit value="{t}Add{/t}" name="goFonDenyAdd"
-                        <input type=submit value="{t}Delete{/t}" name="goFonDenyDel"
+                        <input type=submit value="{t}Add{/t}" name="goFonDenyAdd">
+                        <input type=submit value="{t}Delete{/t}" name="goFonDenyDel">
                     </td>
                 </table>
-               </td>
-    </td>
     </tr>
 </table>
 {/if}
                        <table summary="" width="100%">
                                <tr>
                                        <td>
-                                               {t}MSN{/t}&nbsp;
-                                               <input style="width:200px" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
+                                               <LABEL for="goFonMSN">{t}MSN{/t}</LABEL>&nbsp;
+                                               <input id="goFonMSN" style="width:200px" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
                                        </td>
                                </tr>
                        </table>