‪TYPO3CMS  11.5
sys_workspace.php
Go to the documentation of this file.
1 <?php
2 
3 return [
4  'ctrl' => [
5  'label' => 'title',
6  'tstamp' => 'tstamp',
7  'title' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace',
8  'descriptionColumn' => 'description',
9  'adminOnly' => true,
10  'rootLevel' => 1,
11  'groupName' => 'system',
12  'delete' => 'deleted',
13  'typeicon_classes' => [
14  'default' => 'mimetypes-x-sys_workspace',
15  ],
16  'versioningWS_alwaysAllowLiveEdit' => true,
17  ],
18  'columns' => [
19  'title' => [
20  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.title',
21  'config' => [
22  'type' => 'input',
23  'size' => 20,
24  'max' => 30,
25  'eval' => 'required,trim,unique',
26  ],
27  ],
28  'description' => [
29  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.description',
30  'config' => [
31  'type' => 'text',
32  'rows' => 5,
33  'cols' => 30,
34  ],
35  ],
36  'adminusers' => [
37  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.adminusers',
38  'config' => [
39  'type' => 'group',
40  'allowed' => 'be_users,be_groups',
41  'prepend_tname' => true,
42  'size' => 3,
43  'maxitems' => 10,
44  'autoSizeMax' => 10,
45  ],
46  ],
47  'members' => [
48  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.members',
49  'config' => [
50  'type' => 'group',
51  'allowed' => 'be_users,be_groups',
52  'prepend_tname' => true,
53  'size' => 3,
54  'maxitems' => 100,
55  'autoSizeMax' => 10,
56  ],
57  ],
58  'db_mountpoints' => [
59  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:db_mountpoints',
60  'config' => [
61  'type' => 'group',
62  'allowed' => 'pages',
63  'size' => 3,
64  'maxitems' => 100,
65  'autoSizeMax' => 10,
66  ],
67  ],
68  'file_mountpoints' => [
69  'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:file_mountpoints',
70  'config' => [
71  'type' => 'select',
72  'renderType' => 'selectCheckBox',
73  'foreign_table' => 'sys_filemounts',
74  'size' => 3,
75  'maxitems' => 100,
76  'autoSizeMax' => 10,
77  ],
78  ],
79  'publish_time' => [
80  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_time',
81  'config' => [
82  'type' => 'input',
83  'renderType' => 'inputDateTime',
84  'eval' => 'datetime,int',
85  'default' => 0,
86  ],
87  ],
88  'freeze' => [
89  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.freeze',
90  'config' => [
91  'type' => 'check',
92  'renderType' => 'checkboxToggle',
93  'default' => 0,
94  ],
95  ],
96  'live_edit' => [
97  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.live_edit',
98  'config' => [
99  'type' => 'check',
100  'renderType' => 'checkboxToggle',
101  'default' => 0,
102  ],
103  ],
104  'publish_access' => [
105  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access',
106  'config' => [
107  'type' => 'check',
108  'items' => [
109  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.1'],
110  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.2'],
111  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_access.3'],
112  ],
113  ],
114  ],
115  'previewlink_lifetime' => [
116  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.previewlink_lifetime',
117  'config' => [
118  'type' => 'input',
119  'eval' => 'int',
120  'size' => 10,
121  'default' => 48,
122  ],
123  ],
124  'stagechg_notification' => [
125  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification',
126  'config' => [
127  'type' => 'select',
128  'renderType' => 'selectSingle',
129  'items' => [
130  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.0', 0],
131  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.1', 1],
132  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.stagechg_notification.10', 10],
133  ],
134  ],
135  ],
136  'custom_stages' => [
137  'exclude' => true,
138  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.custom_stages',
139  'config' => [
140  'type' => 'inline',
141  'foreign_table' => 'sys_workspace_stage',
142  'appearance' => [
143  'useSortable' => true,
144  'expandSingle' => true,
145  ],
146  'foreign_field' => 'parentid',
147  'foreign_table_field' => 'parenttable',
148  ],
149  'default' => 0,
150  ],
151  'edit_notification_defaults' => [
152  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
153  'config' => [
154  'type' => 'group',
155  'allowed' => 'be_users,be_groups',
156  'prepend_tname' => true,
157  'size' => 3,
158  'maxitems' => 100,
159  'autoSizeMax' => 20,
160  ],
161  ],
162  'edit_allow_notificaton_settings' => [
163  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
164  'config' => [
165  'type' => 'check',
166  'items' => [
167  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
168  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
169  ],
170  'default' => 3,
171  'cols' => 1,
172  ],
173  ],
174  'edit_notification_preselection' => [
175  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
176  'config' => [
177  'type' => 'check',
178  'items' => [
179  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
180  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
181  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
182  ],
183  'default' => 2,
184  'cols' => 1,
185  ],
186  ],
187  'publish_notification_defaults' => [
188  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
189  'config' => [
190  'type' => 'group',
191  'allowed' => 'be_users,be_groups',
192  'prepend_tname' => true,
193  'size' => 3,
194  'maxitems' => 100,
195  'autoSizeMax' => 20,
196  ],
197  ],
198  'publish_allow_notificaton_settings' => [
199  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
200  'config' => [
201  'type' => 'check',
202  'items' => [
203  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
204  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
205  ],
206  'default' => 3,
207  'cols' => 1,
208  ],
209  ],
210  'publish_notification_preselection' => [
211  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
212  'config' => [
213  'type' => 'check',
214  'items' => [
215  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
216  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
217  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
218  ],
219  'default' => 1,
220  'cols' => 1,
221  ],
222  ],
223  'execute_notification_defaults' => [
224  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
225  'config' => [
226  'type' => 'group',
227  'allowed' => 'be_users,be_groups',
228  'prepend_tname' => true,
229  'size' => 3,
230  'maxitems' => 100,
231  'autoSizeMax' => 20,
232  ],
233  ],
234  'execute_allow_notificaton_settings' => [
235  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
236  'config' => [
237  'type' => 'check',
238  'items' => [
239  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'],
240  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'],
241  ],
242  'default' => 3,
243  'cols' => 1,
244  ],
245  ],
246  'execute_notification_preselection' => [
247  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
248  'config' => [
249  'type' => 'check',
250  'items' => [
251  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'],
252  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'],
253  ['LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'],
254  ],
255  'default' => 3,
256  'cols' => 1,
257  ],
258  ],
259  ],
260  'palettes' => [
261  'main' => [
262  'showitem' => 'title,freeze',
263  ],
264  'memberlist' => [
265  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.users',
266  'showitem' => 'adminusers,members',
267  ],
268  'stage.edit' => [
269  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.edit',
270  'showitem' => 'edit_allow_notificaton_settings, edit_notification_preselection,',
271  ],
272  'stage.publish' => [
273  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.publish',
274  'showitem' => 'publish_allow_notificaton_settings, publish_notification_preselection,',
275  ],
276  'stage.execute' => [
277  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.palette.stage.execute',
278  'showitem' => 'execute_allow_notificaton_settings, execute_notification_preselection,',
279  ],
280  ],
281  'types' => [
282  '0' => ['showitem' => '
283  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
284  --palette--;;main,
285  stagechg_notification,
286  --palette--;;memberlist,
287  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.internal_stages,
288  --palette--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings,
289  --palette--;;stage.edit, edit_notification_defaults,
290  --palette--;;stage.publish, publish_notification_defaults,
291  --palette--;;stage.execute, execute_notification_defaults,
292  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.custom_stages,
293  custom_stages,
294  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.mountpoints,
295  db_mountpoints,file_mountpoints,
296  --div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.publish_access,
297  previewlink_lifetime,live_edit,publish_access,publish_time,
298  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
299  description,
300  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
301  '],
302  ],
303 ];