summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01a5320)
raw | patch | inline | side by side (parent: 01a5320)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Jun 2005 09:29:03 +0000 (09:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Jun 2005 09:29:03 +0000 (09:29 +0000) |
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history | |
plugins/gofon/phoneaccount/generic.tpl | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 0574074ad03e3a48d54bb7023700c111d45b216a..f3b8a76b8370d00e624d1203d3903f2ab1de42f3 100644 (file)
$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){
$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{
- $str.= "\n<option name='".$var."' value='".$choice."'>".$choice."</option>";
+ $str.= "\n<option value='".$choice."'>".$choice."</option>";
}
}
$str.="</select>";
index a094c78fc978bf347ce505ee1a070982712c90e7..1b4087346e507c394945418cfefb2d46042c9447 100644 (file)
-<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>
</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>
- <table style="width:100%" border=0>
+ <table summary="{t}Telephone{/t}" style="width:100%" border=0>
<tr>
<td>{t}Telephone{/t}
{$hardware_list}
</tr>
</table>
- <table>
+ <table summary="">
<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> </td>
</tr>
</table>
<p class="seperator"> </p>
<br>
-<table>
+<table summary="{t}Phone macro{/t}">
<tr>
- <td colspan=2><img src="images/select_macro.png" align="center"> {t}Phone macro{/t}
+ <td colspan=2><img alt="" src="images/select_macro.png" align="middle"> {t}Phone macro{/t}
<select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
{html_options options=$macros selected=$macro}
</select>