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