[TASK] Mark out-dated workspaces parts as deprecated
[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 // @deprecated not used anymore
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 'renderType' => 'selectSingle',
73 'items' => array(
74 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.0', 0),
75 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.1', 1),
76 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.2', 2)
77 )
78 )
79 ),
80 'notification_defaults' => array(
81 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
82 'displayCond' => 'FIELD:allow_notificaton_settings:BIT:1',
83 'config' => array(
84 'type' => 'group',
85 'internal_type' => 'db',
86 'allowed' => 'be_users,be_groups',
87 'prepend_tname' => 1,
88 'size' => '3',
89 'maxitems' => '100',
90 'autoSizeMax' => 20,
91 'show_thumbs' => '1',
92 'wizards' => array(
93 'suggest' => array(
94 'type' => 'suggest'
95 )
96 )
97 )
98 ),
99 'allow_notificaton_settings' => array(
100 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
101 'config' => array(
102 'type' => 'check',
103 'items' => array(
104 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog', ''),
105 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection', ''),
106 ),
107 'default' => 3,
108 'cols' => 2,
109 )
110 ),
111 'notification_preselection' => array(
112 'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
113 'config' => array(
114 'type' => 'check',
115 'items' => array(
116 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners', ''),
117 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members', ''),
118 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors', ''),
119 array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.responsiblePersons', ''),
120 ),
121 'default' => 8,
122 'cols' => 4,
123 )
124 )
125 ),
126 'palettes' => array(
127 'stage' => array(
128 'showitem' => 'allow_notificaton_settings, notification_preselection,',
129 )
130 ),
131 'types' => array(
132 '0' => array('showitem' => '
133 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.general,title,responsible_persons,
134 --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings,--palette--;;stage, notification_defaults, default_mailcomment')
135 )
136 );