Code

Updated macro class. Added check -> Empty macros can't be saved.
[gosa.git] / setup / setup_config3.tpl
2 {if $warnings_cnt}
3 <b><font style='color:red' >Errors:</font></b>
4 {foreach from=$warnings item=val key=key}
5         <br>
6         <font style='color:red' >{$val}</font>
7 {/foreach}
8 {/if}
10 <div class='default' style='margin:12px; '>
11     <div style='float:left; '>
12                 <br>
13                 <b>{t}Optional settings{/t}</b>
14         </div>
16     <div class='step4_container'>
17         <div class='step4_name'>
18             {t}Enable Copy & Paste{/t}
19         </div>
20         <div class='step4_value'>
21         
22             <select name="enableCopyPaste" size="1" title="">
23                 {html_options options=$bool selected=$optional.enableCopyPaste}
24             </select>
25         </div>
26         <div class='step4_status'>
27             {t}Infos in FAQ{/t}&nbsp;
28             <img class='center' alt='!'  src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
29         </div>
30     </div>
32     <div class='step4_container'>
33         <div class='step4_name'>
34             {t}Disable primary group filter{/t}
35         </div>
36         <div class='step4_value'>
37         
38             <select name="noprimarygroup" size="1" title="">
39                 {html_options options=$bool selected=$optional.noprimarygroup}
40             </select>
41         </div>
42         <div class='step4_status'>
43             {t}Infos in FAQ{/t}&nbsp;
44             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
45         </div>
46     </div>
48     <div class='step4_container'>
49         <div class='step4_name'>
50             {t}Force globals{/t}
51         </div>
52         <div class='step4_value'>
53         
54             <select name="forceglobals" size="1" title="">
55                 {html_options options=$bool selected=$optional.forceglobals}
56             </select>
57         </div>
58         <div class='step4_status'>
59             {t}Infos in FAQ{/t}&nbsp;
60             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
61         </div>
62     </div>
64     <div class='step4_container'>
65         <div class='step4_name'>
66             {t}Force SSL{/t}
67         </div>
68         <div class='step4_value'>
69         
70             <select name="forcessl" size="1" title="">
71                 {html_options options=$bool selected=$optional.forcessl}
72             </select>
73         </div>
74         <div class='step4_status'>
75             {t}Infos in FAQ{/t}&nbsp;
76             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
77         </div>
78     </div>
80     <div class='step4_container'>
81         <div class='step4_name'>
82             {t}Warn SSL{/t}
83         </div>
84         <div class='step4_value'>
85         
86             <select name="warnssl" size="1" title="">
87                 {html_options options=$bool selected=$optional.warnssl}
88             </select>
89         </div>
90         <div class='step4_status'>
91             {t}Infos in FAQ{/t}&nbsp;
92             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
93         </div>
94     </div>
96     <div class='step4_container'>
97         <div class='step4_name'>
98             {t}Strict units{/t}
99         </div>
100         <div class='step4_value'>
101         
102             <select name="strict_units" size="1" title="">
103                 {html_options options=$bool selected=$optional.strict_units}
104             </select>
105         </div>
106         <div class='step4_status'>
107             {t}Infos in FAQ{/t}&nbsp;
108             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
109         </div>
110     </div>
112     <div class='step4_container'>
113         <div class='step4_name'>
114             {t}PPd path{/t}
115         </div>
116         <div class='step4_value'>
117             {if $optional.ppd_path_active == FALSE}
118                 <input type='checkbox' value='1' name='ppd_path_active'
119                     onClick='changeState("ppd_path");'>
120                 <input style='width:90%' id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}' disabled>
121             {else}
122                 <input type='checkbox' value='1' name='ppd_path_active' checked>
123                 <input style='width:90%' id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}'  >
124             {/if}
125         </div>
126         <div class='step4_status'>
127             {t}Infos in FAQ{/t}&nbsp;
128             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
129         </div>
130     </div>
132     <div class='step4_container'>
133         <div class='step4_name'>
134             {t}Network resolv hook{/t}
135         </div>
136         <div class='step4_value'>
137             {if $optional.auto_network_hook_active == FALSE}
138                 <input type='checkbox' value='1' name='auto_network_hook_active'
139                     onClick='changeState("auto_network_hook");'>
140                 <input style='width:90%' id='auto_network_hook' name='auto_network_hook' 
141                                         type='text' value='{$optional.auto_network_hook}' disabled>
142             {else}
143                 <input type='checkbox' value='1' name='auto_network_hook_active' checked>
144                 <input style='width:90%' id='auto_network_hook' name='auto_network_hook' type='text' 
145                                         value='{$optional.auto_network_hook}'  >
146             {/if}
147         </div>
148         <div class='step4_status'>
149             {t}Infos in FAQ{/t}&nbsp;
150             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
151         </div>
152     </div>
154     <div class='step4_container'>
155         <div class='step4_name'>
156             {t}Mail queue script path{/t}
157         </div>
158         <div class='step4_value'>
159             {if $optional.mailQueueScriptPath_active == FALSE}
160                 <input type='checkbox' value='1' name='mailQueueScriptPath_active'
161                     onClick='changeState("mailQueueScriptPath");'>
162                 <input style='width:90%' id='mailQueueScriptPath' name='mailQueueScriptPath' 
163                                         type='text' value='{$optional.mailQueueScriptPath}' disabled>
164             {else}
165                 <input type='checkbox' value='1' name='mailQueueScriptPath_active' checked>
166                 <input style='width:90%' id='mailQueueScriptPath' name='mailQueueScriptPath' type='text' 
167                                         value='{$optional.mailQueueScriptPath}'  >
168             {/if}
169         </div>
170         <div class='step4_status'>
171             {t}Infos in FAQ{/t}&nbsp;
172             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
173         </div>
174     </div>
176     <div class='step4_container'>
177         <div class='step4_name'>
178             {t}Notification path{/t}
179         </div>
180         <div class='step4_value'>
181             {if $optional.notifydir_active == FALSE}
182                 <input type='checkbox' value='1' name='notifydir_active'
183                     onClick='changeState("notifydir");'>
184                 <input style='width:90%' id='notifydir' name='notifydir' 
185                                         type='text' value='{$optional.notifydir}' disabled>
186             {else}
187                 <input type='checkbox' value='1' name='notifydir_active' checked>
188                 <input style='width:90%' id='notifydir' name='notifydir' 
189                                         type='text' value='{$optional.notifydir}'  >
190             {/if}
191         </div>
192         <div class='step4_status'>
193             {t}Infos in FAQ{/t}&nbsp;
194             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
195         </div>
196     </div>
198     <div class='step4_container'>
199         <div class='step4_name'>
200             {t}Smarty compile directory{/t}
201         </div>
202         <div class='step4_value'>
203                         <input style='width:90%' id='compile' name='compile' 
204                                 type='text' value='{$optional.compile}'>
205         </div>
206         <div class='step4_status'>
207             {t}Infos in FAQ{/t}&nbsp;
208             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
209         </div>
210     </div>
212     <div class='step4_container' style='height:5em;'>
213         <div class='step4_name' style='height:5em;'>
214             {t}SMB hash{/t}
215         </div>
216         <div class='step4_value' style='height:5em;'>
217                         <input {if $optional.smbhash == "/usr/bin/mkntpasswd"} checked {/if} 
218                                 type='radio' name='smbhash' value='/usr/bin/mkntpasswd'>&nbsp;
219                                 /usr/bin/mkntpasswd<br>
220                         <input {if $optional.smbhash == "mkntpwd"} checked {/if}
221                                 type='radio' name='smbhash' value='mkntpwd'>&nbsp;
222                                 mkntpwd<br>
223                         <input {if $optional.smbhash == 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'} checked {/if}
224                                 type='radio' name='smbhash' value='perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'>&nbsp;
225                                 perl -MCrypt::SmbHash ...
226         </div>
227         <div class='step4_status' style='height:5em;'>
228             {t}Infos in FAQ{/t}&nbsp;
229             <img class='center'  alt='!'  src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
230         </div>
231     </div>
233     <div class='step4_container'>
234         <div class='step4_name'>
235             {t}Session lifetime{/t}
236         </div>
237         <div class='step4_value'>
238                         <input style='width:90%' id='session_lifetime' name='session_lifetime' 
239                                 type='text' value='{$optional.session_lifetime}'>
240         </div>
241         <div class='step4_status'>
242             {t}Infos in FAQ{/t}&nbsp;
243             <img class='center' alt='!'  src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
244         </div>
245     </div>
247     <div class='step4_container'>
248         <div class='step4_name'>
249             {t}Maximal ldap query time{/t}
250         </div>
251         <div class='step4_value'>
252             {if $optional.max_ldap_query_time_active == FALSE}
253                 <input type='checkbox' value='1' name='max_ldap_query_time_active'
254                     onClick='changeState("max_ldap_query_time");'>
255                 <input style='width:90%' id='max_ldap_query_time' name='max_ldap_query_time' 
256                                         type='text' value='{$optional.max_ldap_query_time}' disabled>
257             {else}
258                 <input type='checkbox' value='1' name='max_ldap_query_time_active' checked>
259                 <input style='width:90%' id='max_ldap_query_time' name='max_ldap_query_time' 
260                                         type='text' value='{$optional.max_ldap_query_time}'  >
261             {/if}
262         </div>
263         <div class='step4_status'>
264             {t}Infos in FAQ{/t}&nbsp;
265             <img class='center' alt='!'  src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
266         </div>
267     </div>
269     <div class='step4_container'>
270         <div class='step4_name'>
271             {t}Debuglevel{/t}
272         </div>
273         <div class='step4_value'>
274                         <select name='debuglevel'>
275                                 {if $optional.debuglevel == 0}
276                                         <option value='0' selected>0 {t}Disabled{/t}</option>
277                                         <option value='1'>1 {t}Enabled{/t}</option>
278                                 {else}
279                                         <option value='0'>0 {t}Disabled{/t}</option>
280                                         <option value='1' selected>1 {t}Enabled{/t}</option>
281                                 {/if}
282                         </select>               
283         </div>
284         <div class='step4_status'>
285             {t}Infos in FAQ{/t}&nbsp;
286             <img class='center'  alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
287         </div>
288     </div>
289 </div>
291 <input type='hidden' value='1' name='step6a_posted'>