TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
workspaces
Configuration
TCA
sys_workspace.php
Go to the documentation of this file.
1
<?php
2
return
array(
3
'ctrl'
=> array(
4
'label'
=>
'title'
,
5
'tstamp'
=>
'tstamp'
,
6
'title'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace'
,
7
'adminOnly'
=> 1,
8
'rootLevel'
=> 1,
9
'delete'
=>
'deleted'
,
10
'typeicon_classes'
=> array(
11
'default'
=>
'mimetypes-x-sys_workspace'
12
),
13
'versioningWS_alwaysAllowLiveEdit'
=>
true
14
),
15
'columns'
=> array(
16
'title'
=> array(
17
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.title'
,
18
'config'
=> array(
19
'type'
=>
'input'
,
20
'size'
=>
'20'
,
21
'max'
=>
'30'
,
22
'eval'
=>
'required,trim,unique'
23
)
24
),
25
'description'
=> array(
26
'label'
=>
'LLL:EXT:lang/locallang_general.xlf:LGL.description'
,
27
'config'
=> array(
28
'type'
=>
'text'
,
29
'rows'
=> 5,
30
'cols'
=> 30
31
)
32
),
33
'adminusers'
=> array(
34
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.adminusers'
,
35
'config'
=> array(
36
'type'
=>
'group'
,
37
'internal_type'
=>
'db'
,
38
'allowed'
=>
'be_users,be_groups'
,
39
'prepend_tname'
=> 1,
40
'size'
=>
'3'
,
41
'maxitems'
=>
'10'
,
42
'autoSizeMax'
=> 10,
43
'show_thumbs'
=>
'1'
,
44
'wizards'
=> array(
45
'suggest'
=> array(
46
'type'
=>
'suggest'
47
)
48
)
49
)
50
),
51
'members'
=> array(
52
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.members'
,
53
'config'
=> array(
54
'type'
=>
'group'
,
55
'internal_type'
=>
'db'
,
56
'allowed'
=>
'be_users,be_groups'
,
57
'prepend_tname'
=> 1,
58
'size'
=>
'3'
,
59
'maxitems'
=>
'100'
,
60
'autoSizeMax'
=> 10,
61
'show_thumbs'
=>
'1'
,
62
'wizards'
=> array(
63
'suggest'
=> array(
64
'type'
=>
'suggest'
65
)
66
)
67
)
68
),
69
'db_mountpoints'
=> array(
70
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:db_mountpoints'
,
71
'config'
=> array(
72
'type'
=>
'group'
,
73
'internal_type'
=>
'db'
,
74
'allowed'
=>
'pages'
,
75
'size'
=>
'3'
,
76
'maxitems'
=> 25,
77
'autoSizeMax'
=> 10,
78
'show_thumbs'
=>
'1'
,
79
'wizards'
=> array(
80
'suggest'
=> array(
81
'type'
=>
'suggest'
82
)
83
)
84
)
85
),
86
'file_mountpoints'
=> array(
87
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints'
,
88
'config'
=> array(
89
'type'
=>
'select'
,
90
'renderType'
=>
'selectCheckBox'
,
91
'foreign_table'
=>
'sys_filemounts'
,
92
'foreign_table_where'
=>
' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title'
,
93
'size'
=>
'3'
,
94
'maxitems'
=> 25,
95
'autoSizeMax'
=> 10,
96
)
97
),
98
'publish_time'
=> array(
99
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.publish_time'
,
100
'config'
=> array(
101
'type'
=>
'input'
,
102
'size'
=>
'8'
,
103
'eval'
=>
'datetime'
,
104
'default'
=>
'0'
,
105
)
106
),
107
'unpublish_time'
=> array(
108
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.unpublish_time'
,
109
'config'
=> array(
110
'type'
=>
'input'
,
111
'size'
=>
'8'
,
112
'eval'
=>
'datetime'
,
113
'default'
=>
'0'
,
114
'range'
=> array(
115
'upper'
=> mktime(0, 0, 0, 12, 31, 2020)
116
)
117
),
118
'displayCond'
=>
'FALSE'
119
),
120
'freeze'
=> array(
121
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.freeze'
,
122
'config'
=> array(
123
'type'
=>
'check'
,
124
'default'
=>
'0'
125
)
126
),
127
'live_edit'
=> array(
128
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.live_edit'
,
129
'config'
=> array(
130
'type'
=>
'check'
,
131
'default'
=>
'0'
132
)
133
),
134
'swap_modes'
=> array(
135
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.swap_modes'
,
136
'config'
=> array(
137
'type'
=>
'select'
,
138
'renderType'
=>
'selectSingle'
,
139
'items'
=> array(
140
array(
''
, 0),
141
array(
'Swap-Into-Workspace on Auto-publish'
, 1),
142
array(
'Disable Swap-Into-Workspace'
, 2)
143
)
144
)
145
),
146
'publish_access'
=> array(
147
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.publish_access'
,
148
'config'
=> array(
149
'type'
=>
'check'
,
150
'items'
=> array(
151
array(
'Publish only content in publish stage'
, 0),
152
array(
'Only workspace owner can publish'
, 0)
153
)
154
)
155
),
156
'stagechg_notification'
=> array(
157
'label'
=>
'LLL:EXT:lang/locallang_tca.xlf:sys_workspace.stagechg_notification'
,
158
'config'
=> array(
159
'type'
=>
'select'
,
160
'renderType'
=>
'selectSingle'
,
161
'items'
=> array(
162
array(
''
, 0),
163
array(
'Notify users on next stage only'
, 1),
164
array(
'Notify all users on any change'
, 10)
165
)
166
)
167
),
168
'custom_stages'
=> array(
169
'exclude'
=> 1,
170
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.custom_stages'
,
171
'config'
=> array(
172
'type'
=>
'inline'
,
173
'foreign_table'
=>
'sys_workspace_stage'
,
174
'appearance'
=>
'useSortable,expandSingle'
,
175
'foreign_field'
=>
'parentid'
,
176
'foreign_table_field'
=>
'parenttable'
,
177
'minitems'
=> 0
178
),
179
'default'
=> 0
180
),
181
// @deprecated not used anymore
182
'edit_notification_mode'
=> array(
183
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.edit_notification_mode'
,
184
'config'
=> array(
185
'type'
=>
'select'
,
186
'renderType'
=>
'selectSingle'
,
187
'items'
=> array(
188
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.0'
, 0),
189
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.1'
, 1),
190
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.2'
, 2)
191
)
192
)
193
),
194
'edit_notification_defaults'
=> array(
195
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults'
,
196
'displayCond'
=>
'FIELD:edit_allow_notificaton_settings:BIT:1'
,
197
'config'
=> array(
198
'type'
=>
'group'
,
199
'internal_type'
=>
'db'
,
200
'allowed'
=>
'be_users,be_groups'
,
201
'prepend_tname'
=> 1,
202
'size'
=>
'3'
,
203
'maxitems'
=>
'100'
,
204
'autoSizeMax'
=> 20,
205
'show_thumbs'
=>
'1'
,
206
'wizards'
=> array(
207
'suggest'
=> array(
208
'type'
=>
'suggest'
209
)
210
)
211
)
212
),
213
'edit_allow_notificaton_settings'
=> array(
214
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog'
,
215
'config'
=> array(
216
'type'
=>
'check'
,
217
'items'
=> array(
218
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'
,
''
),
219
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'
,
''
),
220
),
221
'default'
=> 3,
222
'cols'
=> 2,
223
)
224
),
225
'edit_notification_preselection'
=> array(
226
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection'
,
227
'config'
=> array(
228
'type'
=>
'check'
,
229
'items'
=> array(
230
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'
,
''
),
231
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'
,
''
),
232
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'
,
''
),
233
),
234
'default'
=> 2,
235
'cols'
=> 3,
236
)
237
),
238
// @deprecated not used anymore
239
'publish_notification_mode'
=> array(
240
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.publish_notification_mode'
,
241
'config'
=> array(
242
'type'
=>
'select'
,
243
'renderType'
=>
'selectSingle'
,
244
'items'
=> array(
245
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.0'
, 0),
246
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.1'
, 1),
247
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.2'
, 2)
248
)
249
)
250
),
251
'publish_notification_defaults'
=> array(
252
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults'
,
253
'displayCond'
=>
'FIELD:publish_allow_notificaton_settings:BIT:1'
,
254
'config'
=> array(
255
'type'
=>
'group'
,
256
'internal_type'
=>
'db'
,
257
'allowed'
=>
'be_users,be_groups'
,
258
'prepend_tname'
=> 1,
259
'size'
=>
'3'
,
260
'maxitems'
=>
'100'
,
261
'autoSizeMax'
=> 20,
262
'show_thumbs'
=>
'1'
,
263
'wizards'
=> array(
264
'suggest'
=> array(
265
'type'
=>
'suggest'
266
)
267
)
268
)
269
),
270
'publish_allow_notificaton_settings'
=> array(
271
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog'
,
272
'config'
=> array(
273
'type'
=>
'check'
,
274
'items'
=> array(
275
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'
,
''
),
276
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'
,
''
),
277
),
278
'default'
=> 3,
279
'cols'
=> 2,
280
)
281
),
282
'publish_notification_preselection'
=> array(
283
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection'
,
284
'config'
=> array(
285
'type'
=>
'check'
,
286
'items'
=> array(
287
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'
,
''
),
288
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'
,
''
),
289
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'
,
''
),
290
),
291
'default'
=> 1,
292
'cols'
=> 3,
293
)
294
),
295
'execute_notification_defaults'
=> array(
296
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults'
,
297
'displayCond'
=>
'FIELD:execute_allow_notificaton_settings:BIT:1'
,
298
'config'
=> array(
299
'type'
=>
'group'
,
300
'internal_type'
=>
'db'
,
301
'allowed'
=>
'be_users,be_groups'
,
302
'prepend_tname'
=> 1,
303
'size'
=>
'3'
,
304
'maxitems'
=>
'100'
,
305
'autoSizeMax'
=> 20,
306
'show_thumbs'
=>
'1'
,
307
'wizards'
=> array(
308
'suggest'
=> array(
309
'type'
=>
'suggest'
310
)
311
)
312
)
313
),
314
'execute_allow_notificaton_settings'
=> array(
315
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog'
,
316
'config'
=> array(
317
'type'
=>
'check'
,
318
'items'
=> array(
319
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog'
,
''
),
320
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection'
,
''
),
321
),
322
'default'
=> 3,
323
'cols'
=> 2,
324
)
325
),
326
'execute_notification_preselection'
=> array(
327
'label'
=>
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection'
,
328
'config'
=> array(
329
'type'
=>
'check'
,
330
'items'
=> array(
331
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners'
,
''
),
332
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members'
,
''
),
333
array(
'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors'
,
''
),
334
),
335
'default'
=> 3,
336
'cols'
=> 3,
337
)
338
)
339
),
340
'palettes'
=> array(
341
'stage.edit'
=> array(
342
'canNotCollapse'
=>
true
,
343
'showitem'
=>
'edit_allow_notificaton_settings, edit_notification_preselection,'
,
344
),
345
'stage.publish'
=> array(
346
'canNotCollapse'
=>
true
,
347
'showitem'
=>
'publish_allow_notificaton_settings, publish_notification_preselection,'
,
348
),
349
'stage.execute'
=> array(
350
'canNotCollapse'
=>
true
,
351
'showitem'
=>
'execute_allow_notificaton_settings, execute_notification_preselection,'
,
352
)
353
),
354
'types'
=> array(
355
'0'
=> array(
'showitem'
=>
'title,description,
356
--div--;LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.tabs.users,adminusers,members,
357
--div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:tabs.notification_settings, stagechg_notification,
358
--palette--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xml:sys_workspace.palette.stage.edit;stage.edit, edit_notification_defaults,
359
--palette--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xml:sys_workspace.palette.stage.publish;stage.publish, publish_notification_defaults,
360
--palette--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xml:sys_workspace.palette.stage.execute;stage.execute, execute_notification_defaults,
361
--div--;LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.tabs.mountpoints,db_mountpoints,file_mountpoints,
362
--div--;LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.tabs.publishing,publish_time,unpublish_time,
363
--div--;LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_filemounts.tabs.staging,custom_stages,
364
--div--;LLL:EXT:lang/locallang_tca.xlf:sys_filemounts.tabs.other,freeze,live_edit,swap_modes,publish_access'
)
365
)
366
);
Generated on Wed Nov 11 2015 01:52:05 for TYPO3 by
1.8.3