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', |
|
65 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
66 |
'errmsg'=> 'dbname_prefix_error_regex'), |
|
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', |
|
77 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
78 |
'errmsg'=> 'dbuser_prefix_error_regex'), |
|
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', |
|
89 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
90 |
'errmsg'=> 'ftpuser_prefix_error_regex'), |
|
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', |
|
101 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
102 |
'errmsg'=> 'shelluser_prefix_error_regex'), |
|
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', |
|
113 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
114 |
'errmsg'=> 'webdavuser_prefix_error_regex'), |
|
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 |
), |
bd68aa
|
169 |
'reseller_can_use_options' => array ( |
b1a6a5
|
170 |
'datatype' => 'VARCHAR', |
MC |
171 |
'formtype' => 'CHECKBOX', |
|
172 |
'default' => 'n', |
|
173 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
174 |
), |
b1a6a5
|
175 |
//################################# |
MC |
176 |
// ENDE Datatable fields |
|
177 |
//################################# |
8896ab
|
178 |
) |
N |
179 |
); |
|
180 |
|
|
181 |
$form["tabs"]['mail'] = array ( |
b1a6a5
|
182 |
'title' => "Mail", |
MC |
183 |
'width' => 70, |
|
184 |
'template' => "templates/system_config_mail_edit.htm", |
|
185 |
'fields' => array ( |
|
186 |
//################################# |
|
187 |
// Begin Datatable fields |
|
188 |
//################################# |
bd68aa
|
189 |
'enable_custom_login' => array( |
MC |
190 |
'datatype' => 'VARCHAR', |
|
191 |
'formtype' => 'CHECKBOX', |
|
192 |
'default' => 'n', |
|
193 |
'value' => array(0 => 'n', 1 => 'y') |
|
194 |
), |
|
195 |
'mailbox_show_autoresponder_tab' => array ( |
|
196 |
'datatype' => 'VARCHAR', |
|
197 |
'formtype' => 'CHECKBOX', |
|
198 |
'default' => 'y', |
b1a6a5
|
199 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
200 |
), |
MC |
201 |
'mailbox_show_mail_filter_tab' => array ( |
|
202 |
'datatype' => 'VARCHAR', |
|
203 |
'formtype' => 'CHECKBOX', |
|
204 |
'default' => 'y', |
b1a6a5
|
205 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
206 |
), |
MC |
207 |
'mailbox_show_custom_rules_tab' => array ( |
|
208 |
'datatype' => 'VARCHAR', |
|
209 |
'formtype' => 'CHECKBOX', |
|
210 |
'default' => 'y', |
b1a6a5
|
211 |
'value' => array(0 => 'n', 1 => 'y') |
bd68aa
|
212 |
), |
8896ab
|
213 |
'mailboxlist_webmail_link' => array ( |
b1a6a5
|
214 |
'datatype' => 'VARCHAR', |
MC |
215 |
'formtype' => 'CHECKBOX', |
|
216 |
'default' => 'n', |
|
217 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
218 |
), |
N |
219 |
'webmail_url' => array ( |
b1a6a5
|
220 |
'datatype' => 'VARCHAR', |
MC |
221 |
'formtype' => 'TEXT', |
|
222 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
223 |
/*'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}(\?.+)?$/',*/ |
|
224 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.\[\]]{0,255}$/', |
|
225 |
'errmsg'=> 'webmail_url_error_regex'), |
|
226 |
), |
|
227 |
'default' => '', |
|
228 |
'value' => '', |
|
229 |
'width' => '30', |
|
230 |
'maxlength' => '255' |
8896ab
|
231 |
), |
N |
232 |
'mailmailinglist_link' => array ( |
b1a6a5
|
233 |
'datatype' => 'VARCHAR', |
MC |
234 |
'formtype' => 'CHECKBOX', |
|
235 |
'default' => 'n', |
|
236 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
237 |
), |
N |
238 |
'mailmailinglist_url' => array ( |
b1a6a5
|
239 |
'datatype' => 'VARCHAR', |
MC |
240 |
'formtype' => 'TEXT', |
|
241 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
242 |
'regex' => '/^[0-9a-zA-Z\:\/\-\.]{0,255}$/', |
|
243 |
'errmsg'=> 'mailinglist_url_error_regex'), |
|
244 |
), |
|
245 |
'default' => '', |
|
246 |
'value' => '', |
|
247 |
'width' => '30', |
|
248 |
'maxlength' => '255' |
8896ab
|
249 |
), |
N |
250 |
'admin_mail' => array ( |
b1a6a5
|
251 |
'datatype' => 'VARCHAR', |
MC |
252 |
'filters' => array( 0 => array( 'event' => 'SAVE', |
|
253 |
'type' => 'IDNTOASCII'), |
|
254 |
1 => array( 'event' => 'SHOW', |
|
255 |
'type' => 'IDNTOUTF8'), |
|
256 |
2 => array( 'event' => 'SAVE', |
|
257 |
'type' => 'TOLOWER') |
|
258 |
), |
|
259 |
'formtype' => 'TEXT', |
|
260 |
'default' => '', |
|
261 |
'value' => '', |
|
262 |
'width' => '30', |
|
263 |
'maxlength' => '255' |
8896ab
|
264 |
), |
N |
265 |
'admin_name' => array ( |
b1a6a5
|
266 |
'datatype' => 'VARCHAR', |
MC |
267 |
'formtype' => 'TEXT', |
|
268 |
'default' => '', |
|
269 |
'value' => '', |
|
270 |
'width' => '30', |
|
271 |
'maxlength' => '255' |
8896ab
|
272 |
), |
a59498
|
273 |
'smtp_enabled' => array ( |
b1a6a5
|
274 |
'datatype' => 'VARCHAR', |
MC |
275 |
'formtype' => 'CHECKBOX', |
|
276 |
'default' => 'n', |
|
277 |
'value' => array(0 => 'n', 1 => 'y') |
a59498
|
278 |
), |
M |
279 |
'smtp_host' => array ( |
b1a6a5
|
280 |
'datatype' => 'VARCHAR', |
MC |
281 |
'filters' => array( 0 => array( 'event' => 'SAVE', |
|
282 |
'type' => 'IDNTOASCII'), |
|
283 |
1 => array( 'event' => 'SHOW', |
|
284 |
'type' => 'IDNTOUTF8'), |
|
285 |
2 => array( 'event' => 'SAVE', |
|
286 |
'type' => 'TOLOWER') |
|
287 |
), |
|
288 |
'formtype' => 'TEXT', |
|
289 |
'default' => '', |
|
290 |
'value' => '', |
|
291 |
'width' => '30', |
|
292 |
'maxlength' => '255' |
a59498
|
293 |
), |
M |
294 |
'smtp_port' => array ( |
b1a6a5
|
295 |
'datatype' => 'VARCHAR', |
MC |
296 |
'formtype' => 'TEXT', |
|
297 |
'default' => '25', |
|
298 |
'value' => '', |
|
299 |
'width' => '30', |
|
300 |
'maxlength' => '255' |
a59498
|
301 |
), |
M |
302 |
'smtp_user' => array ( |
b1a6a5
|
303 |
'datatype' => 'VARCHAR', |
MC |
304 |
'formtype' => 'TEXT', |
|
305 |
'default' => '', |
|
306 |
'value' => '', |
|
307 |
'width' => '30', |
|
308 |
'maxlength' => '255' |
a59498
|
309 |
), |
M |
310 |
'smtp_pass' => array ( |
b1a6a5
|
311 |
'datatype' => 'VARCHAR', |
MC |
312 |
'formtype' => 'TEXT', |
|
313 |
'default' => '', |
|
314 |
'value' => '', |
|
315 |
'width' => '30', |
|
316 |
'maxlength' => '255' |
a59498
|
317 |
), |
M |
318 |
'smtp_crypt' => array ( |
b1a6a5
|
319 |
'datatype' => 'VARCHAR', |
7ffd14
|
320 |
'formtype' => 'SELECT', |
MC |
321 |
'default' => '', |
|
322 |
'value' => array('' => 'No', 'ssl' => 'SSL', 'tls' => 'STARTTLS') |
a59498
|
323 |
), |
b1a6a5
|
324 |
//################################# |
MC |
325 |
// ENDE Datatable fields |
|
326 |
//################################# |
8896ab
|
327 |
) |
N |
328 |
); |
|
329 |
|
|
330 |
$form["tabs"]['domains'] = array ( |
b1a6a5
|
331 |
'title' => "Domains", |
MC |
332 |
'width' => 70, |
|
333 |
'template' => "templates/system_config_domains_edit.htm", |
|
334 |
'fields' => array ( |
|
335 |
//################################# |
|
336 |
// Begin Datatable fields |
|
337 |
//################################# |
8896ab
|
338 |
'use_domain_module' => array ( |
b1a6a5
|
339 |
'datatype' => 'VARCHAR', |
MC |
340 |
'formtype' => 'CHECKBOX', |
|
341 |
'default' => 'n', |
|
342 |
'value' => array(0 => 'n', 1 => 'y') |
8896ab
|
343 |
), |
N |
344 |
'new_domain_html' => array ( |
b1a6a5
|
345 |
'datatype' => 'VARCHAR', |
MC |
346 |
'formtype' => 'TEXT', |
|
347 |
'default' => '', |
|
348 |
'value' => '' |
8896ab
|
349 |
), |
b1a6a5
|
350 |
//################################# |
MC |
351 |
// ENDE Datatable fields |
|
352 |
//################################# |
8896ab
|
353 |
) |
N |
354 |
); |
|
355 |
|
5df605
|
356 |
/* TODO_ BEGIN: Branding |
C |
357 |
|
|
358 |
$form["tabs"]['domains'] = array ( |
|
359 |
'title' => "Branding", |
|
360 |
'width' => 70, |
|
361 |
'template' => "templates/system_config_branding_edit.htm", |
|
362 |
'fields' => array ( |
|
363 |
################################## |
|
364 |
# Begin Datatable fields |
|
365 |
################################## |
|
366 |
'allow_themechange' => array ( |
|
367 |
'datatype' => 'VARCHAR', |
|
368 |
'formtype' => 'CHECKBOX', |
|
369 |
'default' => 'N', |
|
370 |
'value' => array(0 => 'n',1 => 'y') |
|
371 |
), |
|
372 |
################################## |
|
373 |
# ENDE Datatable fields |
|
374 |
################################## |
|
375 |
) |
|
376 |
); |
|
377 |
|
|
378 |
|
|
379 |
END: Branding */ |
8896ab
|
380 |
$form["tabs"]['misc'] = array ( |
b1a6a5
|
381 |
'title' => "Misc", |
MC |
382 |
'width' => 70, |
|
383 |
'template' => "templates/system_config_misc_edit.htm", |
|
384 |
'fields' => array ( |
|
385 |
//################################# |
|
386 |
// Begin Datatable fields |
|
387 |
//################################# |
8896ab
|
388 |
'dashboard_atom_url_admin' => array ( |
b1a6a5
|
389 |
'datatype' => 'VARCHAR', |
MC |
390 |
'formtype' => 'TEXT', |
|
391 |
'default' => 'http://www.ispconfig.org/atom', |
|
392 |
'value' => '' |
8896ab
|
393 |
), |
N |
394 |
'dashboard_atom_url_reseller' => array ( |
b1a6a5
|
395 |
'datatype' => 'VARCHAR', |
MC |
396 |
'formtype' => 'TEXT', |
|
397 |
'default' => 'http://www.ispconfig.org/atom', |
|
398 |
'value' => '' |
8896ab
|
399 |
), |
N |
400 |
'dashboard_atom_url_client' => array ( |
b1a6a5
|
401 |
'datatype' => 'VARCHAR', |
MC |
402 |
'formtype' => 'TEXT', |
|
403 |
'default' => 'http://www.ispconfig.org/atom', |
|
404 |
'value' => '' |
8896ab
|
405 |
), |
N |
406 |
'monitor_key' => array ( |
b1a6a5
|
407 |
'datatype' => 'VARCHAR', |
MC |
408 |
'formtype' => 'TEXT', |
|
409 |
'default' => '', |
|
410 |
'value' => '' |
8896ab
|
411 |
), |
73ec6b
|
412 |
'tab_change_discard' => array ( |
b1a6a5
|
413 |
'datatype' => 'VARCHAR', |
MC |
414 |
'formtype' => 'CHECKBOX', |
|
415 |
'default' => 'n', |
|
416 |
'value' => array(0 => 'n', 1 => 'y') |
73ec6b
|
417 |
), |
M |
418 |
'tab_change_warning' => array ( |
b1a6a5
|
419 |
'datatype' => 'VARCHAR', |
MC |
420 |
'formtype' => 'CHECKBOX', |
|
421 |
'default' => 'n', |
|
422 |
'value' => array(0 => 'n', 1 => 'y') |
73ec6b
|
423 |
), |
10b4c8
|
424 |
'use_loadindicator' => array ( |
b1a6a5
|
425 |
'datatype' => 'VARCHAR', |
MC |
426 |
'formtype' => 'CHECKBOX', |
|
427 |
'default' => 'y', |
|
428 |
'value' => array(0 => 'n', 1 => 'y') |
10b4c8
|
429 |
), |
T |
430 |
'use_combobox' => array ( |
b1a6a5
|
431 |
'datatype' => 'VARCHAR', |
MC |
432 |
'formtype' => 'CHECKBOX', |
|
433 |
'default' => 'y', |
|
434 |
'value' => array(0 => 'n', 1 => 'y') |
10b4c8
|
435 |
), |
bf7d95
|
436 |
'maintenance_mode' => array ( |
b1a6a5
|
437 |
'datatype' => 'VARCHAR', |
MC |
438 |
'formtype' => 'CHECKBOX', |
|
439 |
'default' => 'n', |
|
440 |
'value' => array(0 => 'n', 1 => 'y') |
bf7d95
|
441 |
), |
7b47c0
|
442 |
'admin_dashlets_left' => array ( |
b1a6a5
|
443 |
'datatype' => 'VARCHAR', |
MC |
444 |
'formtype' => 'TEXT', |
|
445 |
'default' => '', |
|
446 |
'value' => '' |
7b47c0
|
447 |
), |
T |
448 |
'admin_dashlets_right' => array ( |
b1a6a5
|
449 |
'datatype' => 'VARCHAR', |
MC |
450 |
'formtype' => 'TEXT', |
|
451 |
'default' => '', |
|
452 |
'value' => '' |
7b47c0
|
453 |
), |
T |
454 |
'reseller_dashlets_left' => array ( |
b1a6a5
|
455 |
'datatype' => 'VARCHAR', |
MC |
456 |
'formtype' => 'TEXT', |
|
457 |
'default' => '', |
|
458 |
'value' => '' |
7b47c0
|
459 |
), |
T |
460 |
'reseller_dashlets_right' => array ( |
b1a6a5
|
461 |
'datatype' => 'VARCHAR', |
MC |
462 |
'formtype' => 'TEXT', |
|
463 |
'default' => '', |
|
464 |
'value' => '' |
7b47c0
|
465 |
), |
T |
466 |
'client_dashlets_left' => array ( |
b1a6a5
|
467 |
'datatype' => 'VARCHAR', |
MC |
468 |
'formtype' => 'TEXT', |
|
469 |
'default' => '', |
|
470 |
'value' => '' |
7b47c0
|
471 |
), |
T |
472 |
'client_dashlets_right' => array ( |
b1a6a5
|
473 |
'datatype' => 'VARCHAR', |
MC |
474 |
'formtype' => 'TEXT', |
|
475 |
'default' => '', |
|
476 |
'value' => '' |
7b47c0
|
477 |
), |
7550de
|
478 |
'customer_no_template' => array ( |
TB |
479 |
'datatype' => 'VARCHAR', |
|
480 |
'formtype' => 'TEXT', |
|
481 |
'validators' => array ( 0 => array ( 'type' => 'REGEX', |
|
482 |
'regex' => '/^[a-zA-Z0-0\-\_\[\]]{0,50}$/', |
|
483 |
'errmsg'=> 'customer_no_template_error_regex'), |
|
484 |
), |
|
485 |
'default' => '', |
|
486 |
'value' => '', |
|
487 |
'width' => '30', |
|
488 |
'maxlength' => '255' |
|
489 |
), |
|
490 |
'customer_no_start' => array ( |
|
491 |
'datatype' => 'INTEGER', |
|
492 |
'formtype' => 'TEXT', |
|
493 |
'default' => '', |
|
494 |
'value' => '', |
|
495 |
'width' => '30', |
|
496 |
'maxlength' => '255' |
|
497 |
), |
|
498 |
'customer_no_counter' => array ( |
|
499 |
'datatype' => 'INTEGER', |
|
500 |
'formtype' => 'TEXT', |
|
501 |
'default' => '', |
|
502 |
'value' => '', |
|
503 |
'width' => '30', |
|
504 |
'maxlength' => '255' |
|
505 |
), |
c951bb
|
506 |
'session_timeout' => array ( |
MC |
507 |
'datatype' => 'INTEGER', |
|
508 |
'formtype' => 'TEXT', |
|
509 |
'default' => '', |
|
510 |
'value' => '', |
|
511 |
'width' => '30', |
|
512 |
'maxlength' => '255' |
|
513 |
), |
de0256
|
514 |
'session_allow_endless' => array ( |
MC |
515 |
'datatype' => 'VARCHAR', |
|
516 |
'formtype' => 'CHECKBOX', |
|
517 |
'default' => 'n', |
|
518 |
'value' => array(0 => 'n', 1 => 'y') |
|
519 |
), |
b1a6a5
|
520 |
//################################# |
MC |
521 |
// ENDE Datatable fields |
|
522 |
//################################# |
8896ab
|
523 |
) |
N |
524 |
); |
|
525 |
|
|
526 |
|
|
527 |
?> |