TYPO3  7.6
sys_workspace_stage.php
Go to the documentation of this file.
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_mode' => array(
68  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_mode',
69  'config' => array(
70  'type' => 'select',
71  'renderType' => 'selectSingle',
72  'items' => array(
73  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.0', 0),
74  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.1', 1),
75  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.notification_mode.2', 2)
76  )
77  )
78  ),
79  'notification_defaults' => array(
80  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace_stage.notification_defaults',
81  'displayCond' => 'FIELD:allow_notificaton_settings:BIT:1',
82  'config' => array(
83  'type' => 'group',
84  'internal_type' => 'db',
85  'allowed' => 'be_users,be_groups',
86  'prepend_tname' => 1,
87  'size' => '3',
88  'maxitems' => '100',
89  'autoSizeMax' => 20,
90  'show_thumbs' => '1',
91  'wizards' => array(
92  'suggest' => array(
93  'type' => 'suggest'
94  )
95  )
96  )
97  ),
98  'allow_notificaton_settings' => array(
99  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog',
100  'config' => array(
101  'type' => 'check',
102  'items' => array(
103  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.showDialog', ''),
104  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.settingsDialog.changeablePreselection', ''),
105  ),
106  'default' => 3,
107  'cols' => 2,
108  )
109  ),
110  'notification_preselection' => array(
111  'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection',
112  'config' => array(
113  'type' => 'check',
114  'items' => array(
115  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.owners', ''),
116  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.members', ''),
117  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.editors', ''),
118  array('LLL:EXT:workspaces/Resources/Private/Language/locallang_db.xlf:sys_workspace.preselection.responsiblePersons', ''),
119  ),
120  'default' => 8,
121  'cols' => 4,
122  )
123  )
124  ),
125  'palettes' => array(
126  'stage' => array(
127  'canNotCollapse' => true,
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 );