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