Code

Initial multi server functionality for phone queues
[gosa.git] / plugins / admin / ogroups / phonequeue.tpl
1 <table summary="{t}Queue Settings{/t}" style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="4">
2 <tr>
3 <td valign='top'>
4                 <h2><img class="center" alt="" src="images/select_phone.png" align="middle">&nbsp;{t}Phone numbers{/t}</h2>
5                 <table summary="">
6                 <tr>
7                 <td colspan=2>
8                   <table summary="{t}Generic queue Settings{/t}">
9                    <tr>
10                     <td>
11                         <select style="width:300px; height:60px;" name="goFonQueueNumber_List" size=6 {$telephoneNumberACL}>
12                         {html_options options=$telephoneNumber}
13                         <option disabled>&nbsp;</option>
14                         </select>
15                 </td>
16                 <td style="vertical-align:center">
17                         <input type="submit" value="{t}Up{/t}"          name="up_phonenumber"           {$telephoneNumberACL}><br>
18                         <input type="submit" value="{t}Down{/t}"        name="down_phonenumber"         {$telephoneNumberACL}>
19                 </td>
20                 </tr>
21                 <tr>
22                  <td colspan=2>
23                         <input name="phonenumber" size=20 align=middle maxlength=60                     {$telephoneNumberACL} value="">
24                         <input type="submit" value="{t}Add{/t}"         name="add_phonenumber"          {$telephoneNumberACL}>&nbsp;
25                         <input type="submit" value="{t}Delete{/t}"      name="delete_phonenumber"       {$telephoneNumberACL}>
26              </td>
27                 </tr>
28                 </table>
29                 </tr>
30                 <tr>
31                   <td colspan=2><h2><img class="center" alt="" src="images/select_ogroup.png" align="middle">&nbsp;{t}Options{/t}</h2></td>
32                 </tr>
33                         <tr>
34                 <td><LABEL for="goFonHomeServer">{t}Home server{/t}</LABEL>{$must}</td>
35                 <td>
36                         <select name='goFonHomeServer'>
37                          {html_options options=$goFonHomeServers selected=$goFonHomeServer}
38                         </select>
39                 </td>
40                 </tr>
42                 <tr>
43                 <td>
44                         {t}Language{/t} 
45                 </td>
46                 <td>
47                         <select name="goFonQueueLanguage" {$goFonQueueLanguageACL}>
48                         {html_options options=$goFonQueueLanguageOptions selected=$goFonQueueLanguage}
49                         <option disabled>&nbsp;</option>
50                         </select>
51                 </td>
52                 </tr>
53                 <tr>
54                 <td>
55                         {t}Timeout{/t}
56                 </td>
57                 <td>
58                         <input name='goFonTimeOut' value='{$goFonTimeOut}' {$goFonTimeOutACL}>
59                 </td>
60                 </tr>
61                 <tr>
62                 <td>
63                         {t}Retry{/t}
64                 </td>
65                 <td>
66                         <input name='goFonQueueRetry' value='{$goFonQueueRetry}' {$goFonQueueRetryACL}>
67                 </td>
68                 </tr>
69                 <tr>
70                 <td>
71                         {t}Strategy{/t} 
72                 </td>
73                 <td>
74                         <select name="goFonQueueStrategy" {$goFonQueueStrategyACL}>
75             {html_options options=$goFonQueueStrategyOptions selected=$goFonQueueStrategy}
76             <option disabled>&nbsp;</option>
77             </select>
78         
79                 </td>
80                 </tr>
81                 <tr>
82                 <td>
83                         {t}Max queue length{/t}
84                 </td>
85                 <td>
86                         <input name='goFonMaxLen' value='{$goFonMaxLen}' {$goFonMaxLenACL}>     
87                 </td>
88                 </tr>
89                 <tr>
90                 <td>
91                         {t}Announce frequency{/t}
92                 </td>
93                 <td>
94                         <input name='goFonAnnounceFrequency' value='{$goFonAnnounceFrequency}' {$goFonAnnounceFrequencyACL}>
95                         {t}(in seconds){/t}     
96                 </td>
97                 </tr>
98                 </table>
99 </td>
100 <td valign='top' style="border-left: 1px solid rgb(160, 160, 160);">
101         <h2>
102     <img class="center" alt="" src="images/sound.png" align="middle">
103     {t}Queue sound setup{/t}
104     </h2>
105         <table summary="{t}Generic queue Settings{/t}">
106                 <!--<tr>
107                 <td>
108                         {t}Use music on hold instead of ringing{/t}
109                 </td>
110                 <td>
111                         <input type="checkbox" name='goFonMusiconHold' value='1' {$goFonMusiconHoldCHK} {$goFonMusiconHoldACL}>
112                 </td>
113                 </tr>
114                 -->
115                 <tr>
116                 <td>
117                         {t}Music on hold{/t}
118                 </td>
119                 <td>
120                         <input type="text" style='width:250px;' name='goFonMusiconHold' value='{$goFonMusiconHold}' {$goFonMusiconHoldACL}>
121                 </td>
122                 </tr>
123                 <tr>
124                 <td>
125                         {t}Welcome sound file{/t}
126                 </td>
127                 <td>
128                         <input type="text" style='width:250px;' name='goFonWelcomeMusic' value='{$goFonWelcomeMusic}' {$goFonWelcomeMusicACL}>
129                 </td>
130                 </tr>
131                 <tr>
132                 <td>
133                         {t}Announce message{/t}
134                 </td>
135                 <td>
136                         <input type="text" style='width:250px;' name='goFonQueueAnnounce' value='{$goFonQueueAnnounce}' {$goFonQueueAnnounceACL}>
137                 </td>
138                 </tr>
139                 <tr>
140                 <td>
141                         {t}Sound file for 'You are next ...'{/t}
142                 </td>
143                 <td>
144                         <input type="text" style='width:250px;' name='goFonQueueYouAreNext' value='{$goFonQueueYouAreNext}' {$goFonQueueYouAreNextACL}>
145                 </td>
146                 </tr>
147                 <tr>
148                 <td>
149                         {t}'There are ...'{/t}
150                 </td>
151                 <td>
152                         <input type="text" style='width:250px;' name='goFonQueueThereAre' value='{$goFonQueueThereAre}' {$goFonQueueThereAreACL}>
153                 </td>
154                 </tr>
155                 <tr>
156                 <td>
157                         {t}'... calls waiting'{/t}
158                 </td>
159                 <td>
160                         <input type="text" style='width:250px;' name='goFonQueueCallsWaiting' value='{$goFonQueueCallsWaiting}' {$goFonQueueCallsWaitingACL}>
161                 </td>
162                 </tr>
163                 <tr>
164                 <td>
165                         {t}'Thank you' message{/t}
166                 </td>
167                 <td>
168                         <input type="text" style='width:250px;' name='goFonQueueThankYou' value='{$goFonQueueThankYou}' {$goFonQueueThankYouACL}>
169                 </td>
170                 </tr>
171                 <tr>
172                 <td>
173                         {t}'minutes' sound file{/t}
174                 </td>
175                 <td>
176                         <input type="text" style='width:250px;' name='goFonQueueMinutes' value='{$goFonQueueMinutes}' {$goFonQueueMinutesACL}>
177                 </td>
178                 </tr>
179                 <tr>
180                 <td>
181                         {t}'seconds' sound file{/t}
182                 </td>
183                 <td>
184                         <input type="text" style='width:250px;' name='goFonQueueSeconds' value='{$goFonQueueSeconds}' {$goFonQueueSecondsACL}>
185                 </td>
186                 </tr>
187                 <tr>
188                 <td>
189                         {t}Hold sound file{/t}
190                 </td>
191                 <td>
192                         <input type="text" style='width:250px;' name='goFonQueueReportHold' value='{$goFonQueueReportHold}' {$goFonQueueReportHoldACL}>
193                 </td>
194                 </tr>
195                 <tr>
196                 <td>
197                         {t}Less Than sound file{/t}
198                 </td>
199                 <td>
200                         <input type="text" style='width:250px;' name='goFonQueueLessThan' value='{$goFonQueueLessThan}' {$goFonQueueLessThanACL}>
201                 </td>
202                 </tr>
204                 </table>
205 </td>
206 </tr>
207 <tr>
208         <td colspan=2>
209                 <p class="seperator">
210         </td>
211 </tr>
212 <tr>
213 <td colspan=2><h2 style='margin-bottom:0px;'><img class="center" alt="" src="images/select_ogroup.png" align="middle">&nbsp;{t}Phone attributes {/t}</h2></td>
214 </tr>
215 <tr>
216 <td>
217                 <table summary="" style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
218         <tr>
219         <td colspan=2>
220             <input type="checkbox" name='goFonQueueAnnounceHoldtime' value='yes'  {$goFonQueueAnnounceHoldtimeCHK} {$goFonQueueAnnounceHoldtimeACL}>
221             {t}Announce holdtime{/t}
222         </td>
223         </tr>
224         <tr>
225         <td colspan=2>
226             <input type="checkbox" name='goFonDialOption_t' value='t'  {$goFonDialOption_tCHK} {$goFonDialOption_tACL}>
227             {t}Allow the called user to transfer his call{/t}
228         </td>
229         </tr>
230         <tr>
231         <td colspan=2>
232             <input type="checkbox" name='goFonDialOption_T' value='T' {$goFonDialOption_TCHK} {$goFonDialOption_TACL}>
233             {t}Allows calling user to transfer call{/t}
234         </td>
235         </table>
237 </td>
238 <td valign='top' style="border-left: 1px solid rgb(160, 160, 160);">
239                 <table summary=""  style="width: 100%; vertical-align: top; text-align: left;" border="0" cellpadding="0">
240         <tr>
241         <td colspan=2>
242             <input type="checkbox" name='goFonDialOption_h' value='h' {$goFonDialOption_hCHK} {$goFonDialOption_hACL}>
243             {t}Allow the called to hangup by pressing *{/t}
244         </td>
245         </tr>
246         <tr>
247         <td colspan=2>
248             <input type="checkbox" name='goFonDialOption_H' value='H' {$goFonDialOption_HCHK} {$goFonDialOption_HACL}>
249             {t}Allows calling to hangup by pressing *{/t}
250         </td>
251         </tr>
252         <tr>
253         <td colspan=2>
254             <input type="checkbox" name='goFonDialOption_r' value='r' {$goFonDialOption_rCHK} {$goFonDialOption_rACL}>
255             {t}Ring instead of playing background music{/t}
256         </td>
257         </tr>
258         </table>
259 </td>
260 </tr>
262 </table>