index b6f74be04326473c2b5c676e396a96b43144bff9..e61865f2d270aca0d9208f84010e679722288a32 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%">
<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>
- <select style="width:380px; height:120px;" name="phonenumber_list[]" size=6 multiple {$telephoneNumberACL}>
+ <h2><img class="center" alt="" align="middle" src="images/banana.png" /> {t}Phone numbers{/t}</h2>
+ <select style="width:100%;" name="phonenumber_list[]" size=7 multiple {$telephoneNumberACL}>
{html_options options=$phoneNumbers}
{html_options options=$phoneNumbers}
+ <option disabled>
+
+ </option>
</select>
<br>
<input name="phonenumber" size=20 align=middle maxlength=60 {$telephoneNumberACL} value="">
</select>
<br>
<input name="phonenumber" size=20 align=middle maxlength=60 {$telephoneNumberACL} value="">
</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>
<tr>
- <td>
- <h2><img alt="" align="middle" src="images/hardware.png"> {t}Telephone hardware{/t}</h2>
+ <td style="vertical-align:top;">
+ <h2><img class="center" alt="" align="middle" src="images/hardware.png" /> {t}Telephone hardware{/t}</h2>
- <table style="width:100%" border=0>
+ <table summary="{t}Telephone{/t}" border=0>
<tr>
<tr>
- <td>{t}Telephone{/t}
- {$hardware_list}
- </td>
+ <td>{t}Telephone{/t}</td>
+ <td>{$hardware_list}</td>
</tr>
</tr>
+ <tr>
+ <td>
+ <label for="goFonVoicemailPIN">{t}Voicemail PIN{/t}{$must}</label>
+ </td>
+ <td>
+ <input type="password" id="goFonVoicemailPIN" name="goFonVoicemailPIN" value="{$goFonVoicemailPIN}" {$goFonVoicemailPINACL}>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="goFonPIN">{t}Phone PIN{/t}{$must}</label>
+ </td>
+ <td>
+ <input type="password" id="goFonPIN" name="goFonPIN" value="{$goFonPIN}" {$goFonPINACL}>
+ </td>
+ </tr>
</table>
</td>
</tr>
</table>
</table>
</td>
</tr>
</table>
-
- <table>
- <tr>
- <td>
- <h2><img alt="" align="middle" src="images/rightarrow.png"> {t}Forward calls to{/t}</h2>
-
- <table>
- <tr>
- <td>{t}Phone number{/t}</td><td>{t}Timeout (s){/t}</td><td> </td>
- </tr>
- {$forwarder_list}
- </table>
- </td>
- </table>
</td>
</tr>
</td>
</tr>
+ <tr>
+ <td style="vertical-align:top; border-top:1px solid #A0A0A0; width:50%" colspan="2"> </td>
+ </tr>
+ <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
+ <td colspan=2 style="vertical-align:top;width:50%">
+ <h2><img class="center" alt="" src="images/select_macro.png" align="middle" /> {t}Phone macro{/t}</h2>
+ <table summary="{t}Phone macro{/t}">
+ <tr>
+ <td colspan=2>
+ <select name="macro" onchange="document.mainform.submit()" {$goFonMacroACL}>
+ {html_options options=$macros selected=$macro}
+ <option disabled> </option>
+ </select>
+ <input type="submit" name="refresh" value="{t}Refresh{/t}" {$goFonMacroACL}>
+ </td>
+ </tr>
+ </table>
+ <br>
+ {$macrotab}
+ </td>
+ </tr>
</table>
</table>
-<p class="seperator"> </p>
-<br>
-<table>
- <tr>
- <td colspan=2>{t}Select macro{/t}
- <img src="images/select_phone.png">
- <select name="macro" onchange="document.mainform.submit()" {$telephoneNumberACL}>
- {html_options options=$macros selected=$macro}
- </select>
- <input type="submit" name="refresh" value="{t}refresh{/t}" {$goFonMacroACL}>
- </td>
- </tr>
-</table>
-<br>
-{$macrotab}
<input type="hidden" name="phoneTab" value="phoneTab">
<input type="hidden" name="phoneTab" value="phoneTab">
+
+
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ document.mainform.phonenumber.focus();
+ -->
+</script>