commit | author | age
|
8896ab
|
1 |
<?php |
N |
2 |
|
|
3 |
/* |
|
4 |
Form Definition |
|
5 |
|
|
6 |
Tabledefinition |
|
7 |
|
|
8 |
Datatypes: |
|
9 |
- INTEGER (Forces the input to Int) |
|
10 |
- DOUBLE |
|
11 |
- CURRENCY (Formats the values to currency notation) |
|
12 |
- VARCHAR (no format check, maxlength: 255) |
|
13 |
- TEXT (no format check) |
|
14 |
- DATE (Dateformat, automatic conversion to timestamps) |
|
15 |
|
|
16 |
Formtype: |
|
17 |
- TEXT (Textfield) |
|
18 |
- TEXTAREA (Textarea) |
|
19 |
- PASSWORD (Password textfield, input is not shown when edited) |
|
20 |
- SELECT (Select option field) |
|
21 |
- RADIO |
|
22 |
- CHECKBOX |
|
23 |
- CHECKBOXARRAY |
|
24 |
- FILE |
|
25 |
|
|
26 |
VALUE: |
|
27 |
- Wert oder Array |
|
28 |
|
|
29 |
Hint: |
|
30 |
The ID field of the database table is not part of the datafield definition. |
|
31 |
The ID field must be always auto incement (int or bigint). |
|
32 |
|
|
33 |
|
|
34 |
*/ |
|
35 |
|
b1a6a5
|
36 |
$form["title"] = "System Config"; |
MC |
37 |
$form["description"] = "system_config_desc_txt"; |
|
38 |
$form["name"] = "system_config"; |
|
39 |
$form["action"] = "system_config_edit.php"; |
|
40 |
$form["db_table"] = "sys_ini"; |
|
41 |
$form["db_table_idx"] = "sysini_id"; |
|
42 |
$form["db_history"] = "yes"; |
|
43 |
$form["tab_default"] = "sites"; |
|
44 |
$form["list_default"] = "server_list.php"; |
|
45 |
$form["auth"] = 'yes'; // yes / no |
8896ab
|
46 |
|
N |
47 |
$form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 0 id must match with id of current user |
|
48 |
$form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user |
|
49 |
$form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete |
|
50 |
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete |
|
51 |
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete |
|
52 |
|
|
53 |
$form["tabs"]['sites'] = array ( |
b1a6a5
|
54 |
'title' => "Sites", |
MC |
55 |
'width' => 70, |
|
56 |
'template' => "templates/system_config_sites_edit.htm", |
|
57 |
'fields' => array ( |
|
58 |
//################################# |
|
59 |
// Begin Datatable fields |
|
60 |
//################################# |
8896ab
|
61 |
'dbname_prefix' => array ( |
b1a6a5
|
62 |
'datatype' => 'VARCHAR', |
MC |
63 |
'formtype' => 'TEXT', |
|
64 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
7dd923
|
65 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
b1a6a5
|
66 |
'errmsg'=> 'dbname_prefix_error_regex'), |
MC |
67 |
), |
|
68 |
'default' => '', |
|
69 |
'value' => '', |
|
70 |
'width' => '30', |
|
71 |
'maxlength' => '255' |
8896ab
|
72 |
), |
N |
73 |
'dbuser_prefix' => array ( |
b1a6a5
|
74 |
'datatype' => 'VARCHAR', |
MC |
75 |
'formtype' => 'TEXT', |
|
76 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
7dd923
|
77 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
b1a6a5
|
78 |
'errmsg'=> 'dbuser_prefix_error_regex'), |
MC |
79 |
), |
|
80 |
'default' => '', |
|
81 |
'value' => '', |
|
82 |
'width' => '30', |
|
83 |
'maxlength' => '255' |
8896ab
|
84 |
), |
N |
85 |
'ftpuser_prefix' => array ( |
b1a6a5
|
86 |
'datatype' => 'VARCHAR', |
MC |
87 |
'formtype' => 'TEXT', |
|
88 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
7dd923
|
89 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
b1a6a5
|
90 |
'errmsg'=> 'ftpuser_prefix_error_regex'), |
MC |
91 |
), |
|
92 |
'default' => '', |
|
93 |
'value' => '', |
|
94 |
'width' => '30', |
|
95 |
'maxlength' => '255' |
8896ab
|
96 |
), |
N |
97 |
'shelluser_prefix' => array ( |
b1a6a5
|
98 |
'datatype' => 'VARCHAR', |
MC |
99 |
'formtype' => 'TEXT', |
|
100 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
7dd923
|
101 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
b1a6a5
|
102 |
'errmsg'=> 'shelluser_prefix_error_regex'), |
MC |
103 |
), |
|
104 |
'default' => '', |
|
105 |
'value' => '', |
|
106 |
'width' => '30', |
|
107 |
'maxlength' => '255' |
8896ab
|
108 |
), |
N |
109 |
'webdavuser_prefix' => array ( |
b1a6a5
|
110 |
'datatype' => 'VARCHAR', |
MC |
111 |
'formtype' => 'TEXT', |
|
112 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
7dd923
|
113 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
b1a6a5
|
114 |
'errmsg'=> 'webdavuser_prefix_error_regex'), |
MC |
115 |
), |
|
116 |
'default' => '', |
|
117 |
'value' => '', |
|
118 |
'width' => '30', |
|
119 |
'maxlength' => '255' |
8896ab
|
120 |
), |
N |
121 |
'dblist_phpmyadmin_link' => array ( |
b1a6a5
|
122 |
'datatype' => 'VARCHAR', |
MC |
123 |
'formtype' => 'CHECKBOX', |
|
124 |
'default' => 'n', |
|
125 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
126 |
), |
N |
127 |
'phpmyadmin_url' => array ( |
b1a6a5
|
128 |
'datatype' => 'VARCHAR', |
MC |
129 |
'formtype' => 'TEXT', |
|
130 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
dc19c4
|
131 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.\_\[\]\?\=\&]{0,255}$/', |
b1a6a5
|
132 |
'errmsg'=> 'phpmyadmin_url_error_regex'), |
MC |
133 |
), |
|
134 |
'default' => '', |
|
135 |
'value' => '', |
|
136 |
'width' => '30', |
|
137 |
'maxlength' => '255' |
8896ab
|
138 |
), |
N |
139 |
'webftp_url' => array ( |
b1a6a5
|
140 |
'datatype' => 'VARCHAR', |
MC |
141 |
'formtype' => 'TEXT', |
|
142 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
143 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
|
144 |
'errmsg'=> 'webftp_url_error_regex'), |
|
145 |
), |
|
146 |
'default' => '', |
|
147 |
'value' => '', |
|
148 |
'width' => '30', |
|
149 |
'maxlength' => '255' |
8896ab
|
150 |
), |
6fb93d
|
151 |
'vhost_subdomains' => array ( |
b1a6a5
|
152 |
'datatype' => 'VARCHAR', |
MC |
153 |
'formtype' => 'CHECKBOX', |
|
154 |
'default' => 'n', |
|
155 |
'value' => array(0 => 'n', 1 => 'y') |
6fb93d
|
156 |
), |
511ba5
|
157 |
'vhost_aliasdomains' => array ( |
DM |
158 |
'datatype' => 'VARCHAR', |
|
159 |
'formtype' => 'CHECKBOX', |
|
160 |
'default' => 'n', |
|
161 |
'value' => array(0 => 'n', 1 => 'y') |
|
162 |
), |
10b4c8
|
163 |
'client_username_web_check_disabled' => array ( |
b1a6a5
|
164 |
'datatype' => 'VARCHAR', |
MC |
165 |
'formtype' => 'CHECKBOX', |
|
166 |
'default' => 'n', |
|
167 |
'value' => array(0 => 'n', 1 => 'y') |
10b4c8
|
168 |
), |
d453c1
|
169 |
'backups_include_into_web_quota' => array ( |
DM |
170 |
'datatype' => 'VARCHAR', |
|
171 |
'formtype' => 'CHECKBOX', |
|
172 |
'default' => 'n', |
|
173 |
'value' => array(0 => 'n', 1 => 'y') |
|
174 |
), |
bd68aa
|
175 |
'reseller_can_use_options' => array ( |
b1a6a5
|
176 |
'datatype' => 'VARCHAR', |
MC |
177 |
'formtype' => 'CHECKBOX', |
|
178 |
'default' => 'n', |
|
179 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
180 |
), |
41d7d1
|
181 |
'default_webserver' => array ( |
SC |
182 |
'datatype' => 'INTEGER', |
|
183 |
'formtype' => 'SELECT', |
|
184 |
'default' => '1', |
|
185 |
'datasource' => array ( 'type' => 'CUSTOM', |
|
186 |
'class'=> 'custom_datasource', |
|
187 |
'function'=> 'client_servers' |
|
188 |
), |
|
189 |
'value' => '', |
|
190 |
'name' => 'default_webserver' |
|
191 |
), |
|
192 |
'default_dbserver' => array ( |
|
193 |
'datatype' => 'INTEGER', |
|
194 |
'formtype' => 'SELECT', |
|
195 |
'default' => '1', |
|
196 |
'datasource' => array ( 'type' => 'CUSTOM', |
|
197 |
'class'=> 'custom_datasource', |
|
198 |
'function'=> 'client_servers' |
|
199 |
), |
|
200 |
'value' => '', |
|
201 |
'name' => 'default_dbserver' |
|
202 |
), |
b1a6a5
|
203 |
//################################# |
MC |
204 |
// ENDE Datatable fields |
|
205 |
//################################# |
8896ab
|
206 |
) |
N |
207 |
); |
|
208 |
|
|
209 |
$form["tabs"]['mail'] = array ( |
b1a6a5
|
210 |
'title' => "Mail", |
MC |
211 |
'width' => 70, |
|
212 |
'template' => "templates/system_config_mail_edit.htm", |
|
213 |
'fields' => array ( |
|
214 |
//################################# |
|
215 |
// Begin Datatable fields |
|
216 |
//################################# |
bd68aa
|
217 |
'enable_custom_login' => array( |
MC |
218 |
'datatype' => 'VARCHAR', |
|
219 |
'formtype' => 'CHECKBOX', |
|
220 |
'default' => 'n', |
|
221 |
'value' => array(0 => 'n', 1 => 'y') |
|
222 |
), |
|
223 |
'mailbox_show_autoresponder_tab' => array ( |
|
224 |
'datatype' => 'VARCHAR', |
|
225 |
'formtype' => 'CHECKBOX', |
|
226 |
'default' => 'y', |
b1a6a5
|
227 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
228 |
), |
MC |
229 |
'mailbox_show_mail_filter_tab' => array ( |
|
230 |
'datatype' => 'VARCHAR', |
|
231 |
'formtype' => 'CHECKBOX', |
|
232 |
'default' => 'y', |
b1a6a5
|
233 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
234 |
), |
MC |
235 |
'mailbox_show_custom_rules_tab' => array ( |
|
236 |
'datatype' => 'VARCHAR', |
|
237 |
'formtype' => 'CHECKBOX', |
|
238 |
'default' => 'y', |
b1a6a5
|
239 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
240 |
), |
8896ab
|
241 |
'mailboxlist_webmail_link' => array ( |
b1a6a5
|
242 |
'datatype' => 'VARCHAR', |
MC |
243 |
'formtype' => 'CHECKBOX', |
|
244 |
'default' => 'n', |
|
245 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
246 |
), |
N |
247 |
'webmail_url' => array ( |
b1a6a5
|
248 |
'datatype' => 'VARCHAR', |
MC |
249 |
'formtype' => 'TEXT', |
|
250 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
251 |
/*'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}(\?.+)?$/',*/ |
|
252 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.\[\]]{0,255}$/', |
|
253 |
'errmsg'=> 'webmail_url_error_regex'), |
|
254 |
), |
|
255 |
'default' => '', |
|
256 |
'value' => '', |
|
257 |
'width' => '30', |
|
258 |
'maxlength' => '255' |
8896ab
|
259 |
), |
N |
260 |
'mailmailinglist_link' => array ( |
b1a6a5
|
261 |
'datatype' => 'VARCHAR', |
MC |
262 |
'formtype' => 'CHECKBOX', |
|
263 |
'default' => 'n', |
|
264 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
265 |
), |
N |
266 |
'mailmailinglist_url' => array ( |
b1a6a5
|
267 |
'datatype' => 'VARCHAR', |
MC |
268 |
'formtype' => 'TEXT', |
|
269 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
270 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
|
271 |
'errmsg'=> 'mailinglist_url_error_regex'), |
|
272 |
), |
|
273 |
'default' => '', |
|
274 |
'value' => '', |
|
275 |
'width' => '30', |
|
276 |
'maxlength' => '255' |
8896ab
|
277 |
), |
N |
278 |
'admin_mail' => array ( |
b1a6a5
|
279 |
'datatype' => 'VARCHAR', |
MC |
280 |
'filters' => array( 0 => array( 'event' => 'SAVE', |
|
281 |
'type' => 'IDNTOASCII'), |
|
282 |
1 => array( 'event' => 'SHOW', |
|
283 |
'type' => 'IDNTOUTF8'), |
|
284 |
2 => array( 'event' => 'SAVE', |
|
285 |
'type' => 'TOLOWER') |
|
286 |
), |
|
287 |
'formtype' => 'TEXT', |
|
288 |
'default' => '', |
|
289 |
'value' => '', |
|
290 |
'width' => '30', |
|
291 |
'maxlength' => '255' |
8896ab
|
292 |
), |
N |
293 |
'admin_name' => array ( |
b1a6a5
|
294 |
'datatype' => 'VARCHAR', |
MC |
295 |
'formtype' => 'TEXT', |
|
296 |
'default' => '', |
|
297 |
'value' => '', |
|
298 |
'width' => '30', |
|
299 |
'maxlength' => '255' |
8896ab
|
300 |
), |
a59498
|
301 |
'smtp_enabled' => array ( |
b1a6a5
|
302 |
'datatype' => 'VARCHAR', |
MC |
303 |
'formtype' => 'CHECKBOX', |
|
304 |
'default' => 'n', |
|
305 |
'value' => array(0 => 'n', 1 => 'y') |
a59498
|
306 |
), |
M |
307 |
'smtp_host' => array ( |
b1a6a5
|
308 |
'datatype' => 'VARCHAR', |
MC |
309 |
'filters' => array( 0 => array( 'event' => 'SAVE', |
|
310 |
'type' => 'IDNTOASCII'), |
|
311 |
1 => array( 'event' => 'SHOW', |
|
312 |
'type' => 'IDNTOUTF8'), |
|
313 |
2 => array( 'event' => 'SAVE', |
|
314 |
'type' => 'TOLOWER') |
|
315 |
), |
|
316 |
'formtype' => 'TEXT', |
|
317 |
'default' => '', |
|
318 |
'value' => '', |
|
319 |
'width' => '30', |
|
320 |
'maxlength' => '255' |
a59498
|
321 |
), |
M |
322 |
'smtp_port' => array ( |
b1a6a5
|
323 |
'datatype' => 'VARCHAR', |
MC |
324 |
'formtype' => 'TEXT', |
|
325 |
'default' => '25', |
|
326 |
'value' => '', |
|
327 |
'width' => '30', |
|
328 |
'maxlength' => '255' |
a59498
|
329 |
), |
M |
330 |
'smtp_user' => array ( |
b1a6a5
|
331 |
'datatype' => 'VARCHAR', |
MC |
332 |
'formtype' => 'TEXT', |
|
333 |
'default' => '', |
|
334 |
'value' => '', |
|
335 |
'width' => '30', |
|
336 |
'maxlength' => '255' |
a59498
|
337 |
), |
M |
338 |
'smtp_pass' => array ( |
b1a6a5
|
339 |
'datatype' => 'VARCHAR', |
MC |
340 |
'formtype' => 'TEXT', |
|
341 |
'default' => '', |
|
342 |
'value' => '', |
|
343 |
'width' => '30', |
|
344 |
'maxlength' => '255' |
a59498
|
345 |
), |
M |
346 |
'smtp_crypt' => array ( |
b1a6a5
|
347 |
'datatype' => 'VARCHAR', |
7ffd14
|
348 |
'formtype' => 'SELECT', |
MC |
349 |
'default' => '', |
|
350 |
'value' => array('' => 'No', 'ssl' => 'SSL', 'tls' => 'STARTTLS') |
a59498
|
351 |
), |
41d7d1
|
352 |
'default_mailserver' => array ( |
SC |
353 |
'datatype' => 'INTEGER', |
|
354 |
'formtype' => 'SELECT', |
|
355 |
'default' => '1', |
|
356 |
'datasource' => array ( 'type' => 'CUSTOM', |
|
357 |
'class'=> 'custom_datasource', |
|
358 |
'function'=> 'client_servers' |
|
359 |
), |
|
360 |
'value' => '', |
|
361 |
'name' => 'default_mailserver' |
|
362 |
), |
|
363 |
//################################# |
|
364 |
// ENDE Datatable fields |
|
365 |
//################################# |
|
366 |
) |
|
367 |
); |
|
368 |
|
|
369 |
$form["tabs"]['dns'] = array ( |
|
370 |
'title' => "DNS", |
|
371 |
'width' => 70, |
|
372 |
'template' => "templates/system_config_dns_edit.htm", |
|
373 |
'fields' => array ( |
|
374 |
//################################# |
|
375 |
// Begin Datatable fields |
|
376 |
//################################# |
|
377 |
'default_dnsserver' => array ( |
|
378 |
'datatype' => 'INTEGER', |
|
379 |
'formtype' => 'SELECT', |
|
380 |
'default' => '1', |
|
381 |
'datasource' => array ( 'type' => 'CUSTOM', |
|
382 |
'class'=> 'custom_datasource', |
|
383 |
'function'=> 'client_servers' |
|
384 |
), |
|
385 |
'value' => '', |
|
386 |
'name' => 'default_dnsserver' |
|
387 |
), |
|
388 |
'default_slave_dnsserver' => array ( |
|
389 |
'datatype' => 'INTEGER', |
|
390 |
'formtype' => 'SELECT', |
|
391 |
'default' => '1', |
|
392 |
'datasource' => array ( 'type' => 'CUSTOM', |
|
393 |
'class'=> 'custom_datasource', |
|
394 |
'function'=> 'client_servers' |
|
395 |
), |
|
396 |
'value' => '', |
|
397 |
'name' => 'default_slave_dnsserver' |
|
398 |
), |
b1a6a5
|
399 |
//################################# |
MC |
400 |
// ENDE Datatable fields |
|
401 |
//################################# |
8896ab
|
402 |
) |
N |
403 |
); |
|
404 |
|
|
405 |
$form["tabs"]['domains'] = array ( |
b1a6a5
|
406 |
'title' => "Domains", |
MC |
407 |
'width' => 70, |
|
408 |
'template' => "templates/system_config_domains_edit.htm", |
|
409 |
'fields' => array ( |
|
410 |
//################################# |
|
411 |
// Begin Datatable fields |
|
412 |
//################################# |
8896ab
|
413 |
'use_domain_module' => array ( |
b1a6a5
|
414 |
'datatype' => 'VARCHAR', |
MC |
415 |
'formtype' => 'CHECKBOX', |
|
416 |
'default' => 'n', |
|
417 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
418 |
), |
N |
419 |
'new_domain_html' => array ( |
b1a6a5
|
420 |
'datatype' => 'VARCHAR', |
MC |
421 |
'formtype' => 'TEXT', |
|
422 |
'default' => '', |
|
423 |
'value' => '' |
8896ab
|
424 |
), |
b1a6a5
|
425 |
//################################# |
MC |
426 |
// ENDE Datatable fields |
|
427 |
//################################# |
8896ab
|
428 |
) |
N |
429 |
); |
|
430 |
|
5df605
|
431 |
/* TODO_ BEGIN: Branding |
C |
432 |
|
|
433 |
$form["tabs"]['domains'] = array ( |
|
434 |
'title' => "Branding", |
|
435 |
'width' => 70, |
|
436 |
'template' => "templates/system_config_branding_edit.htm", |
|
437 |
'fields' => array ( |
|
438 |
################################## |
|
439 |
# Begin Datatable fields |
|
440 |
################################## |
|
441 |
'allow_themechange' => array ( |
|
442 |
'datatype' => 'VARCHAR', |
|
443 |
'formtype' => 'CHECKBOX', |
|
444 |
'default' => 'N', |
|
445 |
'value' => array(0 => 'n',1 => 'y') |
|
446 |
), |
|
447 |
################################## |
|
448 |
# ENDE Datatable fields |
|
449 |
################################## |
|
450 |
) |
|
451 |
); |
|
452 |
|
|
453 |
|
|
454 |
END: Branding */ |
8896ab
|
455 |
$form["tabs"]['misc'] = array ( |
b1a6a5
|
456 |
'title' => "Misc", |
MC |
457 |
'width' => 70, |
|
458 |
'template' => "templates/system_config_misc_edit.htm", |
|
459 |
'fields' => array ( |
|
460 |
//################################# |
|
461 |
// Begin Datatable fields |
|
462 |
//################################# |
8f5b51
|
463 |
'company_name' => array ( |
FS |
464 |
'datatype' => 'VARCHAR', |
|
465 |
'formtype' => 'TEXT', |
|
466 |
'default' => '', |
|
467 |
'value' => '' |
|
468 |
), |
904d8a
|
469 |
'custom_login_text' => array ( |
FS |
470 |
'datatype' => 'VARCHAR', |
|
471 |
'formtype' => 'TEXT', |
|
472 |
'default' => '', |
|
473 |
'value' => '' |
|
474 |
), |
|
475 |
'custom_login_link' => array ( |
|
476 |
'datatype' => 'VARCHAR', |
|
477 |
'formtype' => 'TEXT', |
|
478 |
'default' => '', |
|
479 |
'value' => '', |
|
480 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
481 |
'regex' => '/^(http|https):\\/\\/.*|^$/', |
|
482 |
'errmsg'=> 'login_link_error_regex'), |
|
483 |
) |
|
484 |
), |
8896ab
|
485 |
'dashboard_atom_url_admin' => array ( |
b1a6a5
|
486 |
'datatype' => 'VARCHAR', |
MC |
487 |
'formtype' => 'TEXT', |
|
488 |
'default' => 'http://www.ispconfig.org/atom', |
|
489 |
'value' => '' |
8896ab
|
490 |
), |
N |
491 |
'dashboard_atom_url_reseller' => array ( |
b1a6a5
|
492 |
'datatype' => 'VARCHAR', |
MC |
493 |
'formtype' => 'TEXT', |
|
494 |
'default' => 'http://www.ispconfig.org/atom', |
|
495 |
'value' => '' |
8896ab
|
496 |
), |
N |
497 |
'dashboard_atom_url_client' => array ( |
b1a6a5
|
498 |
'datatype' => 'VARCHAR', |
MC |
499 |
'formtype' => 'TEXT', |
|
500 |
'default' => 'http://www.ispconfig.org/atom', |
|
501 |
'value' => '' |
8896ab
|
502 |
), |
N |
503 |
'monitor_key' => array ( |
b1a6a5
|
504 |
'datatype' => 'VARCHAR', |
MC |
505 |
'formtype' => 'TEXT', |
|
506 |
'default' => '', |
|
507 |
'value' => '' |
8896ab
|
508 |
), |
73ec6b
|
509 |
'tab_change_discard' => array ( |
b1a6a5
|
510 |
'datatype' => 'VARCHAR', |
MC |
511 |
'formtype' => 'CHECKBOX', |
|
512 |
'default' => 'n', |
|
513 |
'value' => array(0 => 'n', 1 => 'y') |
73ec6b
|
514 |
), |
M |
515 |
'tab_change_warning' => array ( |
b1a6a5
|
516 |
'datatype' => 'VARCHAR', |
MC |
517 |
'formtype' => 'CHECKBOX', |
|
518 |
'default' => 'n', |
|
519 |
'value' => array(0 => 'n', 1 => 'y') |
73ec6b
|
520 |
), |
10b4c8
|
521 |
'use_loadindicator' => array ( |
b1a6a5
|
522 |
'datatype' => 'VARCHAR', |
MC |
523 |
'formtype' => 'CHECKBOX', |
|
524 |
'default' => 'y', |
|
525 |
'value' => array(0 => 'n', 1 => 'y') |
10b4c8
|
526 |
), |
T |
527 |
'use_combobox' => array ( |
b1a6a5
|
528 |
'datatype' => 'VARCHAR', |
MC |
529 |
'formtype' => 'CHECKBOX', |
|
530 |
'default' => 'y', |
|
531 |
'value' => array(0 => 'n', 1 => 'y') |
10b4c8
|
532 |
), |
bf7d95
|
533 |
'maintenance_mode' => array ( |
b1a6a5
|
534 |
'datatype' => 'VARCHAR', |
MC |
535 |
'formtype' => 'CHECKBOX', |
|
536 |
'default' => 'n', |
|
537 |
'value' => array(0 => 'n', 1 => 'y') |
bf7d95
|
538 |
), |
7b47c0
|
539 |
'admin_dashlets_left' => array ( |
b1a6a5
|
540 |
'datatype' => 'VARCHAR', |
MC |
541 |
'formtype' => 'TEXT', |
|
542 |
'default' => '', |
|
543 |
'value' => '' |
7b47c0
|
544 |
), |
T |
545 |
'admin_dashlets_right' => array ( |
b1a6a5
|
546 |
'datatype' => 'VARCHAR', |
MC |
547 |
'formtype' => 'TEXT', |
|
548 |
'default' => '', |
|
549 |
'value' => '' |
7b47c0
|
550 |
), |
T |
551 |
'reseller_dashlets_left' => array ( |
b1a6a5
|
552 |
'datatype' => 'VARCHAR', |
MC |
553 |
'formtype' => 'TEXT', |
|
554 |
'default' => '', |
|
555 |
'value' => '' |
7b47c0
|
556 |
), |
T |
557 |
'reseller_dashlets_right' => array ( |
b1a6a5
|
558 |
'datatype' => 'VARCHAR', |
MC |
559 |
'formtype' => 'TEXT', |
|
560 |
'default' => '', |
|
561 |
'value' => '' |
7b47c0
|
562 |
), |
T |
563 |
'client_dashlets_left' => array ( |
b1a6a5
|
564 |
'datatype' => 'VARCHAR', |
MC |
565 |
'formtype' => 'TEXT', |
|
566 |
'default' => '', |
|
567 |
'value' => '' |
7b47c0
|
568 |
), |
T |
569 |
'client_dashlets_right' => array ( |
b1a6a5
|
570 |
'datatype' => 'VARCHAR', |
MC |
571 |
'formtype' => 'TEXT', |
|
572 |
'default' => '', |
|
573 |
'value' => '' |
7b47c0
|
574 |
), |
7550de
|
575 |
'customer_no_template' => array ( |
TB |
576 |
'datatype' => 'VARCHAR', |
|
577 |
'formtype' => 'TEXT', |
|
578 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
e99a70
|
579 |
'regex' => '/^[a-zA-Z0-9\-\_\[\]]{0,50}$/', |
7550de
|
580 |
'errmsg'=> 'customer_no_template_error_regex'), |
TB |
581 |
), |
|
582 |
'default' => '', |
|
583 |
'value' => '', |
|
584 |
'width' => '30', |
|
585 |
'maxlength' => '255' |
|
586 |
), |
|
587 |
'customer_no_start' => array ( |
|
588 |
'datatype' => 'INTEGER', |
|
589 |
'formtype' => 'TEXT', |
|
590 |
'default' => '', |
|
591 |
'value' => '', |
|
592 |
'width' => '30', |
|
593 |
'maxlength' => '255' |
|
594 |
), |
|
595 |
'customer_no_counter' => array ( |
|
596 |
'datatype' => 'INTEGER', |
|
597 |
'formtype' => 'TEXT', |
|
598 |
'default' => '', |
|
599 |
'value' => '', |
|
600 |
'width' => '30', |
|
601 |
'maxlength' => '255' |
|
602 |
), |
c951bb
|
603 |
'session_timeout' => array ( |
MC |
604 |
'datatype' => 'INTEGER', |
|
605 |
'formtype' => 'TEXT', |
|
606 |
'default' => '', |
|
607 |
'value' => '', |
|
608 |
'width' => '30', |
|
609 |
'maxlength' => '255' |
|
610 |
), |
de0256
|
611 |
'session_allow_endless' => array ( |
MC |
612 |
'datatype' => 'VARCHAR', |
|
613 |
'formtype' => 'CHECKBOX', |
|
614 |
'default' => 'n', |
|
615 |
'value' => array(0 => 'n', 1 => 'y') |
|
616 |
), |
7b9388
|
617 |
'min_password_length' => array( |
MC |
618 |
'datatype' => 'INTEGER', |
|
619 |
'formtype' => 'TEXT', |
|
620 |
'default' => '5', |
|
621 |
'value' => '', |
|
622 |
'width' => '30', |
|
623 |
'maxlength' => '255' |
|
624 |
), |
|
625 |
'min_password_strength' => array( |
|
626 |
'datatype' => 'VARCHAR', |
|
627 |
'formtype' => 'SELECT', |
|
628 |
'default' => '', |
|
629 |
'value' => array('' => 'None', '1' => 'strength_1', '2' => 'strength_2', '3' => 'strength_3', '4' => 'strength_4', '5' => 'strength_5') |
|
630 |
) |
b1a6a5
|
631 |
//################################# |
MC |
632 |
// ENDE Datatable fields |
|
633 |
//################################# |
8896ab
|
634 |
) |
N |
635 |
); |
|
636 |
|
|
637 |
|
|
638 |
?> |