1 <h2><img class="center" alt="" align="middle" src="images/select_phone.png"> {t}Advanced phone settings{/t}</h2>
3 <table summary="" style="width:100%" border=0>
4 <tr>
5 <td colspan="2">
6 <LABEL for="selected_categorie">{t}Phone type{/t}</LABEL>{$staticAddress}
7 <select id="selected_categorie" size="1" name="selected_categorie" title="{t}Choose a phone type{/t}" onchange="mainform.submit();">
8 {html_options options=$categories selected=$selected_categorie}
9 </select>
10 <input type="submit" value="{t}refresh{/t}" name="refresh">
11 <br>
12 <br>
13 </td>
14 </tr>
15 {if $selected_categorie eq '0'}
16 <tr>
17 <td style="width:50%; border-right:1px solid #A0A0A0">
18 <table summary="" border=0>
19 <tr>
20 <td>
21 <LABEL for="goFonType">{t}Mode{/t}</LABEL>{$staticAddress}
23 </td>
24 <td>
25 <select id="goFonType" size="1" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
26 {html_options options=$goFonTypes selected=$goFonType}
27 </select>
28 </td>
29 </tr>
30 <tr>
31 <td >
32 <LABEL for="goFonDmtfMode">{t}DTMF mode{/t}</LABEL>
33 </td>
34 <td>
35 <select size="1" id="goFonDmtfMode" name="goFonDmtfMode" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonDmtfModeUSED}>
36 {html_options options=$goFonDmtfModes selected=$goFonDmtfMode}
37 </select>
38 </td>
39 </tr>
40 </table>
41 </td>
42 <td>
43 <table summary="" border=0>
44 <tr>
45 <td >
46 <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
47 </td>
48 <td>
49 <select id="goFonDefaultIP" size="1" name="goFonDefaultIP" title="{t}Choose a phone type{/t}" style="width:200px;" >
50 {html_options options=$goFonDefaultIPs selected=$goFonDefaultIP}
51 </select>
52 </td>
53 </tr>
54 <tr>
55 <td >
56 <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
57 </td>
58 <td>
59 <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
60 </td>
61 </tr>
62 </table>
63 </td>
64 </tr>
65 </table>
66 {/if}
68 {if $selected_categorie eq '1'}
70 <tr>
71 <td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
72 <table summary="" width="100%">
73 <tr>
74 <td>
75 <LABEL for="goFonType">{t}Modus{/t}{$staticAddress}</LABEL>
76 </td>
77 <td >
78 <select size="1" id="goFonType" name="goFonType" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonTypeUSED}>
79 {html_options options=$goFonTypes selected=$goFonType}
80 </select>
81 </td>
82 </tr>
83 <tr>
84 <td >
85 <LABEL for="goFonDefaultIP">{t}Default IP{/t}</LABEL>
86 </td>
87 <td>
88 <input id="goFonDefaultIP" style="width:200px" name="goFonDefaultIP" value="{$goFonDefaultIP}" {$goFonDefaultIPUSED}>
89 </td>
90 </tr>
91 <tr>
92 <td >
93 <LABEL for="goFonQualify">{t}Response timeout{/t}</LABEL>
94 </td>
95 <td>
96 <input id="goFonQualify" style="width:200px" name="goFonQualify" value="{$goFonQualify}" {$goFonQualifyUSED}>
97 </td>
98 </tr>
99 <tr>
100 <td colspan=2>
101
102 </td>
103 </tr>
104 <tr>
105 <td>
106 <LABEL for="goFonAuth">{t}Authtype{/t}</LABEL>
107 </td>
108 <td>
109 <select size="1" id="goFonAuth" name="goFonAuth" title="{t}Choose a phone type{/t}" style="width:200px;" {$goFonAuthUSED}>
110 {html_options options=$goFonAuths selected=$goFonAuth}
111 </select>
112 </td>
113 </tr>
114 <tr>
115 <td>
116 <LABEL for="goFonSecret">{t}Secret{/t}</LABEL>
117 </td>
118 <td>
119 <input id="goFonSecret" style="width:200px" name="goFonSecret" value="{$goFonSecret}" {$goFonSecretUSED}>
120 </td>
121 </tr>
122 <!-- <tr>
123 <td>
124 {t}GoFonInkeys{/t}
125 </td>
126 <td>
127 <input style="width:200px" name="goFonInkeys" value="{$goFonInkeys}" {$goFonInkeysUSED}>
128 </td>
129 </tr>
130 <tr>
131 <td>
132 {t}GoFonOutKeys{/t}
133 </td>
134 <td>
135 <input style="width:200px" name="goFonOutkey" value="{$goFonOutkey}" {$goFonOutkeyUSED}>
136 </td>
137 </tr> -->
138 <tr>
139 <td colspan=2>
140
141 </td>
142 </tr>
143 <tr>
144 <td>
145 <LABEL for="goFonAccountCode">{t}Account code{/t}</LABEL>
146 </td>
147 <td>
148 <input id="goFonAccountCode" style="width:200px" name="goFonAccountCode" value="{$goFonAccountCode}" {$goFonAccountCodeUSED}>
149 </td>
150 </tr>
151 <tr>
152 <td>
153 <LABEL for="goFonTrunk">{t}Trunk lines{/t}</LABEL>
154 </td>
155 <td>
156 <select size="1" id="goFonTrunk" name="goFonTrunk" title="{t}Choose a phone type{/t}" {$goFonTrunkUSED}>
157 {html_options options=$goFonTrunks selected=$goFonTrunk}
158 </select>
159 </td>
160 </tr>
162 </table>
163 </td>
164 <td valign="top" style="vertical-align:top">
165 <table summary="" width="100%">
166 <tr>
167 <td style="vertical-align:top;">
168 <LABEL for="goFonPermitS">{t}Hosts that are allowed to connect{/t}</LABEL><br>
169 <select id="goFonPermitS" style="width:100%; height:80px;" name="goFonPermitS" size=15
170 multiple title="{t}List of alternative mail addresses{/t}">
171 {html_options values=$goFonPermit output=$goFonPermit}
172 <option disabled> </option>
173 </select>
174 <br>
175 <input name="goFonPermitNew" size=30 align="middle" maxlength="65" value="">
176 <input type=submit value="{t}Add{/t}" name="goFonPermitAdd">
177 <input type=submit value="{t}Delete{/t}" name="goFonPermitDel">
178 <br><br>
179 </td>
180 </tr>
181 <tr>
182 <td style="vertical-align:top;">
183 <LABEL for="goFonDenyS">{t}Hosts that are not allowed to connect{/t}</LABEL><br>
184 <select id="goFonDenyS" style="width:100%; height:80px;" name="goFonDenyS" size=15
185 multiple title="{t}List of alternative mail addresses{/t}">
186 {html_options values=$goFonDeny output=$goFonDeny}
187 <option disabled> </option>
188 </select>
189 <br>
190 <input name="goFonDenyNew" size=30 align="middle" maxlength="65" value="">
191 <input type=submit value="{t}Add{/t}" name="goFonDenyAdd">
192 <input type=submit value="{t}Delete{/t}" name="goFonDenyDel">
193 </td>
194 </table>
195 </tr>
196 </table>
197 {/if}
199 {if $selected_categorie eq '2'}
200 <tr>
201 <td style="width:50%">
202 <table summary="" width="100%">
203 <tr>
204 <td>
205 <LABEL for="goFonMSN">{t}MSN{/t}</LABEL>
206 <input id="goFonMSN" style="width:200px" name="goFonMSN" value="{$goFonMSN}" {$goFonMSNUSED}>
207 </td>
208 </tr>
209 </table>
210 </td>
211 <td>
212
213 </td>
214 </tr>
215 </table>
216 {/if}