Code

disable formatbox, if record is unchecked
[gosa.git] / plugins / gofon / conference / generic.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
2 <tr>
3 <td style="vertical-align:top;">
4 <h2>
5 <img alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}
6 </h2>
7      
8         <table summary="">
9         <tr>
10         <td>
11         <LABEL for="cn">
12         {t}Name of Conference{/t}
13         </LABEL>
14         {$must}
15         </td>
16         <td>
17         <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Name of subtree to create{/t}">
18         </td>
19         </tr>
20         <tr>
21         <td>
22         <LABEL for="description">
23         {t}Description{/t}
24         </LABEL>
25         {$must}
26         </td>
27         <td>
28         <input id="description" name="description" size=25 maxlength=60 {$descriptionACL} 
29         value="{$description}" title="{t}Descriptive text for department{/t}">
30         </td>
31         </tr>
32         <tr>
33         <td colspan="2"><br></td>
34         </tr>
35         <tr>
36         <td><LABEL for="goFonConferenceOption_D">{t}Type{/t}</LABEL>{$must}</td>
37         <td>
38         <select id="goFonConferenceOption_D" size="1" name="goFonConferenceOption_D" title="{t}Choose subtree to place department in{/t}"> 
39         {html_options options=$goFonConferenceOptions selected=$goFonConferenceOption_D}
40         </select>
41         </td>
42         </tr>
43         <tr>
44         <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
45         <td>
46         <select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}"> 
47         {html_options options=$bases selected=$base}
48         </select>
49         </td>
50         </tr>
51         </table>
53 </td>
54 <td>
55 <h2><img alt="" align="middle" src="images/house.png"> {t}Location{/t}</h2>
57         <table summary="">
58         <tr>
59         <td>
60         {t}Lifetime in days{/t}
61         </td>
62         <td>
63         <input name="goFonConferenceOptionLifetime" value="{$goFonConferenceOptionLifetime}" {$goFonConferenceOptionLifetimeACL}>
64         </td>
65         </tr>
66         <tr>
67         <td>
68         {t}Number{/t}
69         </td>
70         <td>
71         <input name="telephoneNumber" value="{$telephoneNumber}" {$telephoneNumberACL}>
72         </td>
73         </tr>
74         </table>
76 </td>
77 </tr>
78 <tr>
79 <td colspan=2 style='width:100%;'>
80         <p class='seperator'>&nbsp;</p>
81 </td>
82 </tr>
83 <tr>
84 <td>
85 <h2><img alt="" align="middle" src="images/house.png"> {t}Options{/t}</h2>
87         <table summary="">
88     <tr>
89         <td colspan=2>
90                 <input type="checkbox" onclick="changeState('goFonPIN');" name="goFonConferenceOption_P" 
91                                         value="P" {$goFonConferenceOption_PCHK} {$goFonConferenceOption_PACL}> 
92                 {t}preset PIN{/t}
93         </td>
94         </tr>
95         <tr>
96         <td>
97         &nbsp;  {t}PIN{/t}
98         </td>
99         <td>
100                 <input type='text' name="goFonPIN" {$goFonPINACL} id="goFonPIN" value="{$goFonPIN}">
101         </td>
102         </tr>
103         <tr>
104         <td colspan=2>
105         <br><br>
106         </td>
107         </tr>
108     <tr>
109         <td colspan=2>
110                 <input type="checkbox" onclick="changeState('goFonConferenceOptionFormat');" name="goFonConferenceOption_r" value="r" {$goFonConferenceOption_rCHK} {$goFonConferenceOption_rACL}> 
111         {t}Record Conference{/t}
112         </td>
113         </tr>
114         <tr>
115         <td>
116         &nbsp;  {t}Format{/t}
117         </td>
118         <td>
119         <select id="goFonConferenceOptionFormat" size="1" name="goFonConferenceOptionFormat" {$goFonConferenceOptionFormatACL} title="{t}Choose subtree to place department in{/t}"> 
120         {html_options options=$goFonConferenceOptionFormats selected=$goFonConferenceOptionFormat}
121         </select>
122         </td>
123         </tr>
124         </table>
126 </td>
127 <td>
128         <table summary="">
129         <tr>
130         <td>
131                 {t}Play music on hold{/t}
132         </td>
133         <td>
134                 <input type="checkbox" name="goFonConferenceOption_M" value="M" {$goFonConferenceOption_MCHK} {$goFonConferenceOption_MACL}> 
135         </td>
136         </tr>
137         <tr>
138         <td>
139                 {t}Activate menu{/t}
140         </td>
141         <td>
142                 <input type="checkbox" name="goFonConferenceOption_s" value="s" {$goFonConferenceOption_sCHK} {$goFonConferenceOption_sACL}> 
143         </td>
144         </tr>
145         <tr>
146         <td>
147                 {t}Announce new or leaving user{/t}
148         </td>
149         <td>
150                 <input type="checkbox" name="goFonConferenceOption_i" value="i" {$goFonConferenceOption_iCHK} {$goFonConferenceOption_iACL}> 
151         </td>
152         </tr>
153         <tr>
154         <td>
155                 {t}Count user{/t}
156         </td>
157         <td>
158                 <input type="checkbox" name="goFonConferenceOption_c" value="c" {$goFonConferenceOption_cCHK} {$goFonConferenceOption_cACL}> 
159         </td>
160         </tr>
161         </table>
163 </td>
164 </tr>
165 </table>
167 <!-- Place cursor -->
168 <script language="JavaScript" type="text/javascript">
169   <!-- // First input field on page
170   document.mainform.ou.focus();
171   -->
172 </script>