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