1 <table summary="{t}Phone numbers{/t}" style="width:100%">
2 <tr>
3 <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
4 <h2>
5 <img class="center" alt="" align="middle" src="images/banana.png" />
6 {t}Phone numbers{/t}
7 </h2>
9 {if $multiple_support}
11 <select style="width:100%;" name="dummy1" size=7 >
12 {html_options options=$phoneNumbers}
13 <option disabled> </option>
14 </select>
16 {else}
18 {render acl=$telephoneNumberACL}
19 <select style="width:100%;" name="phonenumber_list[]" size=7 multiple>
20 {html_options options=$phoneNumbers}
21 <option disabled> </option>
22 </select>
23 {/render}
24 <br>
25 {render acl=$telephoneNumberACL}
26 <input name="phonenumber" size=20 align=middle maxlength=60 value="">
27 {/render}
28 {render acl=$telephoneNumberACL}
29 <input type="submit" value="{msgPool type=addButton}" name="add_phonenumber">
30 {/render}
31 {render acl=$telephoneNumberACL}
32 <input type="submit" value="{msgPool type=delButton}" name="delete_phonenumber">
33 {/render}
35 {/if}
36 </td>
37 <td style="vertical-align:top; width:50%;">
38 <table summary="" style="width:100%" border=0>
39 <tr>
41 <td style="vertical-align:top;">
42 <h2><img class="center" alt="" align="middle" src="images/hardware.png" /> {t}Telephone hardware{/t}</h2>
44 <table summary="{t}Telephone{/t}" border=0>
45 {if !$multiple_support}
46 <tr>
47 <td>
48 {t}Telephone{/t}
49 </td>
50 <td>
51 {$hardware_list}
52 </td>
53 </tr>
54 {/if}
55 <tr>
56 <td>{t}Home server{/t}{$must}
57 </td>
58 <td>
59 {render acl=$goFonHomeServerACL checkbox=$multiple_support checked=$use_goFonHomeServer}
60 <select name='goFonHomeServer' title='{t}Select the accounts home server{/t}'>
61 {html_options options=$goFonHomeServers selected=$goFonHomeServer}
62 </select>
63 {/render}
64 </td>
65 </tr>
66 <tr>
67 <td>{t}Context{/t}
68 </td>
69 <td>
70 <select name='context' title='{t}Select the accounts context{/t}' {$goFonContextACL}>
71 {html_options values=$contexts output=$contexts selected=$context}
72 </select>
73 </td>
74 </tr>
75 <tr>
76 <td>{t}Voicemail context{/t}
77 </td>
78 <td>
79 <select name='voice_context' title='{t}Select the accounts context{/t}' {$goFonContextACL}>
80 {html_options values=$contexts output=$contexts selected=$voice_context}
81 </select>
82 </td>
83 </tr>
85 <tr>
86 <td>
87 <label for="goFonVoicemailPIN">{t}Voicemail PIN{/t}{$must}</label>
88 </td>
89 <td>
90 {render acl=$goFonVoicemailPINACL checkbox=$multiple_support checked=$use_goFonVoicemailPIN}
91 <input type="password" id="goFonVoicemailPIN" name="goFonVoicemailPIN" value="{$goFonVoicemailPIN}">
92 {/render}
93 </td>
94 </tr>
95 <tr>
96 <td>
97 <label for="goFonPIN">{t}Phone PIN{/t}{$must}</label>
98 </td>
99 <td>
100 {render acl=$goFonPINACL checkbox=$multiple_support checked=$use_goFonPIN}
101 <input type="password" id="goFonPIN" name="goFonPIN" value="{$goFonPIN}">
102 {/render}
103 </td>
104 </tr>
105 </table>
106 </td>
107 </tr>
108 </table>
109 </td>
111 </tr>
112 <tr>
113 <td style="vertical-align:top; border-top:1px solid #A0A0A0; width:50%" colspan="2"> </td>
114 </tr>
115 <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
116 <td colspan=2 style="vertical-align:top;width:50%">
117 <h2>
118 <img class="center" alt="" src="images/select_macro.png" align="middle" />
119 {t}Phone macro{/t}
120 </h2>
121 <table summary="{t}Phone macro{/t}">
122 <tr>
123 <td colspan=2>
124 {render acl=$goFonMacroACL checkbox=$multiple_support checked=$use_macro}
125 <select id="macro" name="macro" onchange="document.mainform.submit()">
126 {html_options options=$macros selected=$macro}
127 <option disabled> </option>
128 </select>
129 {/render}
130 {if $javascript eq 'false'}
131 {render acl=$goFonMacroACL}
132 <input type="submit" name="refresh" value="{t}Refresh{/t}">
133 {/render}
134 {/if}
135 </td>
136 </tr>
137 </table>
138 <br>
139 {$macrotab}
140 </td>
141 </tr>
142 </table>
143 <input type="hidden" name="phoneTab" value="phoneTab">
146 <script language="JavaScript" type="text/javascript">
147 <!-- // First input field on page
148 focus_field('phonenumber');
149 -->
150 </script>