[TASK] Remove deprecated code from ext:workspaces
[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 'typeicon_classes' => array(
13 'default' => 'mimetypes-x-sys_workspace'
14 ),
15 'versioningWS_alwaysAllowLiveEdit' => true
16 ),
17 'columns' => array(
18 'title' => array(
19 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title',
20 'config' => array(
21 'type' => 'input',
22 'size' => '20',
23 'max' => '30',
24 'eval' => 'required,trim'
25 )
26 ),
27 'responsible_persons' => array(
28 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.responsible_persons',
29 'config' => array(
30 'type' => 'group',
31 'internal_type' => 'db',
32 'allowed' => 'be_users,be_groups',
33 'prepend_tname' => 1,
34 'size' => '3',
35 'maxitems' => '100',
36 'autoSizeMax' => 20,
37 'show_thumbs' => '1',
38 'wizards' => array(
39 'suggest' => array(
40 'type' => 'suggest'
41 )
42 )
43 )
44 ),
45 'default_mailcomment' => array(
46 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.default_mailcomment',
47 'config' => array(
48 'type' => 'text',
49 'rows' => 5,
50 'cols' => 30
51 )
52 ),
53 'parentid' => array(
54 'exclude' => 0,
55 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.parentid',
56 'config' => array(
57 'type' => 'passthrough'
58 )
59 ),
60 'parenttable' => array(
61 'exclude' => 0,
62 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.parenttable',
63 'config' => array(
64 'type' => 'passthrough'
65 )
66 ),
67 'notification_defaults' => array(
68 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
69 'displayCond' => 'FIELD:allow_notificaton_settings:BIT:1',
70 'config' => array(
71 'type' => 'group',
72 'internal_type' => 'db',
73 'allowed' => 'be_users,be_groups',
74 'prepend_tname' => 1,
75 'size' => '3',
76 'maxitems' => '100',
77 'autoSizeMax' => 20,
78 'show_thumbs' => '1',
79 'wizards' => array(
80 'suggest' => array(
81 'type' => 'suggest'
82 )
83 )
84 )
85 ),
86 'allow_notificaton_settings' => array(
87 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
88 'config' => array(
89 'type' => 'check',
90 'items' => array(
91 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog', ''),
92 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection', ''),
93 ),
94 'default' => 3,
95 'cols' => 2,
96 )
97 ),
98 'notification_preselection' => array(
99 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
100 'config' => array(
101 'type' => 'check',
102 'items' => array(
103 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners', ''),
104 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members', ''),
105 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors', ''),
106 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.responsiblePersons', ''),
107 ),
108 'default' => 8,
109 'cols' => 4,
110 )
111 )
112 ),
113 'palettes' => array(
114 'stage' => array(
115 'showitem' => 'allow_notificaton_settings, notification_preselection,',
116 )
117 ),
118 'types' => array(
119 '0' => array('showitem' => '
120 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.general,title,responsible_persons,
121 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings,--palette--;;stage, notification_defaults, default_mailcomment')
122 )
123 );