Code

summary Tags added
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 09:29:03 +0000 (09:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Jun 2005 09:29:03 +0000 (09:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@835 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/phoneaccount/class_phoneAccount.inc
plugins/gofon/phoneaccount/generic.tpl

index 0574074ad03e3a48d54bb7023700c111d45b216a..f3b8a76b8370d00e624d1203d3903f2ab1de42f3 100644 (file)
@@ -221,7 +221,7 @@ class phoneAccount extends plugin
       $macrotab="";
     }else{
 
       $macrotab="";
     }else{
 
-      $macrotab ="<table>";
+      $macrotab ="<table summary=\""._("Parameter")."\">";
       /* for every single parameter-> display textfile,combo, or true false switch*/
       foreach($this->macroarray[$this->macro] as $paras){
 
       /* for every single parameter-> display textfile,combo, or true false switch*/
       foreach($this->macroarray[$this->macro] as $paras){
 
@@ -241,9 +241,9 @@ class phoneAccount extends plugin
             $str= "<select name='".$var."' ".chkacl($this->acl, "goFonMacro").">";
             foreach(split(":",$default) as $choice){
               if($choosen==$choice){
             $str= "<select name='".$var."' ".chkacl($this->acl, "goFonMacro").">";
             foreach(split(":",$default) as $choice){
               if($choosen==$choice){
-                $str.= "\n<option name='".$var."' value='".$choice."' selected>".$choice."</option>";
+                $str.= "\n<option value='".$choice."' selected>".$choice."</option>";
               }else{
               }else{
-                $str.= "\n<option name='".$var."' value='".$choice."'>".$choice."</option>";
+                $str.= "\n<option value='".$choice."'>".$choice."</option>";
               }
             }
             $str.="</select>";
               }
             }
             $str.="</select>";
index a094c78fc978bf347ce505ee1a070982712c90e7..1b4087346e507c394945418cfefb2d46042c9447 100644 (file)
@@ -1,4 +1,4 @@
-<table style="width:100%">
+<table summary="{t}Phone numbers{/t}" style="width:100%">
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
    <h2><img alt="" align="middle" src="images/banana.png"> {t}Phone numbers{/t}</h2>
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
    <h2><img alt="" align="middle" src="images/banana.png"> {t}Phone numbers{/t}</h2>
   </td>
 
   <td style="vertical-align:top; width:50%;">
   </td>
 
   <td style="vertical-align:top; width:50%;">
-<table style="width:100%" border=0>
+<table summary="" style="width:100%" border=0>
  <tr>
 
   <td>
    <h2><img alt="" align="middle" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
 
  <tr>
 
   <td>
    <h2><img alt="" align="middle" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
 
-   <table style="width:100%" border=0>
+   <table summary="{t}Telephone{/t}" style="width:100%" border=0>
     <tr>
      <td>{t}Telephone{/t}&nbsp;
       {$hardware_list}
     <tr>
      <td>{t}Telephone{/t}&nbsp;
       {$hardware_list}
  </tr>
 </table>
 
  </tr>
 </table>
 
-   <table>
+   <table summary="">
        <tr>
     <td>
      <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
 
        <tr>
     <td>
      <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
 
-     <table>
+     <table summary="{t}Phone number{/t}">
       <tr> 
        <td>{t}Phone number{/t}</td><td>{t}Timeout (s){/t}</td><td>&nbsp;</td>
       </tr>
       <tr> 
        <td>{t}Phone number{/t}</td><td>{t}Timeout (s){/t}</td><td>&nbsp;</td>
       </tr>
@@ -50,9 +50,9 @@
 </table>
 <p class="seperator">&nbsp;</p>
 <br>
 </table>
 <p class="seperator">&nbsp;</p>
 <br>
-<table>
+<table summary="{t}Phone macro{/t}">
        <tr>
        <tr>
-               <td colspan=2><img src="images/select_macro.png" align="center">&nbsp;{t}Phone macro{/t}
+               <td colspan=2><img alt="" src="images/select_macro.png" align="middle">&nbsp;{t}Phone macro{/t}
                         <select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
                           {html_options options=$macros selected=$macro}
                         </select>
                         <select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
                           {html_options options=$macros selected=$macro}
                         </select>