Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Branch master (1ffd1c)
by Sebastian
03:57
created
dlf/modules/indexing/index.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@  discard block
 block discarded – undo
21 21
 
22 22
 	protected $modPath = 'indexing/';
23 23
 
24
-	protected $buttonArray = array (
24
+	protected $buttonArray = array(
25 25
 		'SHORTCUT' => '',
26 26
 	);
27 27
 
28
-	protected $markerArray = array (
28
+	protected $markerArray = array(
29 29
 		'CSH' => '',
30 30
 		'MOD_MENU' => '',
31 31
 		'CONTENT' => '',
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 		$this->list->save();
163 163
 
164 164
 		// Save document to database and index.
165
-		$doc =& tx_dlf_document::getInstance($uid, 0, TRUE);
165
+		$doc = & tx_dlf_document::getInstance($uid, 0, TRUE);
166 166
 
167 167
 		if ($doc->ready) {
168 168
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 		$this->markerArray['CONTENT'] .= $_message->render();
183 183
 
184 184
 		// Start next loop.
185
-		$this->markerArray['CONTENT'] .= '<script type="text/javascript">window.location.href=unescape("'.\TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeJS(\TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'indexLoop', $this->prefixId => array ('core' => $this->data['core']), 'random' => uniqid())))).'");</script>';
185
+		$this->markerArray['CONTENT'] .= '<script type="text/javascript">window.location.href=unescape("'.\TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeJS(\TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'indexLoop', $this->prefixId => array('core' => $this->data['core']), 'random' => uniqid())))).'");</script>';
186 186
 
187 187
 		$this->printContent();
188 188
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 					if (!empty($this->data['id']) && isset($this->data['core'])) {
219 219
 
220 220
 						// Save document to database and index.
221
-						$doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
221
+						$doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
222 222
 
223 223
 						if ($doc->ready) {
224 224
 
@@ -275,11 +275,11 @@  discard block
 block discarded – undo
275 275
 						}
276 276
 
277 277
 						// Save them as a list object in user's session.
278
-						$elements = array ();
278
+						$elements = array();
279 279
 
280 280
 						while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($_result)) {
281 281
 
282
-							$elements[] = array ($resArray['uid'], $resArray['title']);
282
+							$elements[] = array($resArray['uid'], $resArray['title']);
283 283
 
284 284
 						}
285 285
 
@@ -372,8 +372,8 @@  discard block
 block discarded – undo
372 372
 	 */
373 373
 	protected function setMOD_MENU() {
374 374
 
375
-		$this->MOD_MENU = array (
376
-			'function' => array (
375
+		$this->MOD_MENU = array(
376
+			'function' => array(
377 377
 				'indexFile' => $GLOBALS['LANG']->getLL('function.indexFile'),
378 378
 				//'reindexDoc' => $GLOBALS['LANG']->getLL('function.reindexDoc'),
379 379
 				'reindexDocs' => $GLOBALS['LANG']->getLL('function.reindexDocs'),
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_formats.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats',
15 15
 		'label'     => 'type',
16 16
 		'tstamp'    => 'tstamp',
@@ -23,43 +23,43 @@  discard block
 block discarded – undo
23 23
 		'dividers2tabs' => 2,
24 24
 		'searchFields' => 'type,class',
25 25
 	),
26
-	'feInterface' => array (
26
+	'feInterface' => array(
27 27
 		'fe_admin_fieldList' => '',
28 28
 	),
29
-  'interface' => array (
29
+  'interface' => array(
30 30
 		'showRecordFieldList' => 'type,class',
31 31
 	),
32
-	'columns' => array (
33
-		'type' => array (
32
+	'columns' => array(
33
+		'type' => array(
34 34
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type',
35
-			'config' => array (
35
+			'config' => array(
36 36
 				'type' => 'input',
37 37
 				'size' => 30,
38 38
 				'max' => 255,
39 39
 				'eval' => 'required,nospace,alphanum_x,unique',
40 40
 			),
41 41
 		),
42
-		'root' => array (
42
+		'root' => array(
43 43
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root',
44
-			'config' => array (
44
+			'config' => array(
45 45
 				'type' => 'input',
46 46
 				'size' => 30,
47 47
 				'max' => 255,
48 48
 				'eval' => 'required,nospace,alphanum_x,unique',
49 49
 			),
50 50
 		),
51
-		'namespace' => array (
51
+		'namespace' => array(
52 52
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace',
53
-			'config' => array (
53
+			'config' => array(
54 54
 				'type' => 'input',
55 55
 				'size' => 30,
56 56
 				'max' => 1024,
57 57
 				'eval' => 'required,nospace,unique',
58 58
 			),
59 59
 		),
60
-		'class' => array (
60
+		'class' => array(
61 61
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class',
62
-			'config' => array (
62
+			'config' => array(
63 63
 				'type' => 'input',
64 64
 				'size' => 30,
65 65
 				'max' => 1024,
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
 			),
68 68
 		),
69 69
 	),
70
-	'types' => array (
71
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'),
70
+	'types' => array(
71
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'),
72 72
 	),
73
-	'palettes' => array (
74
-		'1' => array ('showitem' => ''),
73
+	'palettes' => array(
74
+		'1' => array('showitem' => ''),
75 75
 	),
76 76
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_documents.php 1 patch
Spacing   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents',
15 15
 		'label'     => 'title',
16 16
 		'tstamp'    => 'tstamp',
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 		'cruser_id' => 'cruser_id',
19 19
 		'default_sortby' => 'ORDER BY title_sorting',
20 20
 		'delete'	=> 'deleted',
21
-		'enablecolumns' => array (
21
+		'enablecolumns' => array(
22 22
 			'disabled' => 'hidden',
23 23
 			'starttime' => 'starttime',
24 24
 			'endtime' => 'endtime',
@@ -29,27 +29,27 @@  discard block
 block discarded – undo
29 29
 		'dividers2tabs' => 2,
30 30
 		'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
31 31
 	),
32
-	'feInterface' => array (
32
+	'feInterface' => array(
33 33
 		'fe_admin_fieldList' => '',
34 34
 	),
35
-	'interface' => array (
35
+	'interface' => array(
36 36
 		'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
37 37
 		'maxDBListItems' => 25,
38 38
 		'maxSingleDBListItems' => 50,
39 39
 	),
40
-	'columns' => array (
41
-		'hidden' => array (
40
+	'columns' => array(
41
+		'hidden' => array(
42 42
 			'exclude' => 1,
43 43
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
44
-			'config' => array (
44
+			'config' => array(
45 45
 				'type' => 'check',
46 46
 				'default' => 0,
47 47
 			),
48 48
 		),
49
-		'starttime' => array (
49
+		'starttime' => array(
50 50
 			'exclude' => 1,
51 51
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
52
-			'config' => array (
52
+			'config' => array(
53 53
 				'type' => 'input',
54 54
 				'size' => '13',
55 55
 				'max' => '20',
@@ -57,10 +57,10 @@  discard block
 block discarded – undo
57 57
 				'default' => '0',
58 58
 			),
59 59
 		),
60
-		'endtime' => array (
60
+		'endtime' => array(
61 61
 			'exclude' => 1,
62 62
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
63
-			'config' => array (
63
+			'config' => array(
64 64
 				'type' => 'input',
65 65
 				'size' => '13',
66 66
 				'max' => '20',
@@ -68,16 +68,16 @@  discard block
 block discarded – undo
68 68
 				'default' => '0',
69 69
 			),
70 70
 		),
71
-		'fe_group' => array (
71
+		'fe_group' => array(
72 72
 			'exclude' => 1,
73 73
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
74
-			'config' => array (
74
+			'config' => array(
75 75
 				'type' => 'select',
76 76
 				'renderType' => 'selectMultipleSideBySide',
77
-				'items' => array (
78
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
79
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
80
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
77
+				'items' => array(
78
+					array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
79
+					array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
80
+					array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
81 81
 				),
82 82
 				'foreign_table' => 'fe_groups',
83 83
 				'size' => 5,
@@ -87,148 +87,148 @@  discard block
 block discarded – undo
87 87
 				'exclusiveKeys' => '-1,-2',
88 88
 			),
89 89
 		),
90
-		'prod_id' => array (
90
+		'prod_id' => array(
91 91
 			'exclude' => 1,
92 92
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id',
93
-			'config' => array (
93
+			'config' => array(
94 94
 				'type' => 'input',
95 95
 				'size' => 30,
96 96
 				'max' => 255,
97 97
 				'eval' => 'nospace',
98 98
 			),
99 99
 		),
100
-		'location' => array (
100
+		'location' => array(
101 101
 			'exclude' => 1,
102 102
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location',
103
-			'config' => array (
103
+			'config' => array(
104 104
 				'type' => 'input',
105 105
 				'size' => 30,
106 106
 				'max' => 1024,
107 107
 				'eval' => 'required,uniqueInPid',
108 108
 			),
109 109
 		),
110
-		'record_id' => array (
110
+		'record_id' => array(
111 111
 			'exclude' => 1,
112 112
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id',
113
-			'config' => array (
113
+			'config' => array(
114 114
 				'type' => 'input',
115 115
 				'size' => 30,
116 116
 				'max' => 255,
117 117
 				'eval' => 'nospace,uniqueInPid',
118 118
 			),
119 119
 		),
120
-		'opac_id' => array (
120
+		'opac_id' => array(
121 121
 			'exclude' => 1,
122 122
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id',
123
-			'config' => array (
123
+			'config' => array(
124 124
 				'type' => 'input',
125 125
 				'size' => 30,
126 126
 				'max' => 255,
127 127
 				'eval' => 'nospace',
128 128
 			),
129 129
 		),
130
-		'union_id' => array (
130
+		'union_id' => array(
131 131
 			'exclude' => 1,
132 132
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id',
133
-			'config' => array (
133
+			'config' => array(
134 134
 				'type' => 'input',
135 135
 				'size' => 30,
136 136
 				'max' => 255,
137 137
 				'eval' => 'nospace',
138 138
 			),
139 139
 		),
140
-		'urn' => array (
140
+		'urn' => array(
141 141
 			'exclude' => 1,
142 142
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn',
143
-			'config' => array (
143
+			'config' => array(
144 144
 				'type' => 'input',
145 145
 				'size' => 30,
146 146
 				'max' => 255,
147 147
 				'eval' => 'nospace',
148 148
 			),
149 149
 		),
150
-		'purl' => array (
150
+		'purl' => array(
151 151
 			'exclude' => 1,
152 152
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl',
153
-			'config' => array (
153
+			'config' => array(
154 154
 				'type' => 'input',
155 155
 				'size' => 30,
156 156
 				'max' => 255,
157 157
 				'eval' => 'nospace',
158 158
 			),
159 159
 		),
160
-		'title' => array (
160
+		'title' => array(
161 161
 			'exclude' => 1,
162 162
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title',
163
-			'config' => array (
163
+			'config' => array(
164 164
 				'type' => 'input',
165 165
 				'size' => 30,
166 166
 				'max' => 1024,
167 167
 				'eval' => 'trim',
168 168
 			),
169 169
 		),
170
-		'title_sorting' => array (
170
+		'title_sorting' => array(
171 171
 			'exclude' => 1,
172 172
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting',
173
-			'config' => array (
173
+			'config' => array(
174 174
 				'type' => 'input',
175 175
 				'size' => 30,
176 176
 				'max' => 1024,
177 177
 				'eval' => 'trim',
178 178
 			),
179 179
 		),
180
-		'author' => array (
180
+		'author' => array(
181 181
 			'exclude' => 1,
182 182
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author',
183
-			'config' => array (
183
+			'config' => array(
184 184
 				'type' => 'input',
185 185
 				'size' => 30,
186 186
 				'max' => 255,
187 187
 				'eval' => 'trim',
188 188
 			),
189 189
 		),
190
-		'year' => array (
190
+		'year' => array(
191 191
 			'exclude' => 1,
192 192
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year',
193
-			'config' => array (
193
+			'config' => array(
194 194
 				'type' => 'input',
195 195
 				'size' => 30,
196 196
 				'max' => 255,
197 197
 				'eval' => 'trim',
198 198
 			),
199 199
 		),
200
-		'place' => array (
200
+		'place' => array(
201 201
 			'exclude' => 1,
202 202
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place',
203
-			'config' => array (
203
+			'config' => array(
204 204
 				'type' => 'input',
205 205
 				'size' => 30,
206 206
 				'max' => 255,
207 207
 				'eval' => 'trim',
208 208
 			),
209 209
 		),
210
-		'thumbnail' => array (
210
+		'thumbnail' => array(
211 211
 			'exclude' => 1,
212 212
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail',
213
-			'config' => array (
213
+			'config' => array(
214 214
 				'type' => 'user',
215 215
 				'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail',
216 216
 			),
217 217
 		),
218
-		'metadata' => array (
219
-			'config' => array (
218
+		'metadata' => array(
219
+			'config' => array(
220 220
 				'type' => 'passthrough',
221 221
 			),
222 222
 		),
223
-		'metadata_sorting' => array (
224
-			'config' => array (
223
+		'metadata_sorting' => array(
224
+			'config' => array(
225 225
 				'type' => 'passthrough',
226 226
 			),
227 227
 		),
228
-		'structure' => array (
228
+		'structure' => array(
229 229
 			'exclude' => 1,
230 230
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure',
231
-			'config' => array (
231
+			'config' => array(
232 232
 				'type' => 'select',
233 233
 				'renderType' => 'selectSingle',
234 234
 				'foreign_table' => 'tx_dlf_structures',
@@ -238,9 +238,9 @@  discard block
 block discarded – undo
238 238
 				'maxitems' => 1,
239 239
 			),
240 240
 		),
241
-		'partof' => array (
241
+		'partof' => array(
242 242
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof',
243
-			'config' => array (
243
+			'config' => array(
244 244
 				'type' => 'group',
245 245
 				'internal_type' => 'db',
246 246
 				'allowed' => 'tx_dlf_documents',
@@ -254,30 +254,30 @@  discard block
 block discarded – undo
254 254
 				'readOnly' => 1,
255 255
 			),
256 256
 		),
257
-		'volume' => array (
257
+		'volume' => array(
258 258
 			'exclude' => 1,
259 259
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume',
260
-			'config' => array (
260
+			'config' => array(
261 261
 				'type' => 'input',
262 262
 				'size' => 30,
263 263
 				'max' => 255,
264 264
 				'eval' => 'trim',
265 265
 			),
266 266
 		),
267
-		'volume_sorting' => array (
267
+		'volume_sorting' => array(
268 268
 			'exclude' => 1,
269 269
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting',
270
-			'config' => array (
270
+			'config' => array(
271 271
 				'type' => 'input',
272 272
 				'size' => 30,
273 273
 				'max' => 255,
274 274
 				'eval' => 'trim',
275 275
 			),
276 276
 		),
277
-		'collections' => array (
277
+		'collections' => array(
278 278
 			'exclude' => 1,
279 279
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections',
280
-			'config' => array (
280
+			'config' => array(
281 281
 				'type' => 'select',
282 282
 				'renderType' => 'selectMultipleSideBySide',
283 283
 				'foreign_table' => 'tx_dlf_collections',
@@ -287,15 +287,15 @@  discard block
 block discarded – undo
287 287
 				'minitems' => 1,
288 288
 				'maxitems' => 1024,
289 289
 				'MM' => 'tx_dlf_relations',
290
-				'MM_match_fields' => array (
290
+				'MM_match_fields' => array(
291 291
 					'ident' => 'docs_colls',
292 292
 				),
293 293
 			),
294 294
 		),
295
-		'owner' => array (
295
+		'owner' => array(
296 296
 			'exclude' => 1,
297 297
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner',
298
-			'config' => array (
298
+			'config' => array(
299 299
 				'type' => 'select',
300 300
 				'renderType' => 'selectSingle',
301 301
 				'foreign_table' => 'tx_dlf_libraries',
@@ -305,19 +305,19 @@  discard block
 block discarded – undo
305 305
 				'maxitems' => 1,
306 306
 			),
307 307
 		),
308
-		'solrcore' => array (
309
-			'config' => array (
308
+		'solrcore' => array(
309
+			'config' => array(
310 310
 				'type' => 'passthrough',
311 311
 			),
312 312
 		),
313
-		'status' => array (
313
+		'status' => array(
314 314
 			'exclude' => 1,
315 315
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status',
316
-			'config' => array (
316
+			'config' => array(
317 317
 				'type' => 'select',
318 318
 				'renderType' => 'selectSingle',
319
-				'items' => array (
320
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0),
319
+				'items' => array(
320
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0),
321 321
 				),
322 322
 				'size' => 1,
323 323
 				'minitems' => 1,
@@ -326,12 +326,12 @@  discard block
 block discarded – undo
326 326
 			),
327 327
 		),
328 328
 	),
329
-	'types' => array (
330
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'),
329
+	'types' => array(
330
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'),
331 331
 	),
332
-	'palettes' => array (
333
-		'1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1),
334
-		'2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1),
335
-		'3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1),
332
+	'palettes' => array(
333
+		'1' => array('showitem' => 'title_sorting', 'canNotCollapse' => 1),
334
+		'2' => array('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1),
335
+		'3' => array('showitem' => 'starttime, endtime', 'canNotCollapse' => 1),
336 336
 	)
337 337
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_basket.php 2 patches
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -10,67 +10,67 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'fe_user_id' => 'fe_user_id',
18
-        'languageField' => 'sys_language_uid',
19
-        'transOrigPointerField' => 'l18n_parent',
20
-        'transOrigDiffSourceField' => 'l18n_diffsource',
21
-        'default_sortby' => 'ORDER BY label',
22
-        'delete'	=> 'deleted',
23
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfbasket.png',
24
-        'rootLevel'	=> 0,
25
-        'dividers2tabs' => 2,
26
-        'searchFields' => '',
27
-    ),
28
-    'interface' => array (
29
-        'showRecordFieldList' => 'label,doc_ids,session_id',
30
-    ),
31
-    'feInterface' => array (
32
-        'fe_admin_fieldList' => '',
33
-    ),
34
-    'columns' => array (
35
-        'label' => array (
36
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label',
37
-            'config' => array (
38
-                'type' => 'input',
39
-                'size' => 30,
40
-                'max' => 255,
41
-                'eval' => 'required,trim',
42
-            ),
43
-        ),
44
-        'session_id' => array (
45
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId',
46
-            'config' => array (
47
-                'type' => 'input',
48
-                'size' => 30,
49
-                'max' => 255,
50
-                'eval' => 'alphanum,unique',
51
-            ),
52
-        ),
53
-        'doc_ids' => array (
54
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds',
55
-            'config' => array (
56
-                'type' => 'input',
57
-                'size' => 30,
58
-                'max' => 255,
59
-                'eval' => 'alphanum_x',
60
-            ),
61
-        ),
62
-        'fe_user_id' => array (
63
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser',
64
-            'config' => array (
65
-                'type' => 'input',
66
-                'eval' => 'int,unique',
67
-            ),
68
-        ),
69
-    ),
70
-    'types' => array (
71
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'),
72
-    ),
73
-    'palettes' => array (
74
-        '1' => array ('showitem' => ''),
75
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'fe_user_id' => 'fe_user_id',
18
+		'languageField' => 'sys_language_uid',
19
+		'transOrigPointerField' => 'l18n_parent',
20
+		'transOrigDiffSourceField' => 'l18n_diffsource',
21
+		'default_sortby' => 'ORDER BY label',
22
+		'delete'	=> 'deleted',
23
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfbasket.png',
24
+		'rootLevel'	=> 0,
25
+		'dividers2tabs' => 2,
26
+		'searchFields' => '',
27
+	),
28
+	'interface' => array (
29
+		'showRecordFieldList' => 'label,doc_ids,session_id',
30
+	),
31
+	'feInterface' => array (
32
+		'fe_admin_fieldList' => '',
33
+	),
34
+	'columns' => array (
35
+		'label' => array (
36
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label',
37
+			'config' => array (
38
+				'type' => 'input',
39
+				'size' => 30,
40
+				'max' => 255,
41
+				'eval' => 'required,trim',
42
+			),
43
+		),
44
+		'session_id' => array (
45
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId',
46
+			'config' => array (
47
+				'type' => 'input',
48
+				'size' => 30,
49
+				'max' => 255,
50
+				'eval' => 'alphanum,unique',
51
+			),
52
+		),
53
+		'doc_ids' => array (
54
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds',
55
+			'config' => array (
56
+				'type' => 'input',
57
+				'size' => 30,
58
+				'max' => 255,
59
+				'eval' => 'alphanum_x',
60
+			),
61
+		),
62
+		'fe_user_id' => array (
63
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser',
64
+			'config' => array (
65
+				'type' => 'input',
66
+				'eval' => 'int,unique',
67
+			),
68
+		),
69
+	),
70
+	'types' => array (
71
+		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'),
72
+	),
73
+	'palettes' => array (
74
+		'1' => array ('showitem' => ''),
75
+	),
76 76
 );
77 77
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-    'ctrl' => array (
12
+return array(
13
+    'ctrl' => array(
14 14
         'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket',
15 15
         'label'     => 'label',
16 16
         'tstamp'    => 'tstamp',
@@ -25,52 +25,52 @@  discard block
 block discarded – undo
25 25
         'dividers2tabs' => 2,
26 26
         'searchFields' => '',
27 27
     ),
28
-    'interface' => array (
28
+    'interface' => array(
29 29
         'showRecordFieldList' => 'label,doc_ids,session_id',
30 30
     ),
31
-    'feInterface' => array (
31
+    'feInterface' => array(
32 32
         'fe_admin_fieldList' => '',
33 33
     ),
34
-    'columns' => array (
35
-        'label' => array (
34
+    'columns' => array(
35
+        'label' => array(
36 36
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label',
37
-            'config' => array (
37
+            'config' => array(
38 38
                 'type' => 'input',
39 39
                 'size' => 30,
40 40
                 'max' => 255,
41 41
                 'eval' => 'required,trim',
42 42
             ),
43 43
         ),
44
-        'session_id' => array (
44
+        'session_id' => array(
45 45
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId',
46
-            'config' => array (
46
+            'config' => array(
47 47
                 'type' => 'input',
48 48
                 'size' => 30,
49 49
                 'max' => 255,
50 50
                 'eval' => 'alphanum,unique',
51 51
             ),
52 52
         ),
53
-        'doc_ids' => array (
53
+        'doc_ids' => array(
54 54
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds',
55
-            'config' => array (
55
+            'config' => array(
56 56
                 'type' => 'input',
57 57
                 'size' => 30,
58 58
                 'max' => 255,
59 59
                 'eval' => 'alphanum_x',
60 60
             ),
61 61
         ),
62
-        'fe_user_id' => array (
62
+        'fe_user_id' => array(
63 63
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser',
64
-            'config' => array (
64
+            'config' => array(
65 65
                 'type' => 'input',
66 66
                 'eval' => 'int,unique',
67 67
             ),
68 68
         ),
69 69
     ),
70
-    'types' => array (
71
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'),
70
+    'types' => array(
71
+        '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'),
72 72
     ),
73
-    'palettes' => array (
74
-        '1' => array ('showitem' => ''),
73
+    'palettes' => array(
74
+        '1' => array('showitem' => ''),
75 75
     ),
76 76
 );
77 77
\ No newline at end of file
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_metadataformat.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat',
15 15
 		'label'     => 'encoded',
16 16
 		'tstamp'    => 'tstamp',
@@ -24,22 +24,22 @@  discard block
 block discarded – undo
24 24
 		'searchFields' => 'encoded',
25 25
 		'hideTable'	=> 1,
26 26
 	),
27
-	'feInterface' => array (
27
+	'feInterface' => array(
28 28
 		'fe_admin_fieldList' => '',
29 29
 	),
30
-  'interface' => array (
30
+  'interface' => array(
31 31
 		'showRecordFieldList' => 'parent_id,encoded,xpath,xpath_sorting',
32 32
 	),
33
-	'columns' => array (
34
-		'parent_id' => array (
35
-			'config' => array (
33
+	'columns' => array(
34
+		'parent_id' => array(
35
+			'config' => array(
36 36
 				'type' => 'passthrough',
37 37
 			),
38 38
 		),
39
-		'encoded' => array (
39
+		'encoded' => array(
40 40
 			'exclude' => 1,
41 41
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.encoded',
42
-			'config' => array (
42
+			'config' => array(
43 43
 				'type' => 'select',
44 44
 				'renderType' => 'selectSingle',
45 45
 				'foreign_table' => 'tx_dlf_formats',
@@ -49,39 +49,39 @@  discard block
 block discarded – undo
49 49
 				'maxitems' => 1,
50 50
 			),
51 51
 		),
52
-		'xpath' => array (
52
+		'xpath' => array(
53 53
 			'exclude' => 1,
54 54
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath',
55
-			'config' => array (
55
+			'config' => array(
56 56
 				'type' => 'input',
57 57
 				'size' => 30,
58 58
 				'max' => 1024,
59 59
 				'eval' => 'required,trim',
60 60
 			),
61 61
 		),
62
-		'xpath_sorting' => array (
62
+		'xpath_sorting' => array(
63 63
 			'exclude' => 1,
64 64
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath_sorting',
65
-			'config' => array (
65
+			'config' => array(
66 66
 				'type' => 'input',
67 67
 				'size' => 30,
68 68
 				'max' => 1024,
69 69
 				'eval' => 'trim',
70 70
 			),
71 71
 		),
72
-		'mandatory' => array (
72
+		'mandatory' => array(
73 73
 			'exclude' => 1,
74 74
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.mandatory',
75
-			'config' => array (
75
+			'config' => array(
76 76
 				'type' => 'check',
77 77
 				'default' => 0,
78 78
 			),
79 79
 		),
80 80
 	),
81
-	'types' => array (
82
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'),
81
+	'types' => array(
82
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'),
83 83
 	),
84
-	'palettes' => array (
85
-		'1' => array ('showitem' => ''),
84
+	'palettes' => array(
85
+		'1' => array('showitem' => ''),
86 86
 	),
87 87
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_libraries.php 1 patch
Spacing   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries',
15 15
 		'label'     => 'label',
16 16
 		'tstamp'    => 'tstamp',
@@ -26,91 +26,91 @@  discard block
 block discarded – undo
26 26
 		'dividers2tabs' => 2,
27 27
 		'searchFields' => 'label,website,contact',
28 28
 	),
29
-	'feInterface' => array (
29
+	'feInterface' => array(
30 30
 		'fe_admin_fieldList' => '',
31 31
 	),
32
-  'interface' => array (
32
+  'interface' => array(
33 33
 		'showRecordFieldList' => 'label,website,contact',
34 34
 	),
35
-	'columns' => array (
36
-		'sys_language_uid' => array (
35
+	'columns' => array(
36
+		'sys_language_uid' => array(
37 37
 			'exclude' => 1,
38 38
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
39
-			'config' => array (
39
+			'config' => array(
40 40
 				'type' => 'select',
41 41
 				'renderType' => 'selectSingle',
42 42
 				'foreign_table' => 'sys_language',
43 43
 				'foreign_table_where' => 'ORDER BY sys_language.title',
44
-				'items' => array (
45
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
46
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
44
+				'items' => array(
45
+					array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
46
+					array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
47 47
 				),
48 48
 				'default' => 0
49 49
 			),
50 50
 		),
51
-		'l18n_parent' => array (
51
+		'l18n_parent' => array(
52 52
 			'displayCond' => 'FIELD:sys_language_uid:>:0',
53 53
 			'exclude' => 1,
54 54
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
55
-			'config' => array (
55
+			'config' => array(
56 56
 				'type' => 'select',
57 57
 				'renderType' => 'selectSingle',
58
-				'items' => array (
59
-					array ('', 0),
58
+				'items' => array(
59
+					array('', 0),
60 60
 				),
61 61
 				'foreign_table' => 'tx_dlf_libraries',
62 62
 				'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)',
63 63
 			),
64 64
 		),
65
-		'l18n_diffsource' => array (
66
-			'config' => array (
65
+		'l18n_diffsource' => array(
66
+			'config' => array(
67 67
 				'type' => 'passthrough'
68 68
 			),
69 69
 		),
70
-		'label' => array (
70
+		'label' => array(
71 71
 			'exclude' => 1,
72 72
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label',
73
-			'config' => array (
73
+			'config' => array(
74 74
 				'type' => 'input',
75 75
 				'size' => 30,
76 76
 				'max' => 255,
77 77
 				'eval' => 'required,trim',
78 78
 			),
79 79
 		),
80
-		'index_name' => array (
80
+		'index_name' => array(
81 81
 			'exclude' => 1,
82 82
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name',
83
-			'config' => array (
83
+			'config' => array(
84 84
 				'type' => 'none',
85 85
 				'size' => 30,
86 86
 				'max' => 255,
87 87
 				'eval' => 'required,uniqueInPid',
88 88
 			),
89 89
 		),
90
-		'website' => array (
90
+		'website' => array(
91 91
 			'exclude' => 1,
92 92
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website',
93
-			'config' => array (
93
+			'config' => array(
94 94
 				'type' => 'input',
95 95
 				'size' => 30,
96 96
 				'max' => 255,
97 97
 				'eval' => 'nospace',
98 98
 			),
99 99
 		),
100
-		'contact' => array (
100
+		'contact' => array(
101 101
 			'exclude' => 1,
102 102
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact',
103
-			'config' => array (
103
+			'config' => array(
104 104
 				'type' => 'input',
105 105
 				'size' => 30,
106 106
 				'max' => 255,
107 107
 				'eval' => 'nospace',
108 108
 			),
109 109
 		),
110
-		'image' => array (
110
+		'image' => array(
111 111
 			'exclude' => 1,
112 112
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image',
113
-			'config' => array (
113
+			'config' => array(
114 114
 				'type' => 'group',
115 115
 				'internal_type' => 'file',
116 116
 				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
@@ -122,19 +122,19 @@  discard block
 block discarded – undo
122 122
 				'maxitems' => 1,
123 123
 			),
124 124
 		),
125
-		'oai_label' => array (
125
+		'oai_label' => array(
126 126
 			'exclude' => 1,
127 127
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label',
128
-			'config' => array (
128
+			'config' => array(
129 129
 				'type' => 'input',
130 130
 				'size' => 30,
131 131
 				'max' => 255,
132 132
 			),
133 133
 		),
134
-		'oai_base' => array (
134
+		'oai_base' => array(
135 135
 			'exclude' => 1,
136 136
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base',
137
-			'config' => array (
137
+			'config' => array(
138 138
 				'type' => 'group',
139 139
 				'internal_type' => 'db',
140 140
 				'allowed' => 'pages',
@@ -143,38 +143,38 @@  discard block
 block discarded – undo
143 143
 				'maxitems' => 1,
144 144
 			),
145 145
 		),
146
-		'opac_label' => array (
146
+		'opac_label' => array(
147 147
 			'exclude' => 1,
148 148
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label',
149
-			'config' => array (
149
+			'config' => array(
150 150
 				'type' => 'input',
151 151
 				'size' => 30,
152 152
 				'max' => 255,
153 153
 			),
154 154
 		),
155
-		'opac_base' => array (
155
+		'opac_base' => array(
156 156
 			'exclude' => 1,
157 157
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base',
158
-			'config' => array (
158
+			'config' => array(
159 159
 				'type' => 'input',
160 160
 				'size' => 30,
161 161
 				'max' => 255,
162 162
 				'eval' => 'nospace',
163 163
 			),
164 164
 		),
165
-		'union_label' => array (
165
+		'union_label' => array(
166 166
 			'exclude' => 1,
167 167
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label',
168
-			'config' => array (
168
+			'config' => array(
169 169
 				'type' => 'input',
170 170
 				'size' => 30,
171 171
 				'max' => 255,
172 172
 			),
173 173
 		),
174
-		'union_base' => array (
174
+		'union_base' => array(
175 175
 			'exclude' => 1,
176 176
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base',
177
-			'config' => array (
177
+			'config' => array(
178 178
 				'type' => 'input',
179 179
 				'size' => 30,
180 180
 				'max' => 255,
@@ -182,13 +182,13 @@  discard block
 block discarded – undo
182 182
 			),
183 183
 		),
184 184
 	),
185
-	'types' => array (
186
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab1, label,--palette--;;1;;1-1-1, website;;;;2-2-2, contact, image;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab3, oai_label,--palette--;;2;;1-1-1, opac_label,--palette--;;3;;2-2-2, union_label,--palette--;;4;;3-3-3'),
185
+	'types' => array(
186
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab1, label,--palette--;;1;;1-1-1, website;;;;2-2-2, contact, image;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab3, oai_label,--palette--;;2;;1-1-1, opac_label,--palette--;;3;;2-2-2, union_label,--palette--;;4;;3-3-3'),
187 187
 	),
188
-	'palettes' => array (
189
-		'1' => array ('showitem' => 'index_name', 'canNotCollapse' => 1),
190
-		'2' => array ('showitem' => 'oai_base', 'canNotCollapse' => 1),
191
-		'3' => array ('showitem' => 'opac_base', 'canNotCollapse' => 1),
192
-		'4' => array ('showitem' => 'union_base', 'canNotCollapse' => 1),
188
+	'palettes' => array(
189
+		'1' => array('showitem' => 'index_name', 'canNotCollapse' => 1),
190
+		'2' => array('showitem' => 'oai_base', 'canNotCollapse' => 1),
191
+		'3' => array('showitem' => 'opac_base', 'canNotCollapse' => 1),
192
+		'4' => array('showitem' => 'union_base', 'canNotCollapse' => 1),
193 193
 	),
194 194
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_metadata.php 1 patch
Spacing   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata',
15 15
 		'label'     => 'label',
16 16
 		'tstamp'    => 'tstamp',
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 		'transOrigDiffSourceField' => 'l18n_diffsource',
22 22
 		'sortby' => 'sorting',
23 23
 		'delete'	=> 'deleted',
24
-		'enablecolumns' => array (
24
+		'enablecolumns' => array(
25 25
 			'disabled' => 'hidden',
26 26
 		),
27 27
 		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png',
@@ -29,89 +29,89 @@  discard block
 block discarded – undo
29 29
 		'dividers2tabs' => 2,
30 30
 		'searchFields' => 'label,index_name',
31 31
 	),
32
-	'feInterface' => array (
32
+	'feInterface' => array(
33 33
 		'fe_admin_fieldList' => '',
34 34
 	),
35
-  'interface' => array (
35
+  'interface' => array(
36 36
 		'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete',
37 37
 	),
38
-	'columns' => array (
39
-		'sys_language_uid' => array (
38
+	'columns' => array(
39
+		'sys_language_uid' => array(
40 40
 			'exclude' => 1,
41 41
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
42
-			'config' => array (
42
+			'config' => array(
43 43
 				'type' => 'select',
44 44
 				'renderType' => 'selectSingle',
45 45
 				'foreign_table' => 'sys_language',
46 46
 				'foreign_table_where' => 'ORDER BY sys_language.title',
47
-				'items' => array (
48
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
49
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
47
+				'items' => array(
48
+					array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
49
+					array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
50 50
 				),
51 51
 				'default' => 0
52 52
 			),
53 53
 		),
54
-		'l18n_parent' => array (
54
+		'l18n_parent' => array(
55 55
 			'displayCond' => 'FIELD:sys_language_uid:>:0',
56 56
 			'exclude' => 1,
57 57
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
58
-			'config' => array (
58
+			'config' => array(
59 59
 				'type' => 'select',
60 60
 				'renderType' => 'selectSingle',
61
-				'items' => array (
62
-					array ('', 0),
61
+				'items' => array(
62
+					array('', 0),
63 63
 				),
64 64
 				'foreign_table' => 'tx_dlf_metadata',
65 65
 				'foreign_table_where' => 'AND tx_dlf_metadata.pid=###CURRENT_PID### AND tx_dlf_metadata.sys_language_uid IN (-1,0) ORDER BY label ASC',
66 66
 			),
67 67
 		),
68
-		'l18n_diffsource' => array (
69
-			'config' => array (
68
+		'l18n_diffsource' => array(
69
+			'config' => array(
70 70
 				'type' => 'passthrough'
71 71
 			),
72 72
 		),
73
-		'hidden' => array (
73
+		'hidden' => array(
74 74
 			'exclude' => 1,
75 75
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
76
-			'config' => array (
76
+			'config' => array(
77 77
 				'type' => 'check',
78 78
 				'default' => 0,
79 79
 			),
80 80
 		),
81
-		'label' => array (
81
+		'label' => array(
82 82
 			'exclude' => 1,
83 83
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label',
84
-			'config' => array (
84
+			'config' => array(
85 85
 				'type' => 'input',
86 86
 				'size' => 30,
87 87
 				'max' => 255,
88 88
 				'eval' => 'required,trim',
89 89
 			),
90 90
 		),
91
-		'index_name' => array (
91
+		'index_name' => array(
92 92
 			'exclude' => 1,
93 93
 			'l10n_mode' => 'exclude',
94 94
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name',
95
-			'config' => array (
95
+			'config' => array(
96 96
 				'type' => 'input',
97 97
 				'size' => 30,
98 98
 				'max' => 255,
99 99
 				'eval' => 'required,nospace,alphanum_x,uniqueInPid',
100 100
 			),
101 101
 		),
102
-		'format' => array (
102
+		'format' => array(
103 103
 			'exclude' => 1,
104 104
 			'l10n_mode' => 'exclude',
105 105
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format',
106
-			'config' => array (
106
+			'config' => array(
107 107
 				'type' => 'inline',
108 108
 				'foreign_table' => 'tx_dlf_metadataformat',
109 109
 				'foreign_field' => 'parent_id',
110 110
 				'foreign_unique' => 'encoded',
111
-				'appearance' => array (
111
+				'appearance' => array(
112 112
 					'expandSingle' => 1,
113 113
 					'levelLinksPosition' => 'bottom',
114
-					'enabledControls' => array (
114
+					'enabledControls' => array(
115 115
 						'info' => 0,
116 116
 						'new' => 1,
117 117
 						'dragdrop' => 0,
@@ -123,21 +123,21 @@  discard block
 block discarded – undo
123 123
 				),
124 124
 			),
125 125
 		),
126
-		'default_value' => array (
126
+		'default_value' => array(
127 127
 			'exclude' => 1,
128 128
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value',
129
-			'config' => array (
129
+			'config' => array(
130 130
 				'type' => 'input',
131 131
 				'size' => 30,
132 132
 				'max' => 1024,
133 133
 				'eval' => 'trim',
134 134
 			),
135 135
 		),
136
-		'wrap' => array (
136
+		'wrap' => array(
137 137
 			'exclude' => 1,
138 138
 			'l10n_mode' => 'mergeIfNotBlank',
139 139
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap',
140
-			'config' => array (
140
+			'config' => array(
141 141
 				'type' => 'text',
142 142
 				'cols' => 48,
143 143
 				'rows' => 20,
@@ -147,38 +147,38 @@  discard block
 block discarded – undo
147 147
 			),
148 148
 			'defaultExtras' => 'nowrap:fixed-font:enable-tab',
149 149
 		),
150
-		'index_tokenized' => array (
150
+		'index_tokenized' => array(
151 151
 			'exclude' => 1,
152 152
 			'l10n_mode' => 'exclude',
153 153
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized',
154
-			'config' => array (
154
+			'config' => array(
155 155
 				'type' => 'check',
156 156
 				'default' => 0,
157 157
 			),
158 158
 		),
159
-		'index_stored' => array (
159
+		'index_stored' => array(
160 160
 			'exclude' => 1,
161 161
 			'l10n_mode' => 'exclude',
162 162
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored',
163
-			'config' => array (
163
+			'config' => array(
164 164
 				'type' => 'check',
165 165
 				'default' => 0,
166 166
 			),
167 167
 		),
168
-		'index_indexed' => array (
168
+		'index_indexed' => array(
169 169
 			'exclude' => 1,
170 170
 			'l10n_mode' => 'exclude',
171 171
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed',
172
-			'config' => array (
172
+			'config' => array(
173 173
 				'type' => 'check',
174 174
 				'default' => 1,
175 175
 			),
176 176
 		),
177
-		'index_boost' => array (
177
+		'index_boost' => array(
178 178
 			'exclude' => 1,
179 179
 			'l10n_mode' => 'exclude',
180 180
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost',
181
-			'config' => array (
181
+			'config' => array(
182 182
 				'type' => 'input',
183 183
 				'size' => 5,
184 184
 				'max' => 64,
@@ -186,51 +186,51 @@  discard block
 block discarded – undo
186 186
 				'eval' => 'double2',
187 187
 			),
188 188
 		),
189
-		'is_sortable' => array (
189
+		'is_sortable' => array(
190 190
 			'exclude' => 1,
191 191
 			'l10n_mode' => 'exclude',
192 192
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable',
193
-			'config' => array (
193
+			'config' => array(
194 194
 				'type' => 'check',
195 195
 				'default' => 0,
196 196
 			),
197 197
 		),
198
-		'is_facet' => array (
198
+		'is_facet' => array(
199 199
 			'exclude' => 1,
200 200
 			'l10n_mode' => 'exclude',
201 201
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet',
202
-			'config' => array (
202
+			'config' => array(
203 203
 				'type' => 'check',
204 204
 				'default' => 0,
205 205
 			),
206 206
 		),
207
-		'is_listed' => array (
207
+		'is_listed' => array(
208 208
 			'exclude' => 1,
209 209
 			'l10n_mode' => 'exclude',
210 210
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed',
211
-			'config' => array (
211
+			'config' => array(
212 212
 				'type' => 'check',
213 213
 				'default' => 0,
214 214
 			),
215 215
 		),
216
-		'index_autocomplete' => array (
216
+		'index_autocomplete' => array(
217 217
 			'exclude' => 1,
218 218
 			'l10n_mode' => 'exclude',
219 219
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete',
220
-			'config' => array (
220
+			'config' => array(
221 221
 				'type' => 'check',
222 222
 				'default' => 0,
223 223
 			),
224 224
 		),
225
-		'status' => array (
225
+		'status' => array(
226 226
 			'exclude' => 1,
227 227
 			'l10n_mode' => 'exclude',
228 228
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status',
229
-			'config' => array (
229
+			'config' => array(
230 230
 				'type' => 'select',
231 231
 				'renderType' => 'selectSingle',
232
-				'items' => array (
233
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0),
232
+				'items' => array(
233
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0),
234 234
 				),
235 235
 				'size' => 1,
236 236
 				'minitems' => 1,
@@ -239,10 +239,10 @@  discard block
 block discarded – undo
239 239
 			),
240 240
 		),
241 241
 	),
242
-	'types' => array (
243
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, default_value;;;;3-3-3, wrap, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab3, hidden;;;;1-1-1, status;;;;2-2-2'),
242
+	'types' => array(
243
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, default_value;;;;3-3-3, wrap, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab3, hidden;;;;1-1-1, status;;;;2-2-2'),
244 244
 	),
245
-	'palettes' => array (
246
-		'1' => array ('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1),
245
+	'palettes' => array(
246
+		'1' => array('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1),
247 247
 	),
248 248
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_collections.php 1 patch
Spacing   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections',
15 15
 		'label'     => 'label',
16 16
 		'tstamp'    => 'tstamp',
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 		'transOrigDiffSourceField' => 'l18n_diffsource',
24 24
 		'default_sortby' => 'ORDER BY label',
25 25
 		'delete'	=> 'deleted',
26
-		'enablecolumns' => array (
26
+		'enablecolumns' => array(
27 27
 			'disabled' => 'hidden',
28 28
 			'fe_group' => 'fe_group',
29 29
 		),
@@ -32,65 +32,65 @@  discard block
 block discarded – undo
32 32
 		'dividers2tabs' => 2,
33 33
 		'searchFields' => 'label,index_name,oai_name,fe_cruser_id',
34 34
 	),
35
-	'feInterface' => array (
35
+	'feInterface' => array(
36 36
 		'fe_admin_fieldList' => 'label,description,thumbnail,documents',
37 37
 	),
38
-  'interface' => array (
38
+  'interface' => array(
39 39
 		'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id',
40 40
 	),
41
-	'columns' => array (
42
-		'sys_language_uid' => array (
41
+	'columns' => array(
42
+		'sys_language_uid' => array(
43 43
 			'exclude' => 1,
44 44
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
45
-			'config' => array (
45
+			'config' => array(
46 46
 				'type' => 'select',
47 47
 				'renderType' => 'selectSingle',
48 48
 				'foreign_table' => 'sys_language',
49 49
 				'foreign_table_where' => 'ORDER BY sys_language.title',
50
-				'items' => array (
51
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
52
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
50
+				'items' => array(
51
+					array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
52
+					array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
53 53
 				),
54 54
 				'default' => 0,
55 55
 			),
56 56
 		),
57
-		'l18n_parent' => array (
57
+		'l18n_parent' => array(
58 58
 			'displayCond' => 'FIELD:sys_language_uid:>:0',
59 59
 			'exclude' => 1,
60 60
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
61
-			'config' => array (
61
+			'config' => array(
62 62
 				'type' => 'select',
63 63
 				'renderType' => 'selectSingle',
64
-				'items' => array (
65
-					array ('', 0),
64
+				'items' => array(
65
+					array('', 0),
66 66
 				),
67 67
 				'foreign_table' => 'tx_dlf_collections',
68 68
 				'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)',
69 69
 			),
70 70
 		),
71
-		'l18n_diffsource' => array (
72
-			'config' => array (
71
+		'l18n_diffsource' => array(
72
+			'config' => array(
73 73
 				'type' => 'passthrough'
74 74
 			),
75 75
 		),
76
-		'hidden' => array (
76
+		'hidden' => array(
77 77
 			'exclude' => 1,
78 78
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
79
-			'config' => array (
79
+			'config' => array(
80 80
 				'type' => 'check',
81 81
 				'default' => 0,
82 82
 			),
83 83
 		),
84
-		'fe_group' => array (
84
+		'fe_group' => array(
85 85
 			'exclude' => 1,
86 86
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
87
-			'config' => array (
87
+			'config' => array(
88 88
 				'type' => 'select',
89 89
 				'renderType' => 'selectMultipleSideBySide',
90
-				'items' => array (
91
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
92
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
93
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
90
+				'items' => array(
91
+					array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
92
+					array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
93
+					array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'),
94 94
 				),
95 95
 				'foreign_table' => 'fe_groups',
96 96
 				'size' => 5,
@@ -100,40 +100,40 @@  discard block
 block discarded – undo
100 100
 				'exclusiveKeys' => '-1,-2',
101 101
 			),
102 102
 		),
103
-		'label' => array (
103
+		'label' => array(
104 104
 			'exclude' => 1,
105 105
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label',
106
-			'config' => array (
106
+			'config' => array(
107 107
 				'type' => 'input',
108 108
 				'size' => 30,
109 109
 				'max' => 255,
110 110
 				'eval' => 'required,trim',
111 111
 			),
112 112
 		),
113
-		'index_name' => array (
113
+		'index_name' => array(
114 114
 			'exclude' => 1,
115 115
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name',
116
-			'config' => array (
116
+			'config' => array(
117 117
 				'type' => 'none',
118 118
 				'size' => 30,
119 119
 				'max' => 255,
120 120
 				'eval' => 'required,uniqueInPid',
121 121
 			),
122 122
 		),
123
-		'oai_name' => array (
123
+		'oai_name' => array(
124 124
 			'exclude' => 1,
125 125
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name',
126
-			'config' => array (
126
+			'config' => array(
127 127
 				'type' => 'input',
128 128
 				'size' => 30,
129 129
 				'max' => 255,
130 130
 				'eval' => 'nospace,alphanum_x,uniqueInPid',
131 131
 			),
132 132
 		),
133
-		'description' => array (
133
+		'description' => array(
134 134
 			'exclude' => 1,
135 135
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description',
136
-			'config' => array (
136
+			'config' => array(
137 137
 				'type' => 'text',
138 138
 				'cols' => 30,
139 139
 				'rows' => 10,
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
 			),
142 142
 			'defaultExtras' => 'richtext[undo,redo,cut,copy,paste,link,image,line,acronym,chMode,blockstylelabel,formatblock,blockstyle,textstylelabel,textstyle,bold,italic,unorderedlist,orderedlist]:rte_transform[mode=ts_css]',
143 143
 		),
144
-		'thumbnail' => array (
144
+		'thumbnail' => array(
145 145
 			'exclude' => 1,
146 146
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail',
147
-			'config' => array (
147
+			'config' => array(
148 148
 				'type' => 'group',
149 149
 				'internal_type' => 'file_reference',
150 150
 				'allowed' => 'gif,jpg,png',
@@ -153,18 +153,18 @@  discard block
 block discarded – undo
153 153
 				'maxitems' => 1,
154 154
 			),
155 155
 		),
156
-		'priority' => array (
156
+		'priority' => array(
157 157
 			'exclude' => 1,
158 158
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority',
159
-			'config' => array (
159
+			'config' => array(
160 160
 				'type' => 'select',
161 161
 				'renderType' => 'selectSingle',
162
-				'items' => array (
163
-					array ('1', 1),
164
-					array ('2', 2),
165
-					array ('3', 3),
166
-					array ('4', 4),
167
-					array ('5', 5),
162
+				'items' => array(
163
+					array('1', 1),
164
+					array('2', 2),
165
+					array('3', 3),
166
+					array('4', 4),
167
+					array('5', 5),
168 168
 				),
169 169
 				'size' => 1,
170 170
 				'minitems' => 1,
@@ -172,10 +172,10 @@  discard block
 block discarded – undo
172 172
 				'default' => 3,
173 173
 			),
174 174
 		),
175
-		'documents' => array (
175
+		'documents' => array(
176 176
 			'exclude' => 1,
177 177
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents',
178
-			'config' => array (
178
+			'config' => array(
179 179
 				'type' => 'select',
180 180
 				'renderType' => 'selectSingleBox',
181 181
 				'foreign_table' => 'tx_dlf_documents',
@@ -185,20 +185,20 @@  discard block
 block discarded – undo
185 185
 				'minitems' => 0,
186 186
 				'maxitems' => 1048576,
187 187
 				'MM' => 'tx_dlf_relations',
188
-				'MM_match_fields' => array (
188
+				'MM_match_fields' => array(
189 189
 					'ident' => 'docs_colls',
190 190
 				),
191 191
 				'MM_opposite_field' => 'collections',
192 192
 			),
193 193
 		),
194
-		'owner' => array (
194
+		'owner' => array(
195 195
 			'exclude' => 1,
196 196
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner',
197
-			'config' => array (
197
+			'config' => array(
198 198
 				'type' => 'select',
199 199
 				'renderType' => 'selectSingle',
200
-				'items' => array (
201
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
200
+				'items' => array(
201
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
202 202
 				),
203 203
 				'foreign_table' => 'tx_dlf_libraries',
204 204
 				'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
@@ -207,14 +207,14 @@  discard block
 block discarded – undo
207 207
 				'maxitems' => 1,
208 208
 			),
209 209
 		),
210
-		'fe_cruser_id' => array (
210
+		'fe_cruser_id' => array(
211 211
 			'exclude' => 1,
212 212
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id',
213
-			'config' => array (
213
+			'config' => array(
214 214
 				'type' => 'select',
215 215
 				'renderType' => 'selectSingle',
216
-				'items' => array (
217
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
216
+				'items' => array(
217
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
218 218
 				),
219 219
 				'foreign_table' => 'fe_users',
220 220
 				'foreign_table_where' => 'ORDER BY fe_users.username',
@@ -223,22 +223,22 @@  discard block
 block discarded – undo
223 223
 				'maxitems' => 1,
224 224
 			),
225 225
 		),
226
-		'fe_admin_lock' => array (
226
+		'fe_admin_lock' => array(
227 227
 			'exclude' => 1,
228 228
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock',
229
-			'config' => array (
229
+			'config' => array(
230 230
 				'type' => 'check',
231 231
 				'default' => 0,
232 232
 			),
233 233
 		),
234
-		'status' => array (
234
+		'status' => array(
235 235
 			'exclude' => 1,
236 236
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status',
237
-			'config' => array (
237
+			'config' => array(
238 238
 				'type' => 'select',
239 239
 				'renderType' => 'selectSingle',
240
-				'items' => array (
241
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
240
+				'items' => array(
241
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
242 242
 				),
243 243
 				'size' => 1,
244 244
 				'minitems' => 1,
@@ -247,12 +247,12 @@  discard block
 block discarded – undo
247 247
 			),
248 248
 		),
249 249
 	),
250
-	'types' => array (
251
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'),
250
+	'types' => array(
251
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'),
252 252
 	),
253
-	'palettes' => array (
254
-		'1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
255
-		'2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
256
-		'3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
253
+	'palettes' => array(
254
+		'1' => array('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
255
+		'2' => array('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
256
+		'3' => array('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
257 257
 	),
258 258
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_structures.php 1 patch
Spacing   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-return array (
13
-	'ctrl' => array (
12
+return array(
13
+	'ctrl' => array(
14 14
 		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures',
15 15
 		'label'     => 'label',
16 16
 		'tstamp'    => 'tstamp',
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 		'transOrigDiffSourceField' => 'l18n_diffsource',
22 22
 		'default_sortby' => 'ORDER BY label',
23 23
 		'delete'	=> 'deleted',
24
-		'enablecolumns' => array (
24
+		'enablecolumns' => array(
25 25
 			'disabled' => 'hidden',
26 26
 		),
27 27
 		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png',
@@ -30,106 +30,106 @@  discard block
 block discarded – undo
30 30
 		'searchFields' => 'label,index_name,oai_name',
31 31
 		'requestUpdate' => 'toplevel',
32 32
 	),
33
-	'feInterface' => array (
33
+	'feInterface' => array(
34 34
 		'fe_admin_fieldList' => '',
35 35
 	),
36
-	'interface' => array (
36
+	'interface' => array(
37 37
 		'showRecordFieldList' => 'label,index_name,oai_name,toplevel',
38 38
 	),
39
-	'columns' => array (
40
-		'sys_language_uid' => array (
39
+	'columns' => array(
40
+		'sys_language_uid' => array(
41 41
 			'exclude' => 1,
42 42
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
43
-			'config' => array (
43
+			'config' => array(
44 44
 				'type' => 'select',
45 45
 				'renderType' => 'selectSingle',
46 46
 				'foreign_table' => 'sys_language',
47 47
 				'foreign_table_where' => 'ORDER BY sys_language.title',
48
-				'items' => array (
49
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
50
-					array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
48
+				'items' => array(
49
+					array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
50
+					array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
51 51
 				),
52 52
 				'default' => 0
53 53
 			),
54 54
 		),
55
-		'l18n_parent' => array (
55
+		'l18n_parent' => array(
56 56
 			'displayCond' => 'FIELD:sys_language_uid:>:0',
57 57
 			'exclude' => 1,
58 58
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
59
-			'config' => array (
59
+			'config' => array(
60 60
 				'type' => 'select',
61 61
 				'renderType' => 'selectSingle',
62
-				'items' => array (
63
-					array ('', 0),
62
+				'items' => array(
63
+					array('', 0),
64 64
 				),
65 65
 				'foreign_table' => 'tx_dlf_structures',
66 66
 				'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY label ASC',
67 67
 			),
68 68
 		),
69
-		'l18n_diffsource' => array (
70
-			'config' => array (
69
+		'l18n_diffsource' => array(
70
+			'config' => array(
71 71
 				'type' => 'passthrough',
72 72
 			),
73 73
 		),
74
-		'hidden' => array (
74
+		'hidden' => array(
75 75
 			'exclude' => 1,
76 76
 			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
77
-			'config' => array (
77
+			'config' => array(
78 78
 				'type' => 'check',
79 79
 				'default' => 0,
80 80
 			),
81 81
 		),
82
-		'toplevel' => array (
82
+		'toplevel' => array(
83 83
 			'exclude' => 1,
84 84
 			'l10n_mode' => 'exclude',
85 85
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel',
86
-			'config' => array (
86
+			'config' => array(
87 87
 				'type' => 'check',
88 88
 				'default' => 0,
89 89
 			),
90 90
 		),
91
-		'label' => array (
91
+		'label' => array(
92 92
 			'exclude' => 1,
93 93
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label',
94
-			'config' => array (
94
+			'config' => array(
95 95
 				'type' => 'input',
96 96
 				'size' => 30,
97 97
 				'max' => 255,
98 98
 				'eval' => 'required,trim',
99 99
 			),
100 100
 		),
101
-		'index_name' => array (
101
+		'index_name' => array(
102 102
 			'exclude' => 1,
103 103
 			'l10n_mode' => 'exclude',
104 104
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name',
105
-			'config' => array (
105
+			'config' => array(
106 106
 				'type' => 'input',
107 107
 				'size' => 30,
108 108
 				'max' => 255,
109 109
 				'eval' => 'required,nospace,alphanum_x,uniqueInPid',
110 110
 			),
111 111
 		),
112
-		'oai_name' => array (
112
+		'oai_name' => array(
113 113
 			'exclude' => 1,
114 114
 			'l10n_mode' => 'exclude',
115 115
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name',
116
-			'config' => array (
116
+			'config' => array(
117 117
 				'type' => 'input',
118 118
 				'size' => 30,
119 119
 				'max' => 255,
120 120
 				'eval' => 'trim',
121 121
 			),
122 122
 		),
123
-		'thumbnail' => array (
123
+		'thumbnail' => array(
124 124
 			'exclude' => 1,
125 125
 			'l10n_mode' => 'exclude',
126 126
 			'displayCond' => 'FIELD:toplevel:REQ:true',
127 127
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail',
128
-			'config' => array (
128
+			'config' => array(
129 129
 				'type' => 'select',
130 130
 				'renderType' => 'selectSingle',
131
-				'items' => array (
132
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0),
131
+				'items' => array(
132
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0),
133 133
 				),
134 134
 				'foreign_table' => 'tx_dlf_structures',
135 135
 				'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.toplevel=0 AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY tx_dlf_structures.label',
@@ -139,14 +139,14 @@  discard block
 block discarded – undo
139 139
 				'default' => 0,
140 140
 			),
141 141
 		),
142
-		'status' => array (
142
+		'status' => array(
143 143
 			'exclude' => 1,
144 144
 			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status',
145
-			'config' => array (
145
+			'config' => array(
146 146
 				'type' => 'select',
147 147
 				'renderType' => 'selectSingle',
148
-				'items' => array (
149
-					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0),
148
+				'items' => array(
149
+					array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0),
150 150
 				),
151 151
 				'size' => 1,
152 152
 				'minitems' => 1,
@@ -155,10 +155,10 @@  discard block
 block discarded – undo
155 155
 			),
156 156
 		),
157 157
 	),
158
-	'types' => array (
159
-		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'),
158
+	'types' => array(
159
+		'0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'),
160 160
 	),
161
-	'palettes' => array (
162
-		'1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
161
+	'palettes' => array(
162
+		'1' => array('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
163 163
 	),
164 164
 );
Please login to merge, or discard this patch.