Passed
Pull Request — master (#195)
by
unknown
19:02
created
src/Configuration/TCA/tx_dpf_domain_model_metadatapage.php 1 patch
Spacing   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage',
22 22
         'label'                    => 'name',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,143 +36,143 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'name, display_name, page_number, access_restriction_roles, metadata_group',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_metadatapage.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, page_number, access_restriction_roles, metadata_group',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, access_restriction_roles, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, access_restriction_roles, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
44 44
     ),
45
-    'palettes'  => array(
46
-        '1' => array('showitem' => ''),
45
+    'palettes'  => array (
46
+        '1' => array ('showitem' => ''),
47 47
     ),
48
-    'columns'   => array(
49
-        'sys_language_uid' => array(
48
+    'columns'   => array (
49
+        'sys_language_uid' => array (
50 50
             'exclude' => 1,
51 51
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
52
-            'config'  => array(
52
+            'config'  => array (
53 53
                 'type'                => 'select',
54 54
                 'renderType'          => 'selectSingle',
55 55
                 'foreign_table'       => 'sys_language',
56 56
                 'foreign_table_where' => 'ORDER BY sys_language.title',
57
-                'items'               => array(
58
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
59
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
57
+                'items'               => array (
58
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
59
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60 60
                 ),
61 61
             ),
62 62
         ),
63
-        'l10n_parent'      => array(
63
+        'l10n_parent'      => array (
64 64
             'displayCond' => 'FIELD:sys_language_uid:>:0',
65 65
             'exclude'     => 1,
66 66
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
67
-            'config'      => array(
67
+            'config'      => array (
68 68
                 'type'                => 'select',
69 69
                 'renderType'          => 'selectSingle',
70
-                'items'               => array(
71
-                    array('', 0),
70
+                'items'               => array (
71
+                    array ('', 0),
72 72
                 ),
73 73
                 'foreign_table'       => 'tx_dpf_domain_model_metadatapage',
74 74
                 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatapage.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatapage.sys_language_uid IN (-1,0)',
75 75
             ),
76 76
         ),
77
-        'l10n_diffsource'  => array(
78
-            'config' => array(
77
+        'l10n_diffsource'  => array (
78
+            'config' => array (
79 79
                 'type' => 'passthrough',
80 80
             ),
81 81
         ),
82
-        't3ver_label'      => array(
82
+        't3ver_label'      => array (
83 83
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
84
-            'config' => array(
84
+            'config' => array (
85 85
                 'type' => 'input',
86 86
                 'size' => 30,
87 87
                 'max'  => 255,
88 88
             ),
89 89
         ),
90
-        'hidden'           => array(
90
+        'hidden'           => array (
91 91
             'exclude'   => 1,
92 92
             'l10n_mode' => 'exclude',
93 93
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
94
-            'config'    => array(
94
+            'config'    => array (
95 95
                 'type' => 'check',
96 96
             ),
97 97
         ),
98
-        'starttime'        => array(
98
+        'starttime'        => array (
99 99
             'exclude'   => 1,
100 100
             'l10n_mode' => 'mergeIfNotBlank',
101 101
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
102
-            'config'    => array(
102
+            'config'    => array (
103 103
                 'type'     => 'input',
104 104
                 'renderType' => 'inputDateTime',
105 105
                 'size'     => 13,
106 106
                 'eval'     => 'datetime',
107 107
                 'checkbox' => 0,
108 108
                 'default'  => 0,
109
-                'range'    => array(
109
+                'range'    => array (
110 110
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
111 111
                 ),
112 112
             ),
113 113
         ),
114
-        'endtime'          => array(
114
+        'endtime'          => array (
115 115
             'exclude'   => 1,
116 116
             'l10n_mode' => 'mergeIfNotBlank',
117 117
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
118
-            'config'    => array(
118
+            'config'    => array (
119 119
                 'type'     => 'input',
120 120
                 'renderType' => 'inputDateTime',
121 121
                 'size'     => 13,
122 122
                 'eval'     => 'datetime',
123 123
                 'checkbox' => 0,
124 124
                 'default'  => 0,
125
-                'range'    => array(
125
+                'range'    => array (
126 126
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
127 127
                 ),
128 128
             ),
129 129
         ),
130
-        'name'             => array(
130
+        'name'             => array (
131 131
             'exclude'   => 1,
132 132
             'l10n_mode' => 'exclude',
133 133
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.name',
134
-            'config'    => array(
134
+            'config'    => array (
135 135
                 'type' => 'input',
136 136
                 'size' => 30,
137 137
                 'eval' => 'trim,uniqueInPid',
138 138
             ),
139 139
         ),
140
-        'display_name'     => array(
140
+        'display_name'     => array (
141 141
             'exclude' => 1,
142 142
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.display_name',
143
-            'config'  => array(
143
+            'config'  => array (
144 144
                 'type' => 'input',
145 145
                 'size' => 30,
146 146
                 'eval' => 'trim',
147 147
             ),
148 148
         ),
149
-        'page_number'      => array(
149
+        'page_number'      => array (
150 150
             'exclude'   => 1,
151 151
             'l10n_mode' => 'exclude',
152 152
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.page_number',
153
-            'config'    => array(
153
+            'config'    => array (
154 154
                 'type' => 'input',
155 155
                 'size' => 4,
156 156
                 'eval' => 'int',
157 157
             ),
158 158
         ),
159
-        'access_restriction_roles' => array(
159
+        'access_restriction_roles' => array (
160 160
             'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.access_restriction_roles',
161
-            'config' => array(
161
+            'config' => array (
162 162
                 'type' => 'select',
163 163
                 'size' => 2,
164 164
                 'maxitems' => 2,
165
-                'items' => array(
166
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
167
-                    array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
165
+                'items' => array (
166
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER),
167
+                    array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN),
168 168
                 ),
169 169
             ),
170 170
         ),
171
-        'metadata_group'   => array(
171
+        'metadata_group'   => array (
172 172
             'exclude'   => 1,
173 173
             'l10n_mode' => 'exclude',
174 174
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.metadata_group',
175
-            'config'    => array(
175
+            'config'    => array (
176 176
                 'type'                => 'select',
177 177
                 'renderType'          => 'selectMultipleSideBySide',
178 178
                 'foreign_table'       => 'tx_dpf_domain_model_metadatagroup',
@@ -182,24 +182,24 @@  discard block
 block discarded – undo
182 182
                 'autoSizeMax'         => 30,
183 183
                 'maxitems'            => 9999,
184 184
                 'multiple'            => 0,
185
-                'wizards'             => array(
185
+                'wizards'             => array (
186 186
                     '_VERTICAL' => 1,
187 187
                 ),
188
-                'fieldControl' => array(
189
-                    'editPopup' => array(
188
+                'fieldControl' => array (
189
+                    'editPopup' => array (
190 190
                         'disabled' => false,
191 191
                     ),
192
-                    'addRecord' => array(
192
+                    'addRecord' => array (
193 193
                         'disabled' => false,
194
-                        'options' =>  array(
194
+                        'options' =>  array (
195 195
                             'setValue' => 'prepend',
196 196
                         ),
197 197
                     ),
198 198
                 ),
199 199
             ),
200 200
         ),
201
-        'documenttype'     => array(
202
-            'config' => array(
201
+        'documenttype'     => array (
202
+            'config' => array (
203 203
                 'type' => 'passthrough',
204 204
             ),
205 205
         ),
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_inputoptionlist.php 1 patch
Spacing   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist',
22 22
         'label'                    => 'name',
23 23
         'tstamp'                   => 'tstamp',
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         'transOrigPointerField'    => 'l10n_parent',
30 30
         'transOrigDiffSourceField' => 'l10n_diffsource',
31 31
         'delete'                   => 'deleted',
32
-        'enablecolumns'            => array(
32
+        'enablecolumns'            => array (
33 33
             'disabled'  => 'hidden',
34 34
             'starttime' => 'starttime',
35 35
             'endtime'   => 'endtime',
@@ -37,146 +37,146 @@  discard block
 block discarded – undo
37 37
         'searchFields'             => 'name, display_name, value_list, value_label_list, default_value',
38 38
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_inputoptionlist.gif',
39 39
     ),
40
-    'interface' => array(
40
+    'interface' => array (
41 41
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, value_list, value_label_list, default_value',
42 42
     ),
43
-    'types'     => array(
44
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, value_list, value_label_list, default_value,  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
43
+    'types'     => array (
44
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, value_list, value_label_list, default_value,  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
45 45
     ),
46
-    'palettes'  => array(
47
-        '1' => array('showitem' => ''),
46
+    'palettes'  => array (
47
+        '1' => array ('showitem' => ''),
48 48
     ),
49
-    'columns'   => array(
49
+    'columns'   => array (
50 50
 
51
-        'sys_language_uid' => array(
51
+        'sys_language_uid' => array (
52 52
             'exclude' => 1,
53 53
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
54
-            'config'  => array(
54
+            'config'  => array (
55 55
                 'type'                => 'select',
56 56
                 'renderType'          => 'selectSingle',
57 57
                 'foreign_table'       => 'sys_language',
58 58
                 'foreign_table_where' => 'ORDER BY sys_language.title',
59
-                'items'               => array(
60
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
59
+                'items'               => array (
60
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
62 62
                 ),
63 63
             ),
64 64
         ),
65
-        'l10n_parent'      => array(
65
+        'l10n_parent'      => array (
66 66
             'displayCond' => 'FIELD:sys_language_uid:>:0',
67 67
             'exclude'     => 1,
68 68
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
69
-            'config'      => array(
69
+            'config'      => array (
70 70
                 'type'                => 'select',
71 71
                 'renderType'          => 'selectSingle',
72
-                'items'               => array(
73
-                    array('', 0),
72
+                'items'               => array (
73
+                    array ('', 0),
74 74
                 ),
75 75
                 'foreign_table'       => 'tx_dpf_domain_model_inputoptionlist',
76 76
                 'foreign_table_where' => 'AND tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID### AND tx_dpf_domain_model_inputoptionlist.sys_language_uid IN (-1,0)',
77 77
             ),
78 78
         ),
79
-        'l10n_diffsource'  => array(
80
-            'config' => array(
79
+        'l10n_diffsource'  => array (
80
+            'config' => array (
81 81
                 'type' => 'passthrough',
82 82
             ),
83 83
         ),
84 84
 
85
-        't3ver_label'      => array(
85
+        't3ver_label'      => array (
86 86
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
87
-            'config' => array(
87
+            'config' => array (
88 88
                 'type' => 'input',
89 89
                 'size' => 30,
90 90
                 'max'  => 255,
91 91
             ),
92 92
         ),
93 93
 
94
-        'hidden'           => array(
94
+        'hidden'           => array (
95 95
             'exclude'   => 1,
96 96
             'l10n_mode' => 'exclude',
97 97
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
98
-            'config'    => array(
98
+            'config'    => array (
99 99
                 'type' => 'check',
100 100
             ),
101 101
         ),
102
-        'starttime'        => array(
102
+        'starttime'        => array (
103 103
             'exclude'   => 1,
104 104
             'l10n_mode' => 'mergeIfNotBlank',
105 105
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
106
-            'config'    => array(
106
+            'config'    => array (
107 107
                 'type'     => 'input',
108 108
                 'renderType' => 'inputDateTime',
109 109
                 'size'     => 13,
110 110
                 'eval'     => 'datetime',
111 111
                 'checkbox' => 0,
112 112
                 'default'  => 0,
113
-                'range'    => array(
113
+                'range'    => array (
114 114
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
115 115
                 ),
116 116
             ),
117 117
         ),
118
-        'endtime'          => array(
118
+        'endtime'          => array (
119 119
             'exclude'   => 1,
120 120
             'l10n_mode' => 'mergeIfNotBlank',
121 121
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
122
-            'config'    => array(
122
+            'config'    => array (
123 123
                 'type'     => 'input',
124 124
                 'renderType' => 'inputDateTime',
125 125
                 'size'     => 13,
126 126
                 'eval'     => 'datetime',
127 127
                 'checkbox' => 0,
128 128
                 'default'  => 0,
129
-                'range'    => array(
129
+                'range'    => array (
130 130
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
131 131
                 ),
132 132
             ),
133 133
         ),
134 134
 
135
-        'name'             => array(
135
+        'name'             => array (
136 136
             'exclude'   => 1,
137 137
             'l10n_mode' => 'exclude',
138 138
             'l10n_mode' => 'exclude',
139 139
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.name',
140
-            'config'    => array(
140
+            'config'    => array (
141 141
                 'type' => 'input',
142 142
                 'size' => 30,
143 143
                 'eval' => 'trim',
144 144
             ),
145 145
         ),
146
-        'display_name'     => array(
146
+        'display_name'     => array (
147 147
             'exclude' => 1,
148 148
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.display_name',
149
-            'config'  => array(
149
+            'config'  => array (
150 150
                 'type' => 'input',
151 151
                 'size' => 30,
152 152
                 'eval' => 'trim',
153 153
             ),
154 154
         ),
155
-        'value_list'       => array(
155
+        'value_list'       => array (
156 156
             'exclude'   => 1,
157 157
             'l10n_mode' => 'exclude',
158 158
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_list',
159
-            'config'    => array(
159
+            'config'    => array (
160 160
                 'type' => 'text',
161 161
                 'cols' => 20,
162 162
                 'rows' => 3,
163 163
                 'eval' => 'trim',
164 164
             ),
165 165
         ),
166
-        'value_label_list' => array(
166
+        'value_label_list' => array (
167 167
             'exclude' => 1,
168 168
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_label_list',
169
-            'config'  => array(
169
+            'config'  => array (
170 170
                 'type' => 'text',
171 171
                 'cols' => 20,
172 172
                 'rows' => 3,
173 173
                 'eval' => 'trim',
174 174
             ),
175 175
         ),
176
-        'default_value'    => array(
176
+        'default_value'    => array (
177 177
             'exclude' => 1,
178 178
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.default_value',
179
-            'config'  => array(
179
+            'config'  => array (
180 180
                 'type' => 'text',
181 181
                 'cols' => 20,
182 182
                 'rows' => 3,
Please login to merge, or discard this patch.
src/Configuration/TCA/Overrides/tt_content.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_metatags'] = 'pi_flexform';
55 55
 
56 56
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
57
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_metatags',
57
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_metatags',
58 58
         'dpf_metatags'),
59 59
     'list_type',
60 60
     'dpf'
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_downloadtool'] = 'pi_flexform';
67 67
 
68 68
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
69
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_downloadtool',
69
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_downloadtool',
70 70
         'dpf_downloadtool'),
71 71
     'list_type',
72 72
     'dpf'
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['dpf_relatedlisttool'] = 'pi_flexform';
79 79
 
80 80
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
81
-    array('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_relatedlisttool',
81
+    array ('LLL:EXT:dpf/Resources/Private/Language/locallang.xlf:tt_content.dpf_relatedlisttool',
82 82
         'dpf_relatedlisttool'),
83 83
     'list_type',
84 84
     'dpf'
Please login to merge, or discard this patch.
src/Configuration/TCA/Overrides/fe_groups.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
         'config' => array (
24 24
         'type' => 'select',
25 25
         'items' => array (
26
-            array('', ''),
27
-            array(
26
+            array ('', ''),
27
+            array (
28 28
                 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher',
29 29
                 \EWW\Dpf\Security\Security::ROLE_RESEARCHER
30 30
             ),
31
-            array(
31
+            array (
32 32
                 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian',
33 33
                 \EWW\Dpf\Security\Security::ROLE_LIBRARIAN
34 34
             ),
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_editinglock.php 1 patch
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock',
22 22
         'label'                    => 'document_identifier',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         //'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,116 +36,116 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'document_identifier, editor_uid',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_editinglock.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, 
41 41
         document_identifier, editor_uid',
42 42
     ),
43
-    'types'     => array(
44
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, 
43
+    'types'     => array (
44
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, 
45 45
         document_identifier, editor_uid,        
46 46
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
47 47
     ),
48
-    'palettes'  => array(
49
-        '1' => array('showitem' => ''),
48
+    'palettes'  => array (
49
+        '1' => array ('showitem' => ''),
50 50
     ),
51
-    'columns'   => array(
51
+    'columns'   => array (
52 52
 
53
-        'sys_language_uid'           => array(
53
+        'sys_language_uid'           => array (
54 54
             'exclude' => 1,
55 55
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
56
-            'config'  => array(
56
+            'config'  => array (
57 57
                 'type'                => 'select',
58 58
                 'renderType'          => 'selectSingle',
59 59
                 'foreign_table'       => 'sys_language',
60 60
                 'foreign_table_where' => 'ORDER BY sys_language.title',
61
-                'items'               => array(
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
63
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
61
+                'items'               => array (
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
63
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
64 64
                 ),
65 65
             ),
66 66
         ),
67
-        'l10n_parent'                => array(
67
+        'l10n_parent'                => array (
68 68
             'displayCond' => 'FIELD:sys_language_uid:>:0',
69 69
             'exclude'     => 1,
70 70
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
71
-            'config'      => array(
71
+            'config'      => array (
72 72
                 'type'                => 'select',
73 73
                 'renderType'          => 'selectSingle',
74
-                'items'               => array(
75
-                    array('', 0),
74
+                'items'               => array (
75
+                    array ('', 0),
76 76
                 ),
77 77
                 'foreign_table'       => 'tx_dpf_domain_model_editinglock',
78 78
                 'foreign_table_where' => 'AND tx_dpf_domain_model_editinglock.pid=###CURRENT_PID### AND tx_dpf_domain_model_editinglock.sys_language_uid IN (-1,0)',
79 79
             ),
80 80
         ),
81
-        'l10n_diffsource'            => array(
82
-            'config' => array(
81
+        'l10n_diffsource'            => array (
82
+            'config' => array (
83 83
                 'type' => 'passthrough',
84 84
             ),
85 85
         ),
86 86
 
87
-        't3ver_label'                => array(
87
+        't3ver_label'                => array (
88 88
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
89
-            'config' => array(
89
+            'config' => array (
90 90
                 'type' => 'input',
91 91
                 'size' => 30,
92 92
                 'max'  => 255,
93 93
             ),
94 94
         ),
95 95
 
96
-        'hidden'                     => array(
96
+        'hidden'                     => array (
97 97
             'exclude' => 1,
98 98
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
99
-            'config'  => array(
99
+            'config'  => array (
100 100
                 'type' => 'check',
101 101
             ),
102 102
         ),
103
-        'starttime'                  => array(
103
+        'starttime'                  => array (
104 104
             'exclude'   => 1,
105 105
             'l10n_mode' => 'mergeIfNotBlank',
106 106
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
107
-            'config'    => array(
107
+            'config'    => array (
108 108
                 'type'     => 'input',
109 109
                 'renderType' => 'inputDateTime',
110 110
                 'size'     => 13,
111 111
                 'eval'     => 'datetime',
112 112
                 'checkbox' => 0,
113 113
                 'default'  => 0,
114
-                'range'    => array(
114
+                'range'    => array (
115 115
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
116 116
                 ),
117 117
             ),
118 118
         ),
119
-        'endtime'                    => array(
119
+        'endtime'                    => array (
120 120
             'exclude'   => 1,
121 121
             'l10n_mode' => 'mergeIfNotBlank',
122 122
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
123
-            'config'    => array(
123
+            'config'    => array (
124 124
                 'type'     => 'input',
125 125
                 'renderType' => 'inputDateTime',
126 126
                 'size'     => 13,
127 127
                 'eval'     => 'datetime',
128 128
                 'checkbox' => 0,
129 129
                 'default'  => 0,
130
-                'range'    => array(
130
+                'range'    => array (
131 131
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
132 132
                 ),
133 133
             ),
134 134
         ),
135
-        'document_identifier' => array(
135
+        'document_identifier' => array (
136 136
             'exclude' => 0,
137 137
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock.document_identifier',
138
-            'config'  => array(
138
+            'config'  => array (
139 139
                 'type' => 'input',
140 140
                 'size' => '30',
141 141
                 'eval' => 'trim',
142 142
             ),
143 143
         ),
144
-        'editor_uid'         => array(
144
+        'editor_uid'         => array (
145 145
             'exclude'   => 1,
146 146
             'l10n_mode' => 'exclude',
147 147
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock.editor_uid',
148
-            'config'    => array(
148
+            'config'    => array (
149 149
                 'type'    => 'input',
150 150
                 'size'    => 30,
151 151
                 'eval'    => 'trim'
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_storedsearch.php 1 patch
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_storedsearch',
22 22
         'label'                    => 'name',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,97 +36,97 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'title',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_editinglock.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'name, query',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => ',--palette--;;1, 
42
+    'types'     => array (
43
+        '1' => array ('showitem' => ',--palette--;;1, 
44 44
         name, query,      
45 45
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access'),
46 46
     ),
47
-    'palettes'  => array(
48
-        '1' => array('showitem' => ''),
47
+    'palettes'  => array (
48
+        '1' => array ('showitem' => ''),
49 49
     ),
50
-    'columns'   => array(
50
+    'columns'   => array (
51 51
 
52
-        'sys_language_uid'           => array(
52
+        'sys_language_uid'           => array (
53 53
             'exclude' => 1,
54 54
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
55
-            'config'  => array(
55
+            'config'  => array (
56 56
                 'type'                => 'select',
57 57
                 'renderType'          => 'selectSingle',
58 58
                 'foreign_table'       => 'sys_language',
59 59
                 'foreign_table_where' => 'ORDER BY sys_language.title',
60
-                'items'               => array(
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60
+                'items'               => array (
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
63 63
                 ),
64 64
             ),
65 65
         ),
66
-        'l10n_parent'                => array(
66
+        'l10n_parent'                => array (
67 67
             'displayCond' => 'FIELD:sys_language_uid:>:0',
68 68
             'exclude'     => 1,
69 69
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
70
-            'config'      => array(
70
+            'config'      => array (
71 71
                 'type'                => 'select',
72 72
                 'renderType'          => 'selectSingle',
73
-                'items'               => array(
74
-                    array('', 0),
73
+                'items'               => array (
74
+                    array ('', 0),
75 75
                 ),
76 76
                 'foreign_table'       => 'tx_dpf_domain_model_storedsearch',
77 77
                 'foreign_table_where' => 'AND tx_dpf_domain_model_storedsearch.pid=###CURRENT_PID### AND tx_dpf_domain_model_storedsearch.sys_language_uid IN (-1,0)',
78 78
             ),
79 79
         ),
80
-        'l10n_diffsource'            => array(
81
-            'config' => array(
80
+        'l10n_diffsource'            => array (
81
+            'config' => array (
82 82
                 'type' => 'passthrough',
83 83
             ),
84 84
         ),
85 85
 
86
-        't3ver_label'                => array(
86
+        't3ver_label'                => array (
87 87
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
88
-            'config' => array(
88
+            'config' => array (
89 89
                 'type' => 'input',
90 90
                 'size' => 30,
91 91
                 'max'  => 255,
92 92
             ),
93 93
         ),
94 94
 
95
-        'hidden'                     => array(
95
+        'hidden'                     => array (
96 96
             'exclude' => 1,
97 97
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
98
-            'config'  => array(
98
+            'config'  => array (
99 99
                 'type' => 'check',
100 100
             ),
101 101
         ),
102
-        'starttime'                  => array(
102
+        'starttime'                  => array (
103 103
             'exclude'   => 1,
104 104
             'l10n_mode' => 'mergeIfNotBlank',
105 105
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
106
-            'config'    => array(
106
+            'config'    => array (
107 107
                 'type'     => 'input',
108 108
                 'renderType' => 'inputDateTime',
109 109
                 'size'     => 13,
110 110
                 'eval'     => 'datetime',
111 111
                 'checkbox' => 0,
112 112
                 'default'  => 0,
113
-                'range'    => array(
113
+                'range'    => array (
114 114
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
115 115
                 ),
116 116
             ),
117 117
         ),
118
-        'endtime'                    => array(
118
+        'endtime'                    => array (
119 119
             'exclude'   => 1,
120 120
             'l10n_mode' => 'mergeIfNotBlank',
121 121
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
122
-            'config'    => array(
122
+            'config'    => array (
123 123
                 'type'     => 'input',
124 124
                 'renderType' => 'inputDateTime',
125 125
                 'size'     => 13,
126 126
                 'eval'     => 'datetime',
127 127
                 'checkbox' => 0,
128 128
                 'default'  => 0,
129
-                'range'    => array(
129
+                'range'    => array (
130 130
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
131 131
                 ),
132 132
             ),
@@ -138,20 +138,20 @@  discard block
 block discarded – undo
138 138
             ],
139 139
         ],
140 140
 
141
-        'name'                      => array(
141
+        'name'                      => array (
142 142
             'exclude' => 1,
143 143
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_storedsearch.name',
144
-            'config'  => array(
144
+            'config'  => array (
145 145
                 'type' => 'input',
146 146
                 'size' => 30,
147 147
                 'eval' => 'trim',
148 148
             ),
149 149
         ),
150 150
 
151
-        'query'                      => array(
151
+        'query'                      => array (
152 152
             'exclude' => 1,
153 153
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_storedsearch.query',
154
-            'config'  => array(
154
+            'config'  => array (
155 155
                 'type' => 'text',
156 156
                 'cols' => 40,
157 157
                 'rows' => 15,
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_processnumber.php 1 patch
Spacing   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber',
22 22
         'label'                    => 'owner_id',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,127 +36,127 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'owner_id, year, counter',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_processnumber.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, owner_id, year, counter'
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
44 44
     ),
45
-    'palettes'  => array(
46
-        '1' => array('showitem' => ''),
45
+    'palettes'  => array (
46
+        '1' => array ('showitem' => ''),
47 47
     ),
48
-    'columns'   => array(
48
+    'columns'   => array (
49 49
 
50
-        'sys_language_uid'   => array(
50
+        'sys_language_uid'   => array (
51 51
             'exclude' => 1,
52 52
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
53
-            'config'  => array(
53
+            'config'  => array (
54 54
                 'type'                => 'select',
55 55
                 'renderType'          => 'selectSingle',
56 56
                 'foreign_table'       => 'sys_language',
57 57
                 'foreign_table_where' => 'ORDER BY sys_language.title',
58
-                'items'               => array(
59
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
58
+                'items'               => array (
59
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
61 61
                 ),
62 62
             ),
63 63
         ),
64
-        'l10n_parent'        => array(
64
+        'l10n_parent'        => array (
65 65
             'displayCond' => 'FIELD:sys_language_uid:>:0',
66 66
             'exclude'     => 1,
67 67
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
68
-            'config'      => array(
68
+            'config'      => array (
69 69
                 'type'                => 'select',
70 70
                 'renderType'          => 'selectSingle',
71
-                'items'               => array(
72
-                    array('', 0),
71
+                'items'               => array (
72
+                    array ('', 0),
73 73
                 ),
74 74
                 'foreign_table'       => 'tx_dpf_domain_model_processnumber',
75 75
                 'foreign_table_where' => 'AND tx_dpf_domain_model_processnumber.pid=###CURRENT_PID### AND tx_dpf_domain_model_processnumber.sys_language_uid IN (-1,0)',
76 76
             ),
77 77
         ),
78
-        'l10n_diffsource'    => array(
79
-            'config' => array(
78
+        'l10n_diffsource'    => array (
79
+            'config' => array (
80 80
                 'type' => 'passthrough',
81 81
             ),
82 82
         ),
83 83
 
84
-        't3ver_label'        => array(
84
+        't3ver_label'        => array (
85 85
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
86
-            'config' => array(
86
+            'config' => array (
87 87
                 'type' => 'input',
88 88
                 'size' => 30,
89 89
                 'max'  => 255,
90 90
             ),
91 91
         ),
92 92
 
93
-        'hidden'             => array(
93
+        'hidden'             => array (
94 94
             'exclude' => 1,
95 95
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
96
-            'config'  => array(
96
+            'config'  => array (
97 97
                 'type' => 'check',
98 98
             ),
99 99
         ),
100
-        'starttime'          => array(
100
+        'starttime'          => array (
101 101
             'exclude'   => 1,
102 102
             'l10n_mode' => 'mergeIfNotBlank',
103 103
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
104
-            'config'    => array(
104
+            'config'    => array (
105 105
                 'type'     => 'input',
106 106
                 'renderType' => 'inputDateTime',
107 107
                 'size'     => 13,
108 108
                 'eval'     => 'datetime',
109 109
                 'checkbox' => 0,
110 110
                 'default'  => 0,
111
-                'range'    => array(
111
+                'range'    => array (
112 112
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
113 113
                 ),
114 114
             ),
115 115
         ),
116
-        'endtime'            => array(
116
+        'endtime'            => array (
117 117
             'exclude'   => 1,
118 118
             'l10n_mode' => 'mergeIfNotBlank',
119 119
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
120
-            'config'    => array(
120
+            'config'    => array (
121 121
                 'type'     => 'input',
122 122
                 'renderType' => 'inputDateTime',
123 123
                 'size'     => 13,
124 124
                 'eval'     => 'datetime',
125 125
                 'checkbox' => 0,
126 126
                 'default'  => 0,
127
-                'range'    => array(
127
+                'range'    => array (
128 128
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
129 129
                 ),
130 130
             ),
131 131
         ),
132 132
 
133
-        'owner_id'           => array(
133
+        'owner_id'           => array (
134 134
             'exclude'   => 1,
135 135
             'l10n_mode' => 'exclude',
136 136
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.owner_id',
137
-            'config'    => array(
137
+            'config'    => array (
138 138
                 'type' => 'input',
139 139
                 'size' => 4,
140 140
                 'max' => 4,
141 141
                 'eval' => 'trim,required',
142 142
             ),
143 143
         ),
144
-        'year'        => array(
144
+        'year'        => array (
145 145
             'exclude'   => 1,
146 146
             'l10n_mode' => 'exclude',
147 147
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.year',
148
-            'config'    => array(
148
+            'config'    => array (
149 149
                 'type' => 'input',
150 150
                 'size' => 4,
151 151
                 'max' => 2,
152 152
                 'eval' => 'trim,required',
153 153
             ),
154 154
         ),
155
-        'counter'   => array(
155
+        'counter'   => array (
156 156
             'exclude'     => 1,
157 157
             'l10n_mode' => 'exclude',
158 158
             'label'       => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.counter',
159
-            'config'      => array(
159
+            'config'      => array (
160 160
                 'type' => 'input',
161 161
                 'size' => 30,
162 162
                 'eval' => 'trim,required',
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_documenttransferlog.php 1 patch
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog',
22 22
         'label'                    => 'date',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,106 +36,106 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'date, response, curl_error, document_uid, object_identifier, action',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_documenttransferlog.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date, response, curl_error, document_uid, object_identifier, action',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,        
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1,        
44 44
         date, response, curl_error, document_uid, object_identifier, action,
45 45
         --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'),
46 46
     ),
47
-    'palettes'  => array(
48
-        '1' => array('showitem' => ''),
47
+    'palettes'  => array (
48
+        '1' => array ('showitem' => ''),
49 49
     ),
50
-    'columns'   => array(
50
+    'columns'   => array (
51 51
 
52
-        'sys_language_uid'  => array(
52
+        'sys_language_uid'  => array (
53 53
             'exclude' => 1,
54 54
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
55
-            'config'  => array(
55
+            'config'  => array (
56 56
                 'type'                => 'select',
57 57
                 'renderType'          => 'selectSingle',
58 58
                 'foreign_table'       => 'sys_language',
59 59
                 'foreign_table_where' => 'ORDER BY sys_language.title',
60
-                'items'               => array(
61
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
60
+                'items'               => array (
61
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
62
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
63 63
                 ),
64 64
             ),
65 65
         ),
66
-        'l10n_parent'       => array(
66
+        'l10n_parent'       => array (
67 67
             'displayCond' => 'FIELD:sys_language_uid:>:0',
68 68
             'exclude'     => 1,
69 69
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
70
-            'config'      => array(
70
+            'config'      => array (
71 71
                 'type'                => 'select',
72 72
                 'renderType'          => 'selectSingle',
73
-                'items'               => array(
74
-                    array('', 0),
73
+                'items'               => array (
74
+                    array ('', 0),
75 75
                 ),
76 76
                 'foreign_table'       => 'tx_dpf_domain_model_documenttransferlog',
77 77
                 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttransferlog.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttransferlog.sys_language_uid IN (-1,0)',
78 78
             ),
79 79
         ),
80
-        'l10n_diffsource'   => array(
81
-            'config' => array(
80
+        'l10n_diffsource'   => array (
81
+            'config' => array (
82 82
                 'type' => 'passthrough',
83 83
             ),
84 84
         ),
85 85
 
86
-        't3ver_label'       => array(
86
+        't3ver_label'       => array (
87 87
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
88
-            'config' => array(
88
+            'config' => array (
89 89
                 'type' => 'input',
90 90
                 'size' => 30,
91 91
                 'max'  => 255,
92 92
             ),
93 93
         ),
94 94
 
95
-        'hidden'            => array(
95
+        'hidden'            => array (
96 96
             'exclude' => 1,
97 97
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
98
-            'config'  => array(
98
+            'config'  => array (
99 99
                 'type' => 'check',
100 100
             ),
101 101
         ),
102
-        'starttime'         => array(
102
+        'starttime'         => array (
103 103
             'exclude'   => 1,
104 104
             'l10n_mode' => 'mergeIfNotBlank',
105 105
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
106
-            'config'    => array(
106
+            'config'    => array (
107 107
                 'type'     => 'input',
108 108
                 'renderType' => 'inputDateTime',
109 109
                 'size'     => 13,
110 110
                 'eval'     => 'datetime',
111 111
                 'checkbox' => 0,
112 112
                 'default'  => 0,
113
-                'range'    => array(
113
+                'range'    => array (
114 114
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
115 115
                 ),
116 116
             ),
117 117
         ),
118
-        'endtime'           => array(
118
+        'endtime'           => array (
119 119
             'exclude'   => 1,
120 120
             'l10n_mode' => 'mergeIfNotBlank',
121 121
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
122
-            'config'    => array(
122
+            'config'    => array (
123 123
                 'type'     => 'input',
124 124
                 'renderType' => 'inputDateTime',
125 125
                 'size'     => 13,
126 126
                 'eval'     => 'datetime',
127 127
                 'checkbox' => 0,
128 128
                 'default'  => 0,
129
-                'range'    => array(
129
+                'range'    => array (
130 130
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
131 131
                 ),
132 132
             ),
133 133
         ),
134 134
 
135
-        'date'              => array(
135
+        'date'              => array (
136 136
             'exclude' => 1,
137 137
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.date',
138
-            'config'  => array(
138
+            'config'  => array (
139 139
                 'type'     => 'input',
140 140
                 'renderType' => 'inputDateTime',
141 141
                 'size'     => 10,
@@ -144,48 +144,48 @@  discard block
 block discarded – undo
144 144
                 'default'  => time(),
145 145
             ),
146 146
         ),
147
-        'response'          => array(
147
+        'response'          => array (
148 148
             'exclude' => 1,
149 149
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.response',
150
-            'config'  => array(
150
+            'config'  => array (
151 151
                 'type' => 'text',
152 152
                 'cols' => 40,
153 153
                 'rows' => 15,
154 154
                 'eval' => 'trim',
155 155
             ),
156 156
         ),
157
-        'curl_error'        => array(
157
+        'curl_error'        => array (
158 158
             'exclude' => 1,
159 159
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.curl_error',
160
-            'config'  => array(
160
+            'config'  => array (
161 161
                 'type' => 'text',
162 162
                 'cols' => 40,
163 163
                 'rows' => 15,
164 164
                 'eval' => 'trim',
165 165
             ),
166 166
         ),
167
-        'document_uid'      => array(
167
+        'document_uid'      => array (
168 168
             'exclude' => 1,
169 169
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.document_uid',
170
-            'config'  => array(
170
+            'config'  => array (
171 171
                 'type' => 'input',
172 172
                 'size' => 30,
173 173
                 'max'  => 255,
174 174
             ),
175 175
         ),
176
-        'object_identifier' => array(
176
+        'object_identifier' => array (
177 177
             'exclude' => 1,
178 178
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.object_identifier',
179
-            'config'  => array(
179
+            'config'  => array (
180 180
                 'type' => 'input',
181 181
                 'size' => 30,
182 182
                 'max'  => 255,
183 183
             ),
184 184
         ),
185
-        'action'            => array(
185
+        'action'            => array (
186 186
             'exclude' => 1,
187 187
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.action',
188
-            'config'  => array(
188
+            'config'  => array (
189 189
                 'type' => 'input',
190 190
                 'size' => 30,
191 191
                 'max'  => 255,
Please login to merge, or discard this patch.
src/Configuration/TCA/tx_dpf_domain_model_file.php 1 patch
Spacing   +52 added lines, -52 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
     die('Access denied.');
17 17
 }
18 18
 
19
-return array(
20
-    'ctrl' => array(
19
+return array (
20
+    'ctrl' => array (
21 21
         'title'                    => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file',
22 22
         'label'                    => 'title',
23 23
         'tstamp'                   => 'tstamp',
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         'transOrigPointerField'    => 'l10n_parent',
29 29
         'transOrigDiffSourceField' => 'l10n_diffsource',
30 30
         'delete'                   => 'deleted',
31
-        'enablecolumns'            => array(
31
+        'enablecolumns'            => array (
32 32
             'disabled'  => 'hidden',
33 33
             'starttime' => 'starttime',
34 34
             'endtime'   => 'endtime',
@@ -36,195 +36,195 @@  discard block
 block discarded – undo
36 36
         'searchFields'             => 'title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document',
37 37
         'iconfile'                 => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_file.gif',
38 38
     ),
39
-    'interface' => array(
39
+    'interface' => array (
40 40
         'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document',
41 41
     ),
42
-    'types'     => array(
43
-        '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
42
+    'types'     => array (
43
+        '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'),
44 44
     ),
45
-    'palettes'  => array(
46
-        '1' => array('showitem' => ''),
45
+    'palettes'  => array (
46
+        '1' => array ('showitem' => ''),
47 47
     ),
48
-    'columns'   => array(
48
+    'columns'   => array (
49 49
 
50
-        'sys_language_uid'      => array(
50
+        'sys_language_uid'      => array (
51 51
             'exclude' => 1,
52 52
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
53
-            'config'  => array(
53
+            'config'  => array (
54 54
                 'type'                => 'select',
55 55
                 'renderType'          => 'selectSingle',
56 56
                 'foreign_table'       => 'sys_language',
57 57
                 'foreign_table_where' => 'ORDER BY sys_language.title',
58
-                'items'               => array(
59
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
-                    array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
58
+                'items'               => array (
59
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
60
+                    array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0),
61 61
                 ),
62 62
             ),
63 63
         ),
64
-        'l10n_parent'           => array(
64
+        'l10n_parent'           => array (
65 65
             'displayCond' => 'FIELD:sys_language_uid:>:0',
66 66
             'exclude'     => 1,
67 67
             'label'       => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
68
-            'config'      => array(
68
+            'config'      => array (
69 69
                 'type'                => 'select',
70 70
                 'renderType'          => 'selectSingle',
71
-                'items'               => array(
72
-                    array('', 0),
71
+                'items'               => array (
72
+                    array ('', 0),
73 73
                 ),
74 74
                 'foreign_table'       => 'tx_dpf_domain_model_file',
75 75
                 'foreign_table_where' => 'AND tx_dpf_domain_model_file.pid=###CURRENT_PID### AND tx_dpf_domain_model_file.sys_language_uid IN (-1,0)',
76 76
             ),
77 77
         ),
78
-        'l10n_diffsource'       => array(
79
-            'config' => array(
78
+        'l10n_diffsource'       => array (
79
+            'config' => array (
80 80
                 'type' => 'passthrough',
81 81
             ),
82 82
         ),
83 83
 
84
-        't3ver_label'           => array(
84
+        't3ver_label'           => array (
85 85
             'label'  => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
86
-            'config' => array(
86
+            'config' => array (
87 87
                 'type' => 'input',
88 88
                 'size' => 30,
89 89
                 'max'  => 255,
90 90
             ),
91 91
         ),
92 92
 
93
-        'hidden'                => array(
93
+        'hidden'                => array (
94 94
             'exclude' => 1,
95 95
             'label'   => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
96
-            'config'  => array(
96
+            'config'  => array (
97 97
                 'type' => 'check',
98 98
             ),
99 99
         ),
100
-        'starttime'             => array(
100
+        'starttime'             => array (
101 101
             'exclude'   => 1,
102 102
             'l10n_mode' => 'mergeIfNotBlank',
103 103
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
104
-            'config'    => array(
104
+            'config'    => array (
105 105
                 'type'     => 'input',
106 106
                 'renderType' => 'inputDateTime',
107 107
                 'size'     => 13,
108 108
                 'eval'     => 'datetime',
109 109
                 'checkbox' => 0,
110 110
                 'default'  => 0,
111
-                'range'    => array(
111
+                'range'    => array (
112 112
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
113 113
                 ),
114 114
             ),
115 115
         ),
116
-        'endtime'               => array(
116
+        'endtime'               => array (
117 117
             'exclude'   => 1,
118 118
             'l10n_mode' => 'mergeIfNotBlank',
119 119
             'label'     => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
120
-            'config'    => array(
120
+            'config'    => array (
121 121
                 'type'     => 'input',
122 122
                 'renderType' => 'inputDateTime',
123 123
                 'size'     => 13,
124 124
                 'eval'     => 'datetime',
125 125
                 'checkbox' => 0,
126 126
                 'default'  => 0,
127
-                'range'    => array(
127
+                'range'    => array (
128 128
                     'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
129 129
                 ),
130 130
             ),
131 131
         ),
132 132
 
133
-        'title'                 => array(
133
+        'title'                 => array (
134 134
             'exclude' => 1,
135 135
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.title',
136
-            'config'  => array(
136
+            'config'  => array (
137 137
                 'type' => 'input',
138 138
                 'size' => 30,
139 139
                 'eval' => 'trim',
140 140
             ),
141 141
         ),
142 142
 
143
-        'label'                 => array(
143
+        'label'                 => array (
144 144
             'exclude' => 1,
145 145
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.label',
146
-            'config'  => array(
146
+            'config'  => array (
147 147
                 'type' => 'input',
148 148
                 'size' => 30,
149 149
                 'eval' => 'trim',
150 150
             ),
151 151
         ),
152
-        'download'              => array(
152
+        'download'              => array (
153 153
             'exclude'   => 1,
154 154
             'l10n_mode' => 'exclude',
155 155
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.download',
156
-            'config'    => array(
156
+            'config'    => array (
157 157
                 'type'    => 'check',
158 158
                 'default' => 0,
159 159
             ),
160 160
         ),
161
-        'archive'               => array(
161
+        'archive'               => array (
162 162
             'exclude'   => 1,
163 163
             'l10n_mode' => 'exclude',
164 164
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.archive',
165
-            'config'    => array(
165
+            'config'    => array (
166 166
                 'type'    => 'check',
167 167
                 'default' => 0,
168 168
             ),
169 169
         ),
170
-        'file_group_deleted'               => array(
170
+        'file_group_deleted'               => array (
171 171
             'exclude'   => 1,
172 172
             'l10n_mode' => 'exclude',
173 173
             'label'     => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.file_group_deleted',
174
-            'config'    => array(
174
+            'config'    => array (
175 175
                 'type'    => 'check',
176 176
                 'default' => 0,
177 177
             ),
178 178
         ),
179
-        'content_type'          => array(
179
+        'content_type'          => array (
180 180
             'exclude' => 1,
181 181
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.content_type',
182
-            'config'  => array(
182
+            'config'  => array (
183 183
                 'type' => 'input',
184 184
                 'size' => 30,
185 185
                 'eval' => 'trim',
186 186
             ),
187 187
         ),
188
-        'link'                  => array(
188
+        'link'                  => array (
189 189
             'exclude' => 1,
190 190
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link',
191
-            'config'  => array(
191
+            'config'  => array (
192 192
                 'type' => 'input',
193 193
                 'size' => 30,
194 194
                 'eval' => 'trim',
195 195
             ),
196 196
         ),
197
-        'status'                => array(
197
+        'status'                => array (
198 198
             'exclude' => 1,
199 199
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.status',
200
-            'config'  => array(
200
+            'config'  => array (
201 201
                 'type' => 'input',
202 202
                 'size' => 30,
203 203
                 'eval' => 'trim',
204 204
             ),
205 205
         ),
206
-        'datastream_identifier' => array(
206
+        'datastream_identifier' => array (
207 207
             'exclude' => 1,
208 208
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.datastream_identifier',
209
-            'config'  => array(
209
+            'config'  => array (
210 210
                 'type' => 'input',
211 211
                 'size' => 30,
212 212
                 'eval' => 'trim',
213 213
             ),
214 214
         ),
215
-        'primary_file'          => array(
215
+        'primary_file'          => array (
216 216
             'exclude' => 1,
217 217
             'label'   => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.primary_file',
218
-            'config'  => array(
218
+            'config'  => array (
219 219
                 'type'    => 'check',
220 220
                 'default' => 0,
221 221
             ),
222 222
         ),
223 223
 
224
-        'document'              => array(
224
+        'document'              => array (
225 225
             'exclude' => 1,
226 226
             'label'   => 'LLL:EXT:dpf2/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document',
227
-            'config'  => array(
227
+            'config'  => array (
228 228
                 'type'          => 'select',
229 229
                 'renderType'    => 'selectSingle',
230 230
                 'foreign_table' => 'tx_dpf_domain_model_document',
Please login to merge, or discard this patch.