84f09f67213cd1f9a6edab5ef7c6d0c9099af3df
[Packages/TYPO3.CMS.git] / t3lib / stddb / tbl_be.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2004 Kasper Skaarhoj (kasperYYYY@typo3.com)
6 * All rights reserved
7 *
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 * A copy is found in the textfile GPL.txt and important notices to the license
17 * from the author is found in LICENSE.txt distributed with these scripts.
18 *
19 *
20 * This script is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * This copyright notice MUST APPEAR in all copies of the script!
26 ***************************************************************/
27 /**
28 * Contains the dynamic configuation of the fields in the core tables of TYPO3: be_users, be_groups and sys_filemounts
29 *
30 * $Id$
31 * Revised for TYPO3 3.6 July/2003 by Kasper Skaarhoj
32 *
33 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
34 * @see tables.php, tables.sql
35 */
36
37
38
39
40
41
42 /**
43 * Backend users - Those who login into the TYPO3 administration backend
44 */
45 $TCA['be_users'] = Array (
46 'ctrl' => $TCA['be_users']['ctrl'],
47 'interface' => Array (
48 'showRecordFieldList' => 'username,usergroup,db_mountpoints,file_mountpoints,admin,options,fileoper_perms,userMods,lockToDomain,realName,email,disable,starttime,endtime'
49 ),
50 'columns' => Array (
51 'username' => Array (
52 'label' => 'Username:',
53 'config' => Array (
54 'type' => 'input',
55 'size' => '20',
56 'max' => '20',
57 'eval' => 'nospace,lower,unique,required'
58 )
59 ),
60 'password' => Array (
61 'label' => 'Password:',
62 'config' => Array (
63 'type' => 'input',
64 'size' => '20',
65 'max' => '40',
66 'eval' => 'required,md5,password'
67 )
68 ),
69 'usergroup' => Array (
70 'label' => 'Group:',
71 'config' => Array (
72 'type' => 'select',
73 'foreign_table' => 'be_groups',
74 'foreign_table_where' => 'ORDER BY be_groups.title',
75 'size' => '5',
76 'maxitems' => '20',
77 # 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
78 'iconsInOptionTags' => 1,
79 'wizards' => Array(
80 '_PADDING' => 1,
81 '_VERTICAL' => 1,
82 'edit' => Array(
83 'type' => 'popup',
84 'title' => 'Edit usergroup',
85 'script' => 'wizard_edit.php',
86 'popup_onlyOpenIfSelected' => 1,
87 'icon' => 'edit2.gif',
88 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
89 ),
90 'add' => Array(
91 'type' => 'script',
92 'title' => 'Create new group',
93 'icon' => 'add.gif',
94 'params' => Array(
95 'table'=>'be_groups',
96 'pid' => '0',
97 'setValue' => 'prepend'
98 ),
99 'script' => 'wizard_add.php',
100 ),
101 'list' => Array(
102 'type' => 'script',
103 'title' => 'List groups',
104 'icon' => 'list.gif',
105 'params' => Array(
106 'table'=>'be_groups',
107 'pid' => '0',
108 ),
109 'script' => 'wizard_list.php',
110 )
111 )
112 )
113 ),
114 'lockToDomain' => Array (
115 'label' => 'Lock to domain:',
116 'config' => Array (
117 'type' => 'input',
118 'size' => '20',
119 'eval' => 'trim',
120 'max' => '50',
121 'checkbox' => '',
122 'softref' => 'substitute'
123 )
124 ),
125 'db_mountpoints' => Array (
126 'label' => 'DB Mounts:',
127 'config' => Array (
128 'type' => 'group',
129 'internal_type' => 'db',
130 'allowed' => 'pages',
131 'size' => '3',
132 'maxitems' => '10',
133 'autoSizeMax' => 10,
134 'show_thumbs' => '1'
135 )
136 ),
137 'file_mountpoints' => Array (
138 'label' => 'File Mounts:',
139 'config' => Array (
140 'type' => 'select',
141 'foreign_table' => 'sys_filemounts',
142 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
143 'size' => '3',
144 'maxitems' => '10',
145 'autoSizeMax' => 10,
146 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
147 'iconsInOptionTags' => 1,
148 'wizards' => Array(
149 '_PADDING' => 1,
150 '_VERTICAL' => 1,
151 'edit' => Array(
152 'type' => 'popup',
153 'title' => 'Edit filemount',
154 'script' => 'wizard_edit.php',
155 'icon' => 'edit2.gif',
156 'popup_onlyOpenIfSelected' => 1,
157 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
158 ),
159 'add' => Array(
160 'type' => 'script',
161 'title' => 'Create new filemount',
162 'icon' => 'add.gif',
163 'params' => Array(
164 'table'=>'sys_filemounts',
165 'pid' => '0',
166 'setValue' => 'prepend'
167 ),
168 'script' => 'wizard_add.php',
169 ),
170 'list' => Array(
171 'type' => 'script',
172 'title' => 'List filemounts',
173 'icon' => 'list.gif',
174 'params' => Array(
175 'table'=>'sys_filemounts',
176 'pid' => '0',
177 ),
178 'script' => 'wizard_list.php',
179 )
180 )
181 )
182 ),
183 'email' => Array (
184 'label' => 'Email:',
185 'config' => Array (
186 'type' => 'input',
187 'size' => '20',
188 'eval' => 'trim',
189 'max' => '80',
190 'softref' => 'email[subst]'
191 )
192 ),
193 'realName' => Array (
194 'label' => 'Name:',
195 'config' => Array (
196 'type' => 'input',
197 'size' => '20',
198 'eval' => 'trim',
199 'max' => '80'
200 )
201 ),
202 'disable' => Array (
203 'label' => 'Disable:',
204 'config' => Array (
205 'type' => 'check'
206 )
207 ),
208 'disableIPlock' => Array (
209 'label' => 'Disable IP lock for user:',
210 'config' => Array (
211 'type' => 'check'
212 )
213 ),
214 'admin' => Array (
215 'label' => 'Admin(!):',
216 'config' => Array (
217 'type' => 'check',
218 'default' => '0'
219 )
220 ),
221 'options' => Array (
222 'label' => 'Mount from groups:',
223 'config' => Array (
224 'type' => 'check',
225 'items' => Array (
226 Array('DB Mounts', 0),
227 Array('File Mounts', 0)
228 ),
229 'default' => '3'
230 )
231 ),
232 'fileoper_perms' => Array (
233 'label' => 'Fileoperation permissions:',
234 'config' => Array (
235 'type' => 'check',
236 'items' => Array (
237 Array('Files: Upload,Copy,Move,Delete,Rename,New,Edit', 0),
238 Array('Files: Unzip', 0),
239 Array('Directory: Move,Delete,Rename,New', 0),
240 Array('Directory: Copy', 0),
241 Array('Directory: Delete recursively (rm -Rf)', 0)
242 ),
243 'default' => '7'
244 )
245 ),
246 'starttime' => Array (
247 'label' => 'Start:',
248 'config' => Array (
249 'type' => 'input',
250 'size' => '8',
251 'max' => '20',
252 'eval' => 'date',
253 'default' => '0',
254 'checkbox' => '0'
255 )
256 ),
257 'endtime' => Array (
258 'label' => 'Stop:',
259 'config' => Array (
260 'type' => 'input',
261 'size' => '8',
262 'max' => '20',
263 'eval' => 'date',
264 'checkbox' => '0',
265 'default' => '0',
266 'range' => Array (
267 'upper' => mktime(0,0,0,12,31,2020),
268 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
269 )
270 )
271 ),
272 'lang' => Array (
273 'label' => 'Default Language:',
274 'config' => Array (
275 'type' => 'select',
276 'items' => Array (
277 Array('English', ''),
278 Array('Arabic', 'ar'),
279 Array('Basque', 'eu'),
280 Array('Bosnian', 'ba'),
281 Array('Brazilian Portuguese', 'br'),
282 Array('Bulgarian', 'bg'),
283 Array('Catalan', 'ca'),
284 Array('Chinese (Simpl)', 'ch'),
285 Array('Chinese (Trad)', 'hk'),
286 Array('Croatian', 'hr'),
287 Array('Czech', 'cz'),
288 Array('Danish', 'dk'),
289 Array('Dutch', 'nl'),
290 Array('Estonian', 'et'),
291 Array('Finnish', 'fi'),
292 Array('French', 'fr'),
293 Array('German', 'de'),
294 Array('Greek', 'gr'),
295 Array('Greenlandic', 'gl'),
296 Array('Hebrew', 'he'),
297 Array('Hungarian', 'hu'),
298 Array('Icelandic', 'is'),
299 Array('Italian', 'it'),
300 Array('Japanese', 'jp'),
301 Array('Korean', 'kr'),
302 Array('Latvian', 'lv'),
303 Array('Lithuanian', 'lt'),
304 Array('Norwegian', 'no'),
305 Array('Polish', 'pl'),
306 Array('Portuguese', 'pt'),
307 Array('Romanian', 'ro'),
308 Array('Russian', 'ru'),
309 Array('Slovak', 'sk'),
310 Array('Slovenian', 'si'),
311 Array('Spanish', 'es'),
312 Array('Swedish', 'se'),
313 Array('Thai', 'th'),
314 Array('Turkish', 'tr'),
315 Array('Ukrainian', 'ua'),
316 Array('Vietnamese', 'vn'),
317 )
318 )
319 ),
320 'userMods' => Array (
321 'label' => 'Modules:',
322 'config' => Array (
323 'type' => 'select',
324 'special' => 'modListUser',
325 'size' => '5',
326 'autoSizeMax' => 50,
327 'maxitems' => '15',
328 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
329 'iconsInOptionTags' => 1,
330 )
331 ),
332 'allowed_languages' => Array (
333 'label' => 'Limit to languages:',
334 'config' => Array (
335 'type' => 'select',
336 'special' => 'languages',
337 'maxitems' => '1000',
338 'renderMode' => 'checkbox',
339 )
340 ),
341 'TSconfig' => Array (
342 'label' => 'TSconfig:',
343 'config' => Array (
344 'type' => 'text',
345 'cols' => '40',
346 'rows' => '5',
347 'wizards' => Array(
348 '_PADDING' => 4,
349 '0' => Array(
350 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
351 'title' => 'TSconfig QuickReference',
352 'script' => 'wizard_tsconfig.php?mode=beuser',
353 'icon' => 'wizard_tsconfig.gif',
354 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
355 )
356 ),
357 'softref' => 'TSconfig'
358 )
359 ),
360 'createdByAction' => Array('config'=>array('type'=>'passthrough'))
361 ),
362 'types' => Array (
363 '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, userMods;;;;4-4-4, allowed_languages, options, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5'),
364 '1' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, options;;;;4-4-4, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5')
365 ),
366 'palettes' => Array (
367 '1' => Array('showitem' => 'disable, starttime, endtime')
368 )
369 );
370
371
372
373 /**
374 * Backend usergroups - Much permission criterias are based on membership of backend groups.
375 */
376 $TCA['be_groups'] = Array (
377 'ctrl' => $TCA['be_groups']['ctrl'],
378 'interface' => Array (
379 'showRecordFieldList' => 'title,db_mountpoints,file_mountpoints,inc_access_lists,tables_select,tables_modify,pagetypes_select,non_exclude_fields,groupMods,lockToDomain,description'
380 ),
381 'columns' => Array (
382 'title' => Array (
383 'label' => 'Grouptitle:',
384 'config' => Array (
385 'type' => 'input',
386 'size' => '25',
387 'max' => '20',
388 'eval' => 'trim,required'
389 )
390 ),
391 'db_mountpoints' => Array (
392 'label' => 'DB Mounts:',
393 'config' => Array (
394 'type' => 'group',
395 'internal_type' => 'db',
396 'allowed' => 'pages',
397 'size' => '3',
398 'maxitems' => '10',
399 'autoSizeMax' => 10,
400 'show_thumbs' => '1'
401 )
402 ),
403 'file_mountpoints' => Array (
404 'label' => 'File Mounts:',
405 'config' => Array (
406 'type' => 'select',
407 'foreign_table' => 'sys_filemounts',
408 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
409 'size' => '3',
410 'maxitems' => '10',
411 'autoSizeMax' => 10,
412 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
413 'iconsInOptionTags' => 1,
414 'wizards' => Array(
415 '_PADDING' => 1,
416 '_VERTICAL' => 1,
417 'edit' => Array(
418 'type' => 'popup',
419 'title' => 'Edit filemount',
420 'script' => 'wizard_edit.php',
421 'popup_onlyOpenIfSelected' => 1,
422 'icon' => 'edit2.gif',
423 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
424 ),
425 'add' => Array(
426 'type' => 'script',
427 'title' => 'Create new filemount',
428 'icon' => 'add.gif',
429 'params' => Array(
430 'table'=>'sys_filemounts',
431 'pid' => '0',
432 'setValue' => 'prepend'
433 ),
434 'script' => 'wizard_add.php',
435 ),
436 'list' => Array(
437 'type' => 'script',
438 'title' => 'List filemounts',
439 'icon' => 'list.gif',
440 'params' => Array(
441 'table'=>'sys_filemounts',
442 'pid' => '0',
443 ),
444 'script' => 'wizard_list.php',
445 )
446 )
447 )
448 ),
449 'pagetypes_select' => Array (
450 'label' => 'Page types:',
451 'config' => Array (
452 'type' => 'select',
453 'special' => 'pagetypes',
454 'size' => '5',
455 'autoSizeMax' => 50,
456 'maxitems' => 20,
457 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
458 'iconsInOptionTags' => 1,
459 )
460 ),
461 'tables_modify' => Array (
462 'label' => 'Tables (modify):',
463 'config' => Array (
464 'type' => 'select',
465 'special' => 'tables',
466 'size' => '5',
467 'autoSizeMax' => 50,
468 'maxitems' => 20,
469 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
470 'iconsInOptionTags' => 1,
471 )
472 ),
473 'tables_select' => Array (
474 'label' => 'Tables (listing):',
475 'config' => Array (
476 'type' => 'select',
477 'special' => 'tables',
478 'size' => '5',
479 'autoSizeMax' => 50,
480 'maxitems' => 20,
481 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
482 'iconsInOptionTags' => 1,
483 )
484 ),
485 'non_exclude_fields' => Array (
486 'label' => 'Allowed excludefields:',
487 'config' => Array (
488 'type' => 'select',
489 'special' => 'exclude',
490 'size' => '25',
491 'maxitems' => '300',
492 'autoSizeMax' => 50,
493 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
494 )
495 ),
496 'explicit_allowdeny' => Array (
497 'label' => 'Explicitly allow/deny field values:',
498 'config' => Array (
499 'type' => 'select',
500 'special' => 'explicitValues',
501 'maxitems' => '1000',
502 'renderMode' => 'checkbox',
503 )
504 ),
505 'allowed_languages' => Array (
506 'label' => 'Limit to languages:',
507 'config' => Array (
508 'type' => 'select',
509 'special' => 'languages',
510 'maxitems' => '1000',
511 'renderMode' => 'checkbox',
512 )
513 ),
514 'custom_options' => Array (
515 'label' => 'Custom module options:',
516 'config' => Array (
517 'type' => 'select',
518 'special' => 'custom',
519 'maxitems' => '1000',
520 'renderMode' => 'checkbox',
521 )
522 ),
523 'hidden' => Array (
524 'label' => 'Disable:',
525 'config' => Array (
526 'type' => 'check',
527 'default' => '0'
528 )
529 ),
530 'lockToDomain' => Array (
531 'label' => 'Lock to domain:',
532 'config' => Array (
533 'type' => 'input',
534 'size' => '20',
535 'eval' => 'trim',
536 'max' => '50',
537 'checkbox' => '',
538 'softref' => 'substitute'
539 )
540 ),
541 'groupMods' => Array (
542 'label' => 'Modules:',
543 'config' => Array (
544 'type' => 'select',
545 'special' => 'modListGroup',
546 'size' => '5',
547 'autoSizeMax' => 50,
548 'maxitems' => '15',
549 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
550 'iconsInOptionTags' => 1,
551 )
552 ),
553 'inc_access_lists' => Array (
554 'label' => 'Include Access Lists:',
555 'config' => Array (
556 'type' => 'check',
557 'default' => '0'
558 )
559 ),
560 'description' => Array (
561 'label' => 'Description:',
562 'config' => Array (
563 'type' => 'text',
564 'rows' => 5,
565 'cols' => 30
566 )
567 ),
568 'TSconfig' => Array (
569 'label' => 'TSconfig:',
570 'config' => Array (
571 'type' => 'text',
572 'cols' => '40',
573 'rows' => '5',
574 'wizards' => Array(
575 '_PADDING' => 4,
576 '0' => Array(
577 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
578 'title' => 'TSconfig QuickReference',
579 'script' => 'wizard_tsconfig.php?mode=beuser',
580 'icon' => 'wizard_tsconfig.gif',
581 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
582 )
583 ),
584 'softref' => 'TSconfig'
585 )
586 ),
587 'hide_in_lists' => Array (
588 'label' => 'Hide in lists:',
589 'config' => Array (
590 'type' => 'check',
591 'default' => 0
592 )
593 ),
594 'subgroup' => Array (
595 'label' => 'Sub Groups:',
596 'config' => Array (
597 'type' => 'select',
598 'foreign_table' => 'be_groups',
599 'foreign_table_where' => 'ORDER BY be_groups.title',
600 'size' => '5',
601 'autoSizeMax' => 50,
602 'maxitems' => 20,
603 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
604 'iconsInOptionTags' => 1,
605 )
606 )
607 ),
608 'types' => Array (
609 '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2, lockToDomain, --div--, inc_access_lists;;;;3-3-3, db_mountpoints;;;;4-4-4,file_mountpoints,hide_in_lists,subgroup,description, --div--, TSconfig;;;;5-5-5'),
610 '1' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2, lockToDomain, --div--, inc_access_lists;;;;3-3-3, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options, --div--, db_mountpoints;;;;4-4-4,file_mountpoints,hide_in_lists,subgroup,description, --div--, TSconfig;;;;5-5-5')
611 )
612 );
613
614
615
616 /**
617 * System filemounts - Defines filepaths on the server which can be mounted for users so they can upload and manage files online by eg. the Filelist module
618 */
619 $TCA['sys_filemounts'] = Array (
620 'ctrl' => $TCA['sys_filemounts']['ctrl'],
621 'interface' => Array (
622 'showRecordFieldList' => 'title,hidden,path,base'
623 ),
624 'columns' => Array (
625 'title' => Array (
626 'label' => 'LABEL:',
627 'config' => Array (
628 'type' => 'input',
629 'size' => '20',
630 'max' => '30',
631 'eval' => 'required,trim'
632 )
633 ),
634 'path' => Array (
635 'label' => 'PATH:',
636 'config' => Array (
637 'type' => 'input',
638 'size' => '40',
639 'max' => '120',
640 'eval' => 'required,trim',
641 'softref' => 'substitute'
642 )
643 ),
644 'hidden' => Array (
645 'label' => 'Disable:',
646 'config' => Array (
647 'type' => 'check'
648 )
649 ),
650 'base' => Array (
651 'label' => 'BASE',
652 'config' => Array (
653 'type' => 'radio',
654 'items' => Array (
655 Array('absolute (root) / ', 0),
656 Array('relative ../fileadmin/', 1)
657 ),
658 'default' => 0
659 )
660 )
661 ),
662 'types' => Array (
663 '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;3-3-3,path,base')
664 )
665 );
666
667
668
669 /**
670 * System languages - Defines possible languages used for translation of records in the system
671 */
672 $TCA['sys_language'] = Array (
673 'ctrl' => $TCA['sys_language']['ctrl'],
674 'interface' => Array (
675 'showRecordFieldList' => 'hidden,title'
676 ),
677 'columns' => Array (
678 'title' => Array (
679 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
680 'config' => Array (
681 'type' => 'input',
682 'size' => '35',
683 'max' => '80',
684 'eval' => 'trim,required'
685 )
686 ),
687 'hidden' => Array (
688 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
689 'exclude' => 1,
690 'config' => Array (
691 'type' => 'check',
692 'default' => '0'
693 )
694 ),
695 'static_lang_isocode' => Array (
696 'exclude' => 1,
697 'label' => 'LLL:EXT:lang/locallang_tca.php:sys_language.isocode',
698 'displayCond' => 'EXT:static_info_tables:LOADED:true',
699 'config' => Array (
700 'type' => 'select',
701 'items' => Array (
702 Array('',0),
703 ),
704 'foreign_table' => 'static_languages',
705 'foreign_table_where' => 'AND static_languages.pid=0 ORDER BY static_languages.lg_name_en',
706 'size' => 1,
707 'minitems' => 0,
708 'maxitems' => 1,
709 )
710 ),
711 'flag' => array(
712 'label' => 'LLL:EXT:lang/locallang_tca.php:sys_language.flag',
713 'config' => Array (
714 'type' => 'select',
715 'items' => Array (
716 Array('',0),
717 ),
718 'fileFolder' => 't3lib/gfx/flags/', // Only shows if "t3lib/" is in the PATH_site...
719 'fileFolder_extList' => 'png,jpg,jpeg,gif',
720 'fileFolder_recursions' => 0,
721 'selicon_cols' => 8,
722 'size' => 1,
723 'minitems' => 0,
724 'maxitems' => 1,
725 )
726 )
727 ),
728 'types' => Array (
729 '1' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,static_lang_isocode,flag')
730 )
731 );
732
733 ?>