[CLEANUP] Remove dividers2tabs functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Configuration / TCA / sys_workspace_stage.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'sortby' => 'sorting',
7 'title' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage',
8 'adminOnly' => 1,
9 'rootLevel' => 1,
10 'hideTable' => TRUE,
11 'delete' => 'deleted',
12 'iconfile' => 'sys_workspace.png',
13 'typeicon_classes' => array(
14 'default' => 'mimetypes-x-sys_workspace'
15 ),
16 'versioningWS_alwaysAllowLiveEdit' => TRUE
17 ),
18 'columns' => array(
19 'title' => array(
20 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title',
21 'config' => array(
22 'type' => 'input',
23 'size' => '20',
24 'max' => '30',
25 'eval' => 'required,trim'
26 )
27 ),
28 'responsible_persons' => array(
29 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.responsible_persons',
30 'config' => array(
31 'type' => 'group',
32 'internal_type' => 'db',
33 'allowed' => 'be_users,be_groups',
34 'prepend_tname' => 1,
35 'size' => '3',
36 'maxitems' => '100',
37 'autoSizeMax' => 20,
38 'show_thumbs' => '1',
39 'wizards' => array(
40 'suggest' => array(
41 'type' => 'suggest'
42 )
43 )
44 )
45 ),
46 'default_mailcomment' => array(
47 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.default_mailcomment',
48 'config' => array(
49 'type' => 'text',
50 'rows' => 5,
51 'cols' => 30
52 )
53 ),
54 'parentid' => array(
55 'exclude' => 0,
56 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.parentid',
57 'config' => array(
58 'type' => 'passthrough'
59 )
60 ),
61 'parenttable' => array(
62 'exclude' => 0,
63 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.parenttable',
64 'config' => array(
65 'type' => 'passthrough'
66 )
67 ),
68 'notification_mode' => array(
69 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_mode',
70 'config' => array(
71 'type' => 'select',
72 'items' => array(
73 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.0', 0),
74 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.1', 1),
75 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.2', 2)
76 )
77 )
78 ),
79 'notification_defaults' => array(
80 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
81 'displayCond' => 'FIELD:notification_mode:IN:0,1',
82 'config' => array(
83 'type' => 'group',
84 'internal_type' => 'db',
85 'allowed' => 'be_users,be_groups',
86 'prepend_tname' => 1,
87 'size' => '3',
88 'maxitems' => '100',
89 'autoSizeMax' => 20,
90 'show_thumbs' => '1',
91 'wizards' => array(
92 'suggest' => array(
93 'type' => 'suggest'
94 )
95 )
96 )
97 ),
98 'allow_notificaton_settings' => array(
99 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.allow_notificaton_settings',
100 'config' => array(
101 'type' => 'check',
102 'default' => 1
103 )
104 )
105 ),
106 'types' => array(
107 '0' => array('showitem' => '
108 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.general,title,responsible_persons,
109 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings,notification_mode,notification_defaults,allow_notificaton_settings,default_mailcomment')
110 )
111 );