Passed
Branch oai_solr_new_directory_structu... (24cd44)
by Erik
04:51
created
Configuration/TCA/tx_dlf_collections.php 2 patches
Indentation   +255 added lines, -255 removed lines patch added patch discarded remove patch
@@ -10,259 +10,259 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'fe_cruser_id' => 'fe_cruser_id',
20
-        'fe_admin_lock' => 'fe_admin_lock',
21
-        'languageField' => 'sys_language_uid',
22
-        'transOrigPointerField' => 'l18n_parent',
23
-        'transOrigDiffSourceField' => 'l18n_diffsource',
24
-        'default_sortby' => 'ORDER BY label',
25
-        'delete'	=> 'deleted',
26
-        'enablecolumns' => array (
27
-            'disabled' => 'hidden',
28
-            'fe_group' => 'fe_group',
29
-        ),
30
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfcollections.png',
31
-        'rootLevel'	=> 0,
32
-        'dividers2tabs' => 2,
33
-        'searchFields' => 'label,index_name,oai_name,fe_cruser_id',
34
-    ),
35
-    'feInterface' => array (
36
-        'fe_admin_fieldList' => 'label,description,thumbnail,documents',
37
-    ),
38
-    'interface' => array (
39
-        'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id',
40
-    ),
41
-    'columns' => array (
42
-        'sys_language_uid' => array (
43
-            'exclude' => 1,
44
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
45
-            'config' => array (
46
-                'type' => 'select',
47
-                'renderType' => 'selectSingle',
48
-                'foreign_table' => 'sys_language',
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),
53
-                ),
54
-                'default' => 0,
55
-            ),
56
-        ),
57
-        'l18n_parent' => array (
58
-            'displayCond' => 'FIELD:sys_language_uid:>:0',
59
-            'exclude' => 1,
60
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
61
-            'config' => array (
62
-                'type' => 'select',
63
-                'renderType' => 'selectSingle',
64
-                'items' => array (
65
-                    array ('', 0),
66
-                ),
67
-                'foreign_table' => 'tx_dlf_collections',
68
-                'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)',
69
-            ),
70
-        ),
71
-        'l18n_diffsource' => array (
72
-            'config' => array (
73
-                'type' => 'passthrough'
74
-            ),
75
-        ),
76
-        'hidden' => array (
77
-            'exclude' => 1,
78
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
79
-            'config' => array (
80
-                'type' => 'check',
81
-                'default' => 0,
82
-            ),
83
-        ),
84
-        'fe_group' => array (
85
-            'exclude' => 1,
86
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
87
-            'config' => array (
88
-                'type' => 'select',
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--'),
94
-                ),
95
-                'foreign_table' => 'fe_groups',
96
-                'size' => 5,
97
-                'autoSizeMax' => 15,
98
-                'minitems' => 0,
99
-                'maxitems' => 20,
100
-                'exclusiveKeys' => '-1,-2',
101
-            ),
102
-        ),
103
-        'label' => array (
104
-            'exclude' => 1,
105
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label',
106
-            'config' => array (
107
-                'type' => 'input',
108
-                'size' => 30,
109
-                'max' => 255,
110
-                'eval' => 'required,trim',
111
-            ),
112
-        ),
113
-        'index_name' => array (
114
-            'exclude' => 1,
115
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name',
116
-            'config' => array (
117
-                'type' => 'none',
118
-                'size' => 30,
119
-                'max' => 255,
120
-                'eval' => 'required,uniqueInPid',
121
-            ),
122
-        ),
123
-        'index_search' => array (
124
-            'exclude' => 1,
125
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search',
126
-            'config' => array (
127
-            'type' => 'text',
128
-                'cols' => 30,
129
-                'rows' => 5,
130
-                'eval' => '',
131
-            ),
132
-        ),
133
-        'oai_name' => array (
134
-            'exclude' => 1,
135
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name',
136
-            'config' => array (
137
-                'type' => 'input',
138
-                'size' => 30,
139
-                'max' => 255,
140
-                'eval' => 'nospace,alphanum_x,uniqueInPid',
141
-            ),
142
-        ),
143
-        'description' => array (
144
-            'exclude' => 1,
145
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description',
146
-            'config' => array (
147
-                'type' => 'text',
148
-                'cols' => 30,
149
-                'rows' => 10,
150
-                'wrap' => 'virtual',
151
-            ),
152
-            '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]',
153
-        ),
154
-        'thumbnail' => array (
155
-            'exclude' => 1,
156
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail',
157
-            'config' => array (
158
-                'type' => 'group',
159
-                'internal_type' => 'file_reference',
160
-                'allowed' => 'gif,jpg,png',
161
-                'size' => 1,
162
-                'minitems' => 0,
163
-                'maxitems' => 1,
164
-            ),
165
-        ),
166
-        'priority' => array (
167
-            'exclude' => 1,
168
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority',
169
-            'config' => array (
170
-                'type' => 'select',
171
-                'renderType' => 'selectSingle',
172
-                'items' => array (
173
-                    array ('1', 1),
174
-                    array ('2', 2),
175
-                    array ('3', 3),
176
-                    array ('4', 4),
177
-                    array ('5', 5),
178
-                ),
179
-                'size' => 1,
180
-                'minitems' => 1,
181
-                'maxitems' => 1,
182
-                'default' => 3,
183
-            ),
184
-        ),
185
-        'documents' => array (
186
-            'exclude' => 1,
187
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents',
188
-            'config' => array (
189
-                'type' => 'select',
190
-                'renderType' => 'selectSingleBox',
191
-                'foreign_table' => 'tx_dlf_documents',
192
-                'foreign_table_where' => 'AND tx_dlf_documents.pid=###CURRENT_PID### ORDER BY tx_dlf_documents.title_sorting',
193
-                'size' => 5,
194
-                'autoSizeMax' => 15,
195
-                'minitems' => 0,
196
-                'maxitems' => 1048576,
197
-                'MM' => 'tx_dlf_relations',
198
-                'MM_match_fields' => array (
199
-                    'ident' => 'docs_colls',
200
-                ),
201
-                'MM_opposite_field' => 'collections',
202
-            ),
203
-        ),
204
-        'owner' => array (
205
-            'exclude' => 1,
206
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner',
207
-            'config' => array (
208
-                'type' => 'select',
209
-                'renderType' => 'selectSingle',
210
-                'items' => array (
211
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
212
-                ),
213
-                'foreign_table' => 'tx_dlf_libraries',
214
-                'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
215
-                'size' => 1,
216
-                'minitems' => 1,
217
-                'maxitems' => 1,
218
-            ),
219
-        ),
220
-        'fe_cruser_id' => array (
221
-            'exclude' => 1,
222
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id',
223
-            'config' => array (
224
-                'type' => 'select',
225
-                'renderType' => 'selectSingle',
226
-                'items' => array (
227
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
228
-                ),
229
-                'foreign_table' => 'fe_users',
230
-                'foreign_table_where' => 'ORDER BY fe_users.username',
231
-                'size' => 1,
232
-                'minitems' => 1,
233
-                'maxitems' => 1,
234
-            ),
235
-        ),
236
-        'fe_admin_lock' => array (
237
-            'exclude' => 1,
238
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock',
239
-            'config' => array (
240
-                'type' => 'check',
241
-                'default' => 0,
242
-            ),
243
-        ),
244
-        'status' => array (
245
-            'exclude' => 1,
246
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status',
247
-            'config' => array (
248
-                'type' => 'select',
249
-                'renderType' => 'selectSingle',
250
-                'items' => array (
251
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
252
-                ),
253
-                'size' => 1,
254
-                'minitems' => 1,
255
-                'maxitems' => 1,
256
-                'default' => 0,
257
-            ),
258
-        ),
259
-    ),
260
-    'types' => array (
261
-        '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'),
262
-    ),
263
-    'palettes' => array (
264
-        '1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
265
-        '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
266
-        '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
267
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'fe_cruser_id' => 'fe_cruser_id',
20
+		'fe_admin_lock' => 'fe_admin_lock',
21
+		'languageField' => 'sys_language_uid',
22
+		'transOrigPointerField' => 'l18n_parent',
23
+		'transOrigDiffSourceField' => 'l18n_diffsource',
24
+		'default_sortby' => 'ORDER BY label',
25
+		'delete'	=> 'deleted',
26
+		'enablecolumns' => array (
27
+			'disabled' => 'hidden',
28
+			'fe_group' => 'fe_group',
29
+		),
30
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfcollections.png',
31
+		'rootLevel'	=> 0,
32
+		'dividers2tabs' => 2,
33
+		'searchFields' => 'label,index_name,oai_name,fe_cruser_id',
34
+	),
35
+	'feInterface' => array (
36
+		'fe_admin_fieldList' => 'label,description,thumbnail,documents',
37
+	),
38
+	'interface' => array (
39
+		'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id',
40
+	),
41
+	'columns' => array (
42
+		'sys_language_uid' => array (
43
+			'exclude' => 1,
44
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
45
+			'config' => array (
46
+				'type' => 'select',
47
+				'renderType' => 'selectSingle',
48
+				'foreign_table' => 'sys_language',
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),
53
+				),
54
+				'default' => 0,
55
+			),
56
+		),
57
+		'l18n_parent' => array (
58
+			'displayCond' => 'FIELD:sys_language_uid:>:0',
59
+			'exclude' => 1,
60
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
61
+			'config' => array (
62
+				'type' => 'select',
63
+				'renderType' => 'selectSingle',
64
+				'items' => array (
65
+					array ('', 0),
66
+				),
67
+				'foreign_table' => 'tx_dlf_collections',
68
+				'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)',
69
+			),
70
+		),
71
+		'l18n_diffsource' => array (
72
+			'config' => array (
73
+				'type' => 'passthrough'
74
+			),
75
+		),
76
+		'hidden' => array (
77
+			'exclude' => 1,
78
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
79
+			'config' => array (
80
+				'type' => 'check',
81
+				'default' => 0,
82
+			),
83
+		),
84
+		'fe_group' => array (
85
+			'exclude' => 1,
86
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
87
+			'config' => array (
88
+				'type' => 'select',
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--'),
94
+				),
95
+				'foreign_table' => 'fe_groups',
96
+				'size' => 5,
97
+				'autoSizeMax' => 15,
98
+				'minitems' => 0,
99
+				'maxitems' => 20,
100
+				'exclusiveKeys' => '-1,-2',
101
+			),
102
+		),
103
+		'label' => array (
104
+			'exclude' => 1,
105
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label',
106
+			'config' => array (
107
+				'type' => 'input',
108
+				'size' => 30,
109
+				'max' => 255,
110
+				'eval' => 'required,trim',
111
+			),
112
+		),
113
+		'index_name' => array (
114
+			'exclude' => 1,
115
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name',
116
+			'config' => array (
117
+				'type' => 'none',
118
+				'size' => 30,
119
+				'max' => 255,
120
+				'eval' => 'required,uniqueInPid',
121
+			),
122
+		),
123
+		'index_search' => array (
124
+			'exclude' => 1,
125
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search',
126
+			'config' => array (
127
+			'type' => 'text',
128
+				'cols' => 30,
129
+				'rows' => 5,
130
+				'eval' => '',
131
+			),
132
+		),
133
+		'oai_name' => array (
134
+			'exclude' => 1,
135
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name',
136
+			'config' => array (
137
+				'type' => 'input',
138
+				'size' => 30,
139
+				'max' => 255,
140
+				'eval' => 'nospace,alphanum_x,uniqueInPid',
141
+			),
142
+		),
143
+		'description' => array (
144
+			'exclude' => 1,
145
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description',
146
+			'config' => array (
147
+				'type' => 'text',
148
+				'cols' => 30,
149
+				'rows' => 10,
150
+				'wrap' => 'virtual',
151
+			),
152
+			'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]',
153
+		),
154
+		'thumbnail' => array (
155
+			'exclude' => 1,
156
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail',
157
+			'config' => array (
158
+				'type' => 'group',
159
+				'internal_type' => 'file_reference',
160
+				'allowed' => 'gif,jpg,png',
161
+				'size' => 1,
162
+				'minitems' => 0,
163
+				'maxitems' => 1,
164
+			),
165
+		),
166
+		'priority' => array (
167
+			'exclude' => 1,
168
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority',
169
+			'config' => array (
170
+				'type' => 'select',
171
+				'renderType' => 'selectSingle',
172
+				'items' => array (
173
+					array ('1', 1),
174
+					array ('2', 2),
175
+					array ('3', 3),
176
+					array ('4', 4),
177
+					array ('5', 5),
178
+				),
179
+				'size' => 1,
180
+				'minitems' => 1,
181
+				'maxitems' => 1,
182
+				'default' => 3,
183
+			),
184
+		),
185
+		'documents' => array (
186
+			'exclude' => 1,
187
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents',
188
+			'config' => array (
189
+				'type' => 'select',
190
+				'renderType' => 'selectSingleBox',
191
+				'foreign_table' => 'tx_dlf_documents',
192
+				'foreign_table_where' => 'AND tx_dlf_documents.pid=###CURRENT_PID### ORDER BY tx_dlf_documents.title_sorting',
193
+				'size' => 5,
194
+				'autoSizeMax' => 15,
195
+				'minitems' => 0,
196
+				'maxitems' => 1048576,
197
+				'MM' => 'tx_dlf_relations',
198
+				'MM_match_fields' => array (
199
+					'ident' => 'docs_colls',
200
+				),
201
+				'MM_opposite_field' => 'collections',
202
+			),
203
+		),
204
+		'owner' => array (
205
+			'exclude' => 1,
206
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner',
207
+			'config' => array (
208
+				'type' => 'select',
209
+				'renderType' => 'selectSingle',
210
+				'items' => array (
211
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
212
+				),
213
+				'foreign_table' => 'tx_dlf_libraries',
214
+				'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
215
+				'size' => 1,
216
+				'minitems' => 1,
217
+				'maxitems' => 1,
218
+			),
219
+		),
220
+		'fe_cruser_id' => array (
221
+			'exclude' => 1,
222
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id',
223
+			'config' => array (
224
+				'type' => 'select',
225
+				'renderType' => 'selectSingle',
226
+				'items' => array (
227
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
228
+				),
229
+				'foreign_table' => 'fe_users',
230
+				'foreign_table_where' => 'ORDER BY fe_users.username',
231
+				'size' => 1,
232
+				'minitems' => 1,
233
+				'maxitems' => 1,
234
+			),
235
+		),
236
+		'fe_admin_lock' => array (
237
+			'exclude' => 1,
238
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock',
239
+			'config' => array (
240
+				'type' => 'check',
241
+				'default' => 0,
242
+			),
243
+		),
244
+		'status' => array (
245
+			'exclude' => 1,
246
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status',
247
+			'config' => array (
248
+				'type' => 'select',
249
+				'renderType' => 'selectSingle',
250
+				'items' => array (
251
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
252
+				),
253
+				'size' => 1,
254
+				'minitems' => 1,
255
+				'maxitems' => 1,
256
+				'default' => 0,
257
+			),
258
+		),
259
+	),
260
+	'types' => array (
261
+		'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'),
262
+	),
263
+	'palettes' => array (
264
+		'1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
265
+		'2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
266
+		'3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
267
+	),
268 268
 );
Please login to merge, or discard this patch.
Spacing   +68 added lines, -68 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,50 +100,50 @@  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
-        'index_search' => array (
123
+        'index_search' => array(
124 124
             'exclude' => 1,
125 125
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search',
126
-            'config' => array (
126
+            'config' => array(
127 127
             'type' => 'text',
128 128
                 'cols' => 30,
129 129
                 'rows' => 5,
130 130
                 'eval' => '',
131 131
             ),
132 132
         ),
133
-        'oai_name' => array (
133
+        'oai_name' => array(
134 134
             'exclude' => 1,
135 135
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name',
136
-            'config' => array (
136
+            'config' => array(
137 137
                 'type' => 'input',
138 138
                 'size' => 30,
139 139
                 'max' => 255,
140 140
                 'eval' => 'nospace,alphanum_x,uniqueInPid',
141 141
             ),
142 142
         ),
143
-        'description' => array (
143
+        'description' => array(
144 144
             'exclude' => 1,
145 145
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description',
146
-            'config' => array (
146
+            'config' => array(
147 147
                 'type' => 'text',
148 148
                 'cols' => 30,
149 149
                 'rows' => 10,
@@ -151,10 +151,10 @@  discard block
 block discarded – undo
151 151
             ),
152 152
             '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]',
153 153
         ),
154
-        'thumbnail' => array (
154
+        'thumbnail' => array(
155 155
             'exclude' => 1,
156 156
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail',
157
-            'config' => array (
157
+            'config' => array(
158 158
                 'type' => 'group',
159 159
                 'internal_type' => 'file_reference',
160 160
                 'allowed' => 'gif,jpg,png',
@@ -163,18 +163,18 @@  discard block
 block discarded – undo
163 163
                 'maxitems' => 1,
164 164
             ),
165 165
         ),
166
-        'priority' => array (
166
+        'priority' => array(
167 167
             'exclude' => 1,
168 168
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority',
169
-            'config' => array (
169
+            'config' => array(
170 170
                 'type' => 'select',
171 171
                 'renderType' => 'selectSingle',
172
-                'items' => array (
173
-                    array ('1', 1),
174
-                    array ('2', 2),
175
-                    array ('3', 3),
176
-                    array ('4', 4),
177
-                    array ('5', 5),
172
+                'items' => array(
173
+                    array('1', 1),
174
+                    array('2', 2),
175
+                    array('3', 3),
176
+                    array('4', 4),
177
+                    array('5', 5),
178 178
                 ),
179 179
                 'size' => 1,
180 180
                 'minitems' => 1,
@@ -182,10 +182,10 @@  discard block
 block discarded – undo
182 182
                 'default' => 3,
183 183
             ),
184 184
         ),
185
-        'documents' => array (
185
+        'documents' => array(
186 186
             'exclude' => 1,
187 187
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents',
188
-            'config' => array (
188
+            'config' => array(
189 189
                 'type' => 'select',
190 190
                 'renderType' => 'selectSingleBox',
191 191
                 'foreign_table' => 'tx_dlf_documents',
@@ -195,20 +195,20 @@  discard block
 block discarded – undo
195 195
                 'minitems' => 0,
196 196
                 'maxitems' => 1048576,
197 197
                 'MM' => 'tx_dlf_relations',
198
-                'MM_match_fields' => array (
198
+                'MM_match_fields' => array(
199 199
                     'ident' => 'docs_colls',
200 200
                 ),
201 201
                 'MM_opposite_field' => 'collections',
202 202
             ),
203 203
         ),
204
-        'owner' => array (
204
+        'owner' => array(
205 205
             'exclude' => 1,
206 206
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner',
207
-            'config' => array (
207
+            'config' => array(
208 208
                 'type' => 'select',
209 209
                 'renderType' => 'selectSingle',
210
-                'items' => array (
211
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
210
+                'items' => array(
211
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0),
212 212
                 ),
213 213
                 'foreign_table' => 'tx_dlf_libraries',
214 214
                 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
@@ -217,14 +217,14 @@  discard block
 block discarded – undo
217 217
                 'maxitems' => 1,
218 218
             ),
219 219
         ),
220
-        'fe_cruser_id' => array (
220
+        'fe_cruser_id' => array(
221 221
             'exclude' => 1,
222 222
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id',
223
-            'config' => array (
223
+            'config' => array(
224 224
                 'type' => 'select',
225 225
                 'renderType' => 'selectSingle',
226
-                'items' => array (
227
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
226
+                'items' => array(
227
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0),
228 228
                 ),
229 229
                 'foreign_table' => 'fe_users',
230 230
                 'foreign_table_where' => 'ORDER BY fe_users.username',
@@ -233,22 +233,22 @@  discard block
 block discarded – undo
233 233
                 'maxitems' => 1,
234 234
             ),
235 235
         ),
236
-        'fe_admin_lock' => array (
236
+        'fe_admin_lock' => array(
237 237
             'exclude' => 1,
238 238
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock',
239
-            'config' => array (
239
+            'config' => array(
240 240
                 'type' => 'check',
241 241
                 'default' => 0,
242 242
             ),
243 243
         ),
244
-        'status' => array (
244
+        'status' => array(
245 245
             'exclude' => 1,
246 246
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status',
247
-            'config' => array (
247
+            'config' => array(
248 248
                 'type' => 'select',
249 249
                 'renderType' => 'selectSingle',
250
-                'items' => array (
251
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
250
+                'items' => array(
251
+                    array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0),
252 252
                 ),
253 253
                 'size' => 1,
254 254
                 'minitems' => 1,
@@ -257,12 +257,12 @@  discard block
 block discarded – undo
257 257
             ),
258 258
         ),
259 259
     ),
260
-    'types' => array (
261
-        '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'),
260
+    'types' => array(
261
+        '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'),
262 262
     ),
263
-    'palettes' => array (
264
-        '1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
265
-        '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
266
-        '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
263
+    'palettes' => array(
264
+        '1' => array('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1),
265
+        '2' => array('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1),
266
+        '3' => array('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1),
267 267
     ),
268 268
 );
Please login to merge, or discard this patch.
Configuration/TCA/tx_dlf_structures.php 2 patches
Indentation   +151 added lines, -151 removed lines patch added patch discarded remove patch
@@ -10,155 +10,155 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'languageField' => 'sys_language_uid',
20
-        'transOrigPointerField' => 'l18n_parent',
21
-        'transOrigDiffSourceField' => 'l18n_diffsource',
22
-        'default_sortby' => 'ORDER BY label',
23
-        'delete'	=> 'deleted',
24
-        'enablecolumns' => array (
25
-            'disabled' => 'hidden',
26
-        ),
27
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png',
28
-        'rootLevel'	=> 0,
29
-        'dividers2tabs' => 2,
30
-        'searchFields' => 'label,index_name,oai_name',
31
-        'requestUpdate' => 'toplevel',
32
-    ),
33
-    'feInterface' => array (
34
-        'fe_admin_fieldList' => '',
35
-    ),
36
-    'interface' => array (
37
-        'showRecordFieldList' => 'label,index_name,oai_name,toplevel',
38
-    ),
39
-    'columns' => array (
40
-        'sys_language_uid' => array (
41
-            'exclude' => 1,
42
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
43
-            'config' => array (
44
-                'type' => 'select',
45
-                'renderType' => 'selectSingle',
46
-                'foreign_table' => 'sys_language',
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),
51
-                ),
52
-                'default' => 0
53
-            ),
54
-        ),
55
-        'l18n_parent' => array (
56
-            'displayCond' => 'FIELD:sys_language_uid:>:0',
57
-            'exclude' => 1,
58
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
59
-            'config' => array (
60
-                'type' => 'select',
61
-                'renderType' => 'selectSingle',
62
-                'items' => array (
63
-                    array ('', 0),
64
-                ),
65
-                'foreign_table' => 'tx_dlf_structures',
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
-            ),
68
-        ),
69
-        'l18n_diffsource' => array (
70
-            'config' => array (
71
-                'type' => 'passthrough',
72
-            ),
73
-        ),
74
-        'hidden' => array (
75
-            'exclude' => 1,
76
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
77
-            'config' => array (
78
-                'type' => 'check',
79
-                'default' => 0,
80
-            ),
81
-        ),
82
-        'toplevel' => array (
83
-            'exclude' => 1,
84
-            'l10n_mode' => 'exclude',
85
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel',
86
-            'config' => array (
87
-                'type' => 'check',
88
-                'default' => 0,
89
-            ),
90
-        ),
91
-        'label' => array (
92
-            'exclude' => 1,
93
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label',
94
-            'config' => array (
95
-                'type' => 'input',
96
-                'size' => 30,
97
-                'max' => 255,
98
-                'eval' => 'required,trim',
99
-            ),
100
-        ),
101
-        'index_name' => array (
102
-            'exclude' => 1,
103
-            'l10n_mode' => 'exclude',
104
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name',
105
-            'config' => array (
106
-                'type' => 'input',
107
-                'size' => 30,
108
-                'max' => 255,
109
-                'eval' => 'required,nospace,alphanum_x,uniqueInPid',
110
-            ),
111
-        ),
112
-        'oai_name' => array (
113
-            'exclude' => 1,
114
-            'l10n_mode' => 'exclude',
115
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name',
116
-            'config' => array (
117
-                'type' => 'input',
118
-                'size' => 30,
119
-                'max' => 255,
120
-                'eval' => 'trim',
121
-            ),
122
-        ),
123
-        'thumbnail' => array (
124
-            'exclude' => 1,
125
-            'l10n_mode' => 'exclude',
126
-            'displayCond' => 'FIELD:toplevel:REQ:true',
127
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail',
128
-            'config' => array (
129
-                'type' => 'select',
130
-                'renderType' => 'selectSingle',
131
-                'items' => array (
132
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0),
133
-                ),
134
-                'foreign_table' => 'tx_dlf_structures',
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',
136
-                'size' => 1,
137
-                'minitems' => 0,
138
-                'maxitems' => 1,
139
-                'default' => 0,
140
-            ),
141
-        ),
142
-        'status' => array (
143
-            'exclude' => 1,
144
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status',
145
-            'config' => array (
146
-                'type' => 'select',
147
-                'renderType' => 'selectSingle',
148
-                'items' => array (
149
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0),
150
-                ),
151
-                'size' => 1,
152
-                'minitems' => 1,
153
-                'maxitems' => 1,
154
-                'default' => 0,
155
-            ),
156
-        ),
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'),
160
-    ),
161
-    'palettes' => array (
162
-        '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
163
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'languageField' => 'sys_language_uid',
20
+		'transOrigPointerField' => 'l18n_parent',
21
+		'transOrigDiffSourceField' => 'l18n_diffsource',
22
+		'default_sortby' => 'ORDER BY label',
23
+		'delete'	=> 'deleted',
24
+		'enablecolumns' => array (
25
+			'disabled' => 'hidden',
26
+		),
27
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png',
28
+		'rootLevel'	=> 0,
29
+		'dividers2tabs' => 2,
30
+		'searchFields' => 'label,index_name,oai_name',
31
+		'requestUpdate' => 'toplevel',
32
+	),
33
+	'feInterface' => array (
34
+		'fe_admin_fieldList' => '',
35
+	),
36
+	'interface' => array (
37
+		'showRecordFieldList' => 'label,index_name,oai_name,toplevel',
38
+	),
39
+	'columns' => array (
40
+		'sys_language_uid' => array (
41
+			'exclude' => 1,
42
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
43
+			'config' => array (
44
+				'type' => 'select',
45
+				'renderType' => 'selectSingle',
46
+				'foreign_table' => 'sys_language',
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),
51
+				),
52
+				'default' => 0
53
+			),
54
+		),
55
+		'l18n_parent' => array (
56
+			'displayCond' => 'FIELD:sys_language_uid:>:0',
57
+			'exclude' => 1,
58
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
59
+			'config' => array (
60
+				'type' => 'select',
61
+				'renderType' => 'selectSingle',
62
+				'items' => array (
63
+					array ('', 0),
64
+				),
65
+				'foreign_table' => 'tx_dlf_structures',
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
+			),
68
+		),
69
+		'l18n_diffsource' => array (
70
+			'config' => array (
71
+				'type' => 'passthrough',
72
+			),
73
+		),
74
+		'hidden' => array (
75
+			'exclude' => 1,
76
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
77
+			'config' => array (
78
+				'type' => 'check',
79
+				'default' => 0,
80
+			),
81
+		),
82
+		'toplevel' => array (
83
+			'exclude' => 1,
84
+			'l10n_mode' => 'exclude',
85
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel',
86
+			'config' => array (
87
+				'type' => 'check',
88
+				'default' => 0,
89
+			),
90
+		),
91
+		'label' => array (
92
+			'exclude' => 1,
93
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label',
94
+			'config' => array (
95
+				'type' => 'input',
96
+				'size' => 30,
97
+				'max' => 255,
98
+				'eval' => 'required,trim',
99
+			),
100
+		),
101
+		'index_name' => array (
102
+			'exclude' => 1,
103
+			'l10n_mode' => 'exclude',
104
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name',
105
+			'config' => array (
106
+				'type' => 'input',
107
+				'size' => 30,
108
+				'max' => 255,
109
+				'eval' => 'required,nospace,alphanum_x,uniqueInPid',
110
+			),
111
+		),
112
+		'oai_name' => array (
113
+			'exclude' => 1,
114
+			'l10n_mode' => 'exclude',
115
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name',
116
+			'config' => array (
117
+				'type' => 'input',
118
+				'size' => 30,
119
+				'max' => 255,
120
+				'eval' => 'trim',
121
+			),
122
+		),
123
+		'thumbnail' => array (
124
+			'exclude' => 1,
125
+			'l10n_mode' => 'exclude',
126
+			'displayCond' => 'FIELD:toplevel:REQ:true',
127
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail',
128
+			'config' => array (
129
+				'type' => 'select',
130
+				'renderType' => 'selectSingle',
131
+				'items' => array (
132
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0),
133
+				),
134
+				'foreign_table' => 'tx_dlf_structures',
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',
136
+				'size' => 1,
137
+				'minitems' => 0,
138
+				'maxitems' => 1,
139
+				'default' => 0,
140
+			),
141
+		),
142
+		'status' => array (
143
+			'exclude' => 1,
144
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status',
145
+			'config' => array (
146
+				'type' => 'select',
147
+				'renderType' => 'selectSingle',
148
+				'items' => array (
149
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0),
150
+				),
151
+				'size' => 1,
152
+				'minitems' => 1,
153
+				'maxitems' => 1,
154
+				'default' => 0,
155
+			),
156
+		),
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'),
160
+	),
161
+	'palettes' => array (
162
+		'1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
163
+	),
164 164
 );
Please login to merge, or discard this 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.
Configuration/TCA/tx_dlf_libraries.php 2 patches
Indentation   +181 added lines, -181 removed lines patch added patch discarded remove patch
@@ -10,185 +10,185 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'languageField' => 'sys_language_uid',
20
-        'transOrigPointerField' => 'l18n_parent',
21
-        'transOrigDiffSourceField' => 'l18n_diffsource',
22
-        'default_sortby' => 'ORDER BY label',
23
-        'delete'	=> 'deleted',
24
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlflibraries.png',
25
-        'rootLevel'	=> 0,
26
-        'dividers2tabs' => 2,
27
-        'searchFields' => 'label,website,contact',
28
-    ),
29
-    'feInterface' => array (
30
-        'fe_admin_fieldList' => '',
31
-    ),
32
-    'interface' => array (
33
-        'showRecordFieldList' => 'label,website,contact',
34
-    ),
35
-    'columns' => array (
36
-        'sys_language_uid' => array (
37
-            'exclude' => 1,
38
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
39
-            'config' => array (
40
-                'type' => 'select',
41
-                'renderType' => 'selectSingle',
42
-                'foreign_table' => 'sys_language',
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),
47
-                ),
48
-                'default' => 0
49
-            ),
50
-        ),
51
-        'l18n_parent' => array (
52
-            'displayCond' => 'FIELD:sys_language_uid:>:0',
53
-            'exclude' => 1,
54
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
55
-            'config' => array (
56
-                'type' => 'select',
57
-                'renderType' => 'selectSingle',
58
-                'items' => array (
59
-                    array ('', 0),
60
-                ),
61
-                'foreign_table' => 'tx_dlf_libraries',
62
-                'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)',
63
-            ),
64
-        ),
65
-        'l18n_diffsource' => array (
66
-            'config' => array (
67
-                'type' => 'passthrough'
68
-            ),
69
-        ),
70
-        'label' => array (
71
-            'exclude' => 1,
72
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label',
73
-            'config' => array (
74
-                'type' => 'input',
75
-                'size' => 30,
76
-                'max' => 255,
77
-                'eval' => 'required,trim',
78
-            ),
79
-        ),
80
-        'index_name' => array (
81
-            'exclude' => 1,
82
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name',
83
-            'config' => array (
84
-                'type' => 'none',
85
-                'size' => 30,
86
-                'max' => 255,
87
-                'eval' => 'required,uniqueInPid',
88
-            ),
89
-        ),
90
-        'website' => array (
91
-            'exclude' => 1,
92
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website',
93
-            'config' => array (
94
-                'type' => 'input',
95
-                'size' => 30,
96
-                'max' => 255,
97
-                'eval' => 'nospace',
98
-            ),
99
-        ),
100
-        'contact' => array (
101
-            'exclude' => 1,
102
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact',
103
-            'config' => array (
104
-                'type' => 'input',
105
-                'size' => 30,
106
-                'max' => 255,
107
-                'eval' => 'nospace',
108
-            ),
109
-        ),
110
-        'image' => array (
111
-            'exclude' => 1,
112
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image',
113
-            'config' => array (
114
-                'type' => 'group',
115
-                'internal_type' => 'file',
116
-                'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
117
-                'max_size' => 256,
118
-                'uploadfolder' => 'uploads/tx_dlf',
119
-                'show_thumbs' => 1,
120
-                'size' => 1,
121
-                'minitems' => 0,
122
-                'maxitems' => 1,
123
-            ),
124
-        ),
125
-        'oai_label' => array (
126
-            'exclude' => 1,
127
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label',
128
-            'config' => array (
129
-                'type' => 'input',
130
-                'size' => 30,
131
-                'max' => 255,
132
-            ),
133
-        ),
134
-        'oai_base' => array (
135
-            'exclude' => 1,
136
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base',
137
-            'config' => array (
138
-                'type' => 'group',
139
-                'internal_type' => 'db',
140
-                'allowed' => 'pages',
141
-                'size' => 1,
142
-                'minitems' => 0,
143
-                'maxitems' => 1,
144
-            ),
145
-        ),
146
-        'opac_label' => array (
147
-            'exclude' => 1,
148
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label',
149
-            'config' => array (
150
-                'type' => 'input',
151
-                'size' => 30,
152
-                'max' => 255,
153
-            ),
154
-        ),
155
-        'opac_base' => array (
156
-            'exclude' => 1,
157
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base',
158
-            'config' => array (
159
-                'type' => 'input',
160
-                'size' => 30,
161
-                'max' => 255,
162
-                'eval' => 'nospace',
163
-            ),
164
-        ),
165
-        'union_label' => array (
166
-            'exclude' => 1,
167
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label',
168
-            'config' => array (
169
-                'type' => 'input',
170
-                'size' => 30,
171
-                'max' => 255,
172
-            ),
173
-        ),
174
-        'union_base' => array (
175
-            'exclude' => 1,
176
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base',
177
-            'config' => array (
178
-                'type' => 'input',
179
-                'size' => 30,
180
-                'max' => 255,
181
-                'eval' => 'nospace',
182
-            ),
183
-        ),
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'),
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),
193
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'languageField' => 'sys_language_uid',
20
+		'transOrigPointerField' => 'l18n_parent',
21
+		'transOrigDiffSourceField' => 'l18n_diffsource',
22
+		'default_sortby' => 'ORDER BY label',
23
+		'delete'	=> 'deleted',
24
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlflibraries.png',
25
+		'rootLevel'	=> 0,
26
+		'dividers2tabs' => 2,
27
+		'searchFields' => 'label,website,contact',
28
+	),
29
+	'feInterface' => array (
30
+		'fe_admin_fieldList' => '',
31
+	),
32
+	'interface' => array (
33
+		'showRecordFieldList' => 'label,website,contact',
34
+	),
35
+	'columns' => array (
36
+		'sys_language_uid' => array (
37
+			'exclude' => 1,
38
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
39
+			'config' => array (
40
+				'type' => 'select',
41
+				'renderType' => 'selectSingle',
42
+				'foreign_table' => 'sys_language',
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),
47
+				),
48
+				'default' => 0
49
+			),
50
+		),
51
+		'l18n_parent' => array (
52
+			'displayCond' => 'FIELD:sys_language_uid:>:0',
53
+			'exclude' => 1,
54
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
55
+			'config' => array (
56
+				'type' => 'select',
57
+				'renderType' => 'selectSingle',
58
+				'items' => array (
59
+					array ('', 0),
60
+				),
61
+				'foreign_table' => 'tx_dlf_libraries',
62
+				'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)',
63
+			),
64
+		),
65
+		'l18n_diffsource' => array (
66
+			'config' => array (
67
+				'type' => 'passthrough'
68
+			),
69
+		),
70
+		'label' => array (
71
+			'exclude' => 1,
72
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label',
73
+			'config' => array (
74
+				'type' => 'input',
75
+				'size' => 30,
76
+				'max' => 255,
77
+				'eval' => 'required,trim',
78
+			),
79
+		),
80
+		'index_name' => array (
81
+			'exclude' => 1,
82
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name',
83
+			'config' => array (
84
+				'type' => 'none',
85
+				'size' => 30,
86
+				'max' => 255,
87
+				'eval' => 'required,uniqueInPid',
88
+			),
89
+		),
90
+		'website' => array (
91
+			'exclude' => 1,
92
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website',
93
+			'config' => array (
94
+				'type' => 'input',
95
+				'size' => 30,
96
+				'max' => 255,
97
+				'eval' => 'nospace',
98
+			),
99
+		),
100
+		'contact' => array (
101
+			'exclude' => 1,
102
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact',
103
+			'config' => array (
104
+				'type' => 'input',
105
+				'size' => 30,
106
+				'max' => 255,
107
+				'eval' => 'nospace',
108
+			),
109
+		),
110
+		'image' => array (
111
+			'exclude' => 1,
112
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image',
113
+			'config' => array (
114
+				'type' => 'group',
115
+				'internal_type' => 'file',
116
+				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
117
+				'max_size' => 256,
118
+				'uploadfolder' => 'uploads/tx_dlf',
119
+				'show_thumbs' => 1,
120
+				'size' => 1,
121
+				'minitems' => 0,
122
+				'maxitems' => 1,
123
+			),
124
+		),
125
+		'oai_label' => array (
126
+			'exclude' => 1,
127
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label',
128
+			'config' => array (
129
+				'type' => 'input',
130
+				'size' => 30,
131
+				'max' => 255,
132
+			),
133
+		),
134
+		'oai_base' => array (
135
+			'exclude' => 1,
136
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base',
137
+			'config' => array (
138
+				'type' => 'group',
139
+				'internal_type' => 'db',
140
+				'allowed' => 'pages',
141
+				'size' => 1,
142
+				'minitems' => 0,
143
+				'maxitems' => 1,
144
+			),
145
+		),
146
+		'opac_label' => array (
147
+			'exclude' => 1,
148
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label',
149
+			'config' => array (
150
+				'type' => 'input',
151
+				'size' => 30,
152
+				'max' => 255,
153
+			),
154
+		),
155
+		'opac_base' => array (
156
+			'exclude' => 1,
157
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base',
158
+			'config' => array (
159
+				'type' => 'input',
160
+				'size' => 30,
161
+				'max' => 255,
162
+				'eval' => 'nospace',
163
+			),
164
+		),
165
+		'union_label' => array (
166
+			'exclude' => 1,
167
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label',
168
+			'config' => array (
169
+				'type' => 'input',
170
+				'size' => 30,
171
+				'max' => 255,
172
+			),
173
+		),
174
+		'union_base' => array (
175
+			'exclude' => 1,
176
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base',
177
+			'config' => array (
178
+				'type' => 'input',
179
+				'size' => 30,
180
+				'max' => 255,
181
+				'eval' => 'nospace',
182
+			),
183
+		),
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'),
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),
193
+	),
194 194
 );
Please login to merge, or discard this 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.
Configuration/TCA/tx_dlf_actionlog.php 2 patches
Indentation   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -10,77 +10,77 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog',
15
-        'label'     => 'label',
16
-        'crdate'    => 'crdate',
17
-        'cruser_id' => 'user_id',
18
-        'default_sortby' => 'ORDER BY label',
19
-        'delete'	=> 'deleted',
20
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfreport.png',
21
-        'rootLevel'	=> 0,
22
-        'dividers2tabs' => 2,
23
-        'searchFields' => 'label,name,crdate',
24
-    ),
25
-    'interface' => array (
26
-        'showRecordFieldList' => 'label,name,crdate',
27
-        'maxDBListItems' => 25,
28
-        'maxSingleDBListItems' => 50,
29
-    ),
30
-    'feInterface' => array (
31
-        'fe_admin_fieldList' => '',
32
-    ),
33
-    'columns' => array (
34
-        'label' => array (
35
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label',
36
-            'config' => array (
37
-                'type' => 'input',
38
-                'size' => 30,
39
-                'max' => 255,
40
-                'eval' => 'required,trim',
41
-            ),
42
-        ),
43
-        'user_id' => array (
44
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id',
45
-            'config' => array (
46
-                'type' => 'input',
47
-                'size' => 30,
48
-                'max' => 255,
49
-                'eval' => 'alphanum,unique',
50
-            ),
51
-        ),
52
-        'file_name' => array (
53
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name',
54
-            'config' => array (
55
-                'type' => 'input',
56
-                'size' => 30,
57
-                'max' => 255,
58
-                'eval' => 'alphanum,unique',
59
-            ),
60
-        ),
61
-        'count_pages' => array (
62
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages',
63
-            'config' => array (
64
-                'type' => 'input',
65
-                'size' => 30,
66
-                'max' => 255,
67
-                'eval' => 'trim',
68
-            ),
69
-        ),
70
-        'name' => array (
71
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name',
72
-            'config' => array (
73
-                'type' => 'input',
74
-                'size' => 30,
75
-                'max' => 255,
76
-                'eval' => 'trim',
77
-            ),
78
-        )
79
-    ),
80
-    'types' => array (
81
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'),
82
-    ),
83
-    'palettes' => array (
84
-        '1' => array ('showitem' => ''),
85
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog',
15
+		'label'     => 'label',
16
+		'crdate'    => 'crdate',
17
+		'cruser_id' => 'user_id',
18
+		'default_sortby' => 'ORDER BY label',
19
+		'delete'	=> 'deleted',
20
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfreport.png',
21
+		'rootLevel'	=> 0,
22
+		'dividers2tabs' => 2,
23
+		'searchFields' => 'label,name,crdate',
24
+	),
25
+	'interface' => array (
26
+		'showRecordFieldList' => 'label,name,crdate',
27
+		'maxDBListItems' => 25,
28
+		'maxSingleDBListItems' => 50,
29
+	),
30
+	'feInterface' => array (
31
+		'fe_admin_fieldList' => '',
32
+	),
33
+	'columns' => array (
34
+		'label' => array (
35
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label',
36
+			'config' => array (
37
+				'type' => 'input',
38
+				'size' => 30,
39
+				'max' => 255,
40
+				'eval' => 'required,trim',
41
+			),
42
+		),
43
+		'user_id' => array (
44
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id',
45
+			'config' => array (
46
+				'type' => 'input',
47
+				'size' => 30,
48
+				'max' => 255,
49
+				'eval' => 'alphanum,unique',
50
+			),
51
+		),
52
+		'file_name' => array (
53
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name',
54
+			'config' => array (
55
+				'type' => 'input',
56
+				'size' => 30,
57
+				'max' => 255,
58
+				'eval' => 'alphanum,unique',
59
+			),
60
+		),
61
+		'count_pages' => array (
62
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages',
63
+			'config' => array (
64
+				'type' => 'input',
65
+				'size' => 30,
66
+				'max' => 255,
67
+				'eval' => 'trim',
68
+			),
69
+		),
70
+		'name' => array (
71
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name',
72
+			'config' => array (
73
+				'type' => 'input',
74
+				'size' => 30,
75
+				'max' => 255,
76
+				'eval' => 'trim',
77
+			),
78
+		)
79
+	),
80
+	'types' => array (
81
+		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'),
82
+	),
83
+	'palettes' => array (
84
+		'1' => array ('showitem' => ''),
85
+	),
86 86
 );
87 87
\ No newline at end of file
Please login to merge, or discard this 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_actionlog',
15 15
         'label'     => 'label',
16 16
         'crdate'    => 'crdate',
@@ -22,54 +22,54 @@  discard block
 block discarded – undo
22 22
         'dividers2tabs' => 2,
23 23
         'searchFields' => 'label,name,crdate',
24 24
     ),
25
-    'interface' => array (
25
+    'interface' => array(
26 26
         'showRecordFieldList' => 'label,name,crdate',
27 27
         'maxDBListItems' => 25,
28 28
         'maxSingleDBListItems' => 50,
29 29
     ),
30
-    'feInterface' => array (
30
+    'feInterface' => array(
31 31
         'fe_admin_fieldList' => '',
32 32
     ),
33
-    'columns' => array (
34
-        'label' => array (
33
+    'columns' => array(
34
+        'label' => array(
35 35
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label',
36
-            'config' => array (
36
+            'config' => array(
37 37
                 'type' => 'input',
38 38
                 'size' => 30,
39 39
                 'max' => 255,
40 40
                 'eval' => 'required,trim',
41 41
             ),
42 42
         ),
43
-        'user_id' => array (
43
+        'user_id' => array(
44 44
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id',
45
-            'config' => array (
45
+            'config' => array(
46 46
                 'type' => 'input',
47 47
                 'size' => 30,
48 48
                 'max' => 255,
49 49
                 'eval' => 'alphanum,unique',
50 50
             ),
51 51
         ),
52
-        'file_name' => array (
52
+        'file_name' => array(
53 53
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name',
54
-            'config' => array (
54
+            'config' => array(
55 55
                 'type' => 'input',
56 56
                 'size' => 30,
57 57
                 'max' => 255,
58 58
                 'eval' => 'alphanum,unique',
59 59
             ),
60 60
         ),
61
-        'count_pages' => array (
61
+        'count_pages' => array(
62 62
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages',
63
-            'config' => array (
63
+            'config' => array(
64 64
                 'type' => 'input',
65 65
                 'size' => 30,
66 66
                 'max' => 255,
67 67
                 'eval' => 'trim',
68 68
             ),
69 69
         ),
70
-        'name' => array (
70
+        'name' => array(
71 71
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name',
72
-            'config' => array (
72
+            'config' => array(
73 73
                 'type' => 'input',
74 74
                 'size' => 30,
75 75
                 'max' => 255,
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
             ),
78 78
         )
79 79
     ),
80
-    'types' => array (
81
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'),
80
+    'types' => array(
81
+        '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'),
82 82
     ),
83
-    'palettes' => array (
84
-        '1' => array ('showitem' => ''),
83
+    'palettes' => array(
84
+        '1' => array('showitem' => ''),
85 85
     ),
86 86
 );
87 87
\ No newline at end of file
Please login to merge, or discard this patch.
Configuration/TCA/tx_dlf_formats.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_formats',
15
-        'label'     => 'type',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'default_sortby' => 'ORDER BY type',
20
-        'delete'	=> 'deleted',
21
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfformats.png',
22
-        'rootLevel'	=> 1,
23
-        'dividers2tabs' => 2,
24
-        'searchFields' => 'type,class',
25
-    ),
26
-    'feInterface' => array (
27
-        'fe_admin_fieldList' => '',
28
-    ),
29
-    'interface' => array (
30
-        'showRecordFieldList' => 'type,class',
31
-    ),
32
-    'columns' => array (
33
-        'type' => array (
34
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type',
35
-            'config' => array (
36
-                'type' => 'input',
37
-                'size' => 30,
38
-                'max' => 255,
39
-                'eval' => 'required,nospace,alphanum_x,unique',
40
-            ),
41
-        ),
42
-        'root' => array (
43
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root',
44
-            'config' => array (
45
-                'type' => 'input',
46
-                'size' => 30,
47
-                'max' => 255,
48
-                'eval' => 'required,nospace,alphanum_x,unique',
49
-            ),
50
-        ),
51
-        'namespace' => array (
52
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace',
53
-            'config' => array (
54
-                'type' => 'input',
55
-                'size' => 30,
56
-                'max' => 1024,
57
-                'eval' => 'required,nospace,unique',
58
-            ),
59
-        ),
60
-        'class' => array (
61
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class',
62
-            'config' => array (
63
-                'type' => 'input',
64
-                'size' => 30,
65
-                'max' => 1024,
66
-                'eval' => 'nospace,alphanum_x,unique',
67
-            ),
68
-        ),
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'),
72
-    ),
73
-    'palettes' => array (
74
-        '1' => array ('showitem' => ''),
75
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats',
15
+		'label'     => 'type',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'default_sortby' => 'ORDER BY type',
20
+		'delete'	=> 'deleted',
21
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfformats.png',
22
+		'rootLevel'	=> 1,
23
+		'dividers2tabs' => 2,
24
+		'searchFields' => 'type,class',
25
+	),
26
+	'feInterface' => array (
27
+		'fe_admin_fieldList' => '',
28
+	),
29
+	'interface' => array (
30
+		'showRecordFieldList' => 'type,class',
31
+	),
32
+	'columns' => array (
33
+		'type' => array (
34
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type',
35
+			'config' => array (
36
+				'type' => 'input',
37
+				'size' => 30,
38
+				'max' => 255,
39
+				'eval' => 'required,nospace,alphanum_x,unique',
40
+			),
41
+		),
42
+		'root' => array (
43
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root',
44
+			'config' => array (
45
+				'type' => 'input',
46
+				'size' => 30,
47
+				'max' => 255,
48
+				'eval' => 'required,nospace,alphanum_x,unique',
49
+			),
50
+		),
51
+		'namespace' => array (
52
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace',
53
+			'config' => array (
54
+				'type' => 'input',
55
+				'size' => 30,
56
+				'max' => 1024,
57
+				'eval' => 'required,nospace,unique',
58
+			),
59
+		),
60
+		'class' => array (
61
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class',
62
+			'config' => array (
63
+				'type' => 'input',
64
+				'size' => 30,
65
+				'max' => 1024,
66
+				'eval' => 'nospace,alphanum_x,unique',
67
+			),
68
+		),
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'),
72
+	),
73
+	'palettes' => array (
74
+		'1' => array ('showitem' => ''),
75
+	),
76 76
 );
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_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.
Configuration/TCA/tx_dlf_documents.php 2 patches
Indentation   +324 added lines, -324 removed lines patch added patch discarded remove patch
@@ -10,328 +10,328 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents',
15
-        'label'     => 'title',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'default_sortby' => 'ORDER BY title_sorting',
20
-        'delete'	=> 'deleted',
21
-        'enablecolumns' => array (
22
-            'disabled' => 'hidden',
23
-            'starttime' => 'starttime',
24
-            'endtime' => 'endtime',
25
-            'fe_group' => 'fe_group',
26
-        ),
27
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfdocuments.png',
28
-        'rootLevel'	=> 0,
29
-        'dividers2tabs' => 2,
30
-        'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
31
-    ),
32
-    'feInterface' => array (
33
-        'fe_admin_fieldList' => '',
34
-    ),
35
-    'interface' => array (
36
-        'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
37
-        'maxDBListItems' => 25,
38
-        'maxSingleDBListItems' => 50,
39
-    ),
40
-    'columns' => array (
41
-        'hidden' => array (
42
-            'exclude' => 1,
43
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
44
-            'config' => array (
45
-                'type' => 'check',
46
-                'default' => 0,
47
-            ),
48
-        ),
49
-        'starttime' => array (
50
-            'exclude' => 1,
51
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
52
-            'config' => array (
53
-                'type' => 'input',
54
-                'size' => '13',
55
-                'max' => '20',
56
-                'eval' => 'datetime',
57
-                'default' => '0',
58
-            ),
59
-        ),
60
-        'endtime' => array (
61
-            'exclude' => 1,
62
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
63
-            'config' => array (
64
-                'type' => 'input',
65
-                'size' => '13',
66
-                'max' => '20',
67
-                'eval' => 'datetime',
68
-                'default' => '0',
69
-            ),
70
-        ),
71
-        'fe_group' => array (
72
-            'exclude' => 1,
73
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
74
-            'config' => array (
75
-                'type' => 'select',
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--'),
81
-                ),
82
-                'foreign_table' => 'fe_groups',
83
-                'size' => 5,
84
-                'autoSizeMax' => 15,
85
-                'minitems' => 0,
86
-                'maxitems' => 20,
87
-                'exclusiveKeys' => '-1,-2',
88
-            ),
89
-        ),
90
-        'prod_id' => array (
91
-            'exclude' => 1,
92
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id',
93
-            'config' => array (
94
-                'type' => 'input',
95
-                'size' => 30,
96
-                'max' => 255,
97
-                'eval' => 'nospace',
98
-            ),
99
-        ),
100
-        'location' => array (
101
-            'exclude' => 1,
102
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location',
103
-            'config' => array (
104
-                'type' => 'input',
105
-                'size' => 30,
106
-                'max' => 1024,
107
-                'eval' => 'required,uniqueInPid',
108
-            ),
109
-        ),
110
-        'record_id' => array (
111
-            'exclude' => 1,
112
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id',
113
-            'config' => array (
114
-                'type' => 'input',
115
-                'size' => 30,
116
-                'max' => 255,
117
-                'eval' => 'nospace,uniqueInPid',
118
-            ),
119
-        ),
120
-        'opac_id' => array (
121
-            'exclude' => 1,
122
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id',
123
-            'config' => array (
124
-                'type' => 'input',
125
-                'size' => 30,
126
-                'max' => 255,
127
-                'eval' => 'nospace',
128
-            ),
129
-        ),
130
-        'union_id' => array (
131
-            'exclude' => 1,
132
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id',
133
-            'config' => array (
134
-                'type' => 'input',
135
-                'size' => 30,
136
-                'max' => 255,
137
-                'eval' => 'nospace',
138
-            ),
139
-        ),
140
-        'urn' => array (
141
-            'exclude' => 1,
142
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn',
143
-            'config' => array (
144
-                'type' => 'input',
145
-                'size' => 30,
146
-                'max' => 255,
147
-                'eval' => 'nospace',
148
-            ),
149
-        ),
150
-        'purl' => array (
151
-            'exclude' => 1,
152
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl',
153
-            'config' => array (
154
-                'type' => 'input',
155
-                'size' => 30,
156
-                'max' => 255,
157
-                'eval' => 'nospace',
158
-            ),
159
-        ),
160
-        'title' => array (
161
-            'exclude' => 1,
162
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title',
163
-            'config' => array (
164
-                'type' => 'input',
165
-                'size' => 30,
166
-                'max' => 1024,
167
-                'eval' => 'trim',
168
-            ),
169
-        ),
170
-        'title_sorting' => array (
171
-            'exclude' => 1,
172
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting',
173
-            'config' => array (
174
-                'type' => 'input',
175
-                'size' => 30,
176
-                'max' => 1024,
177
-                'eval' => 'trim',
178
-            ),
179
-        ),
180
-        'author' => array (
181
-            'exclude' => 1,
182
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author',
183
-            'config' => array (
184
-                'type' => 'input',
185
-                'size' => 30,
186
-                'max' => 255,
187
-                'eval' => 'trim',
188
-            ),
189
-        ),
190
-        'year' => array (
191
-            'exclude' => 1,
192
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year',
193
-            'config' => array (
194
-                'type' => 'input',
195
-                'size' => 30,
196
-                'max' => 255,
197
-                'eval' => 'trim',
198
-            ),
199
-        ),
200
-        'place' => array (
201
-            'exclude' => 1,
202
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place',
203
-            'config' => array (
204
-                'type' => 'input',
205
-                'size' => 30,
206
-                'max' => 255,
207
-                'eval' => 'trim',
208
-            ),
209
-        ),
210
-        'thumbnail' => array (
211
-            'exclude' => 1,
212
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail',
213
-            'config' => array (
214
-                'type' => 'user',
215
-                'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail',
216
-            ),
217
-        ),
218
-        'metadata' => array (
219
-            'config' => array (
220
-                'type' => 'passthrough',
221
-            ),
222
-        ),
223
-        'metadata_sorting' => array (
224
-            'config' => array (
225
-                'type' => 'passthrough',
226
-            ),
227
-        ),
228
-        'structure' => array (
229
-            'exclude' => 1,
230
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure',
231
-            'config' => array (
232
-                'type' => 'select',
233
-                'renderType' => 'selectSingle',
234
-                'foreign_table' => 'tx_dlf_structures',
235
-                'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) AND tx_dlf_structures.toplevel=1 ORDER BY tx_dlf_structures.label',
236
-                'size' => 1,
237
-                'minitems' => 1,
238
-                'maxitems' => 1,
239
-            ),
240
-        ),
241
-        'partof' => array (
242
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof',
243
-            'config' => array (
244
-                'type' => 'group',
245
-                'internal_type' => 'db',
246
-                'allowed' => 'tx_dlf_documents',
247
-                'prepend_tname' => 0,
248
-                'size' => 1,
249
-                'selectedListStyle' => 'width:400px;',
250
-                'minitems' => 0,
251
-                'maxitems' => 1,
252
-                'disable_controls' => 'browser,delete',
253
-                'default' => 0,
254
-                'readOnly' => 1,
255
-            ),
256
-        ),
257
-        'volume' => array (
258
-            'exclude' => 1,
259
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume',
260
-            'config' => array (
261
-                'type' => 'input',
262
-                'size' => 30,
263
-                'max' => 255,
264
-                'eval' => 'trim',
265
-            ),
266
-        ),
267
-        'volume_sorting' => array (
268
-            'exclude' => 1,
269
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting',
270
-            'config' => array (
271
-                'type' => 'input',
272
-                'size' => 30,
273
-                'max' => 255,
274
-                'eval' => 'trim',
275
-            ),
276
-        ),
277
-        'collections' => array (
278
-            'exclude' => 1,
279
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections',
280
-            'config' => array (
281
-                'type' => 'select',
282
-                'renderType' => 'selectMultipleSideBySide',
283
-                'foreign_table' => 'tx_dlf_collections',
284
-                'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0) ORDER BY tx_dlf_collections.label',
285
-                'size' => 5,
286
-                'autoSizeMax' => 15,
287
-                'minitems' => 1,
288
-                'maxitems' => 1024,
289
-                'MM' => 'tx_dlf_relations',
290
-                'MM_match_fields' => array (
291
-                    'ident' => 'docs_colls',
292
-                ),
293
-            ),
294
-        ),
295
-        'owner' => array (
296
-            'exclude' => 1,
297
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner',
298
-            'config' => array (
299
-                'type' => 'select',
300
-                'renderType' => 'selectSingle',
301
-                'foreign_table' => 'tx_dlf_libraries',
302
-                'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
303
-                'size' => 1,
304
-                'minitems' => 0,
305
-                'maxitems' => 1,
306
-            ),
307
-        ),
308
-        'solrcore' => array (
309
-            'config' => array (
310
-                'type' => 'passthrough',
311
-            ),
312
-        ),
313
-        'status' => array (
314
-            'exclude' => 1,
315
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status',
316
-            'config' => array (
317
-                'type' => 'select',
318
-                'renderType' => 'selectSingle',
319
-                'items' => array (
320
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0),
321
-                ),
322
-                'size' => 1,
323
-                'minitems' => 1,
324
-                'maxitems' => 1,
325
-                'default' => 0,
326
-            ),
327
-        ),
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'),
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),
336
-    )
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents',
15
+		'label'     => 'title',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'default_sortby' => 'ORDER BY title_sorting',
20
+		'delete'	=> 'deleted',
21
+		'enablecolumns' => array (
22
+			'disabled' => 'hidden',
23
+			'starttime' => 'starttime',
24
+			'endtime' => 'endtime',
25
+			'fe_group' => 'fe_group',
26
+		),
27
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfdocuments.png',
28
+		'rootLevel'	=> 0,
29
+		'dividers2tabs' => 2,
30
+		'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
31
+	),
32
+	'feInterface' => array (
33
+		'fe_admin_fieldList' => '',
34
+	),
35
+	'interface' => array (
36
+		'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
37
+		'maxDBListItems' => 25,
38
+		'maxSingleDBListItems' => 50,
39
+	),
40
+	'columns' => array (
41
+		'hidden' => array (
42
+			'exclude' => 1,
43
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
44
+			'config' => array (
45
+				'type' => 'check',
46
+				'default' => 0,
47
+			),
48
+		),
49
+		'starttime' => array (
50
+			'exclude' => 1,
51
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
52
+			'config' => array (
53
+				'type' => 'input',
54
+				'size' => '13',
55
+				'max' => '20',
56
+				'eval' => 'datetime',
57
+				'default' => '0',
58
+			),
59
+		),
60
+		'endtime' => array (
61
+			'exclude' => 1,
62
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
63
+			'config' => array (
64
+				'type' => 'input',
65
+				'size' => '13',
66
+				'max' => '20',
67
+				'eval' => 'datetime',
68
+				'default' => '0',
69
+			),
70
+		),
71
+		'fe_group' => array (
72
+			'exclude' => 1,
73
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
74
+			'config' => array (
75
+				'type' => 'select',
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--'),
81
+				),
82
+				'foreign_table' => 'fe_groups',
83
+				'size' => 5,
84
+				'autoSizeMax' => 15,
85
+				'minitems' => 0,
86
+				'maxitems' => 20,
87
+				'exclusiveKeys' => '-1,-2',
88
+			),
89
+		),
90
+		'prod_id' => array (
91
+			'exclude' => 1,
92
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id',
93
+			'config' => array (
94
+				'type' => 'input',
95
+				'size' => 30,
96
+				'max' => 255,
97
+				'eval' => 'nospace',
98
+			),
99
+		),
100
+		'location' => array (
101
+			'exclude' => 1,
102
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location',
103
+			'config' => array (
104
+				'type' => 'input',
105
+				'size' => 30,
106
+				'max' => 1024,
107
+				'eval' => 'required,uniqueInPid',
108
+			),
109
+		),
110
+		'record_id' => array (
111
+			'exclude' => 1,
112
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id',
113
+			'config' => array (
114
+				'type' => 'input',
115
+				'size' => 30,
116
+				'max' => 255,
117
+				'eval' => 'nospace,uniqueInPid',
118
+			),
119
+		),
120
+		'opac_id' => array (
121
+			'exclude' => 1,
122
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id',
123
+			'config' => array (
124
+				'type' => 'input',
125
+				'size' => 30,
126
+				'max' => 255,
127
+				'eval' => 'nospace',
128
+			),
129
+		),
130
+		'union_id' => array (
131
+			'exclude' => 1,
132
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id',
133
+			'config' => array (
134
+				'type' => 'input',
135
+				'size' => 30,
136
+				'max' => 255,
137
+				'eval' => 'nospace',
138
+			),
139
+		),
140
+		'urn' => array (
141
+			'exclude' => 1,
142
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn',
143
+			'config' => array (
144
+				'type' => 'input',
145
+				'size' => 30,
146
+				'max' => 255,
147
+				'eval' => 'nospace',
148
+			),
149
+		),
150
+		'purl' => array (
151
+			'exclude' => 1,
152
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl',
153
+			'config' => array (
154
+				'type' => 'input',
155
+				'size' => 30,
156
+				'max' => 255,
157
+				'eval' => 'nospace',
158
+			),
159
+		),
160
+		'title' => array (
161
+			'exclude' => 1,
162
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title',
163
+			'config' => array (
164
+				'type' => 'input',
165
+				'size' => 30,
166
+				'max' => 1024,
167
+				'eval' => 'trim',
168
+			),
169
+		),
170
+		'title_sorting' => array (
171
+			'exclude' => 1,
172
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting',
173
+			'config' => array (
174
+				'type' => 'input',
175
+				'size' => 30,
176
+				'max' => 1024,
177
+				'eval' => 'trim',
178
+			),
179
+		),
180
+		'author' => array (
181
+			'exclude' => 1,
182
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author',
183
+			'config' => array (
184
+				'type' => 'input',
185
+				'size' => 30,
186
+				'max' => 255,
187
+				'eval' => 'trim',
188
+			),
189
+		),
190
+		'year' => array (
191
+			'exclude' => 1,
192
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year',
193
+			'config' => array (
194
+				'type' => 'input',
195
+				'size' => 30,
196
+				'max' => 255,
197
+				'eval' => 'trim',
198
+			),
199
+		),
200
+		'place' => array (
201
+			'exclude' => 1,
202
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place',
203
+			'config' => array (
204
+				'type' => 'input',
205
+				'size' => 30,
206
+				'max' => 255,
207
+				'eval' => 'trim',
208
+			),
209
+		),
210
+		'thumbnail' => array (
211
+			'exclude' => 1,
212
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail',
213
+			'config' => array (
214
+				'type' => 'user',
215
+				'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail',
216
+			),
217
+		),
218
+		'metadata' => array (
219
+			'config' => array (
220
+				'type' => 'passthrough',
221
+			),
222
+		),
223
+		'metadata_sorting' => array (
224
+			'config' => array (
225
+				'type' => 'passthrough',
226
+			),
227
+		),
228
+		'structure' => array (
229
+			'exclude' => 1,
230
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure',
231
+			'config' => array (
232
+				'type' => 'select',
233
+				'renderType' => 'selectSingle',
234
+				'foreign_table' => 'tx_dlf_structures',
235
+				'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) AND tx_dlf_structures.toplevel=1 ORDER BY tx_dlf_structures.label',
236
+				'size' => 1,
237
+				'minitems' => 1,
238
+				'maxitems' => 1,
239
+			),
240
+		),
241
+		'partof' => array (
242
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof',
243
+			'config' => array (
244
+				'type' => 'group',
245
+				'internal_type' => 'db',
246
+				'allowed' => 'tx_dlf_documents',
247
+				'prepend_tname' => 0,
248
+				'size' => 1,
249
+				'selectedListStyle' => 'width:400px;',
250
+				'minitems' => 0,
251
+				'maxitems' => 1,
252
+				'disable_controls' => 'browser,delete',
253
+				'default' => 0,
254
+				'readOnly' => 1,
255
+			),
256
+		),
257
+		'volume' => array (
258
+			'exclude' => 1,
259
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume',
260
+			'config' => array (
261
+				'type' => 'input',
262
+				'size' => 30,
263
+				'max' => 255,
264
+				'eval' => 'trim',
265
+			),
266
+		),
267
+		'volume_sorting' => array (
268
+			'exclude' => 1,
269
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting',
270
+			'config' => array (
271
+				'type' => 'input',
272
+				'size' => 30,
273
+				'max' => 255,
274
+				'eval' => 'trim',
275
+			),
276
+		),
277
+		'collections' => array (
278
+			'exclude' => 1,
279
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections',
280
+			'config' => array (
281
+				'type' => 'select',
282
+				'renderType' => 'selectMultipleSideBySide',
283
+				'foreign_table' => 'tx_dlf_collections',
284
+				'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0) ORDER BY tx_dlf_collections.label',
285
+				'size' => 5,
286
+				'autoSizeMax' => 15,
287
+				'minitems' => 1,
288
+				'maxitems' => 1024,
289
+				'MM' => 'tx_dlf_relations',
290
+				'MM_match_fields' => array (
291
+					'ident' => 'docs_colls',
292
+				),
293
+			),
294
+		),
295
+		'owner' => array (
296
+			'exclude' => 1,
297
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner',
298
+			'config' => array (
299
+				'type' => 'select',
300
+				'renderType' => 'selectSingle',
301
+				'foreign_table' => 'tx_dlf_libraries',
302
+				'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label',
303
+				'size' => 1,
304
+				'minitems' => 0,
305
+				'maxitems' => 1,
306
+			),
307
+		),
308
+		'solrcore' => array (
309
+			'config' => array (
310
+				'type' => 'passthrough',
311
+			),
312
+		),
313
+		'status' => array (
314
+			'exclude' => 1,
315
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status',
316
+			'config' => array (
317
+				'type' => 'select',
318
+				'renderType' => 'selectSingle',
319
+				'items' => array (
320
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0),
321
+				),
322
+				'size' => 1,
323
+				'minitems' => 1,
324
+				'maxitems' => 1,
325
+				'default' => 0,
326
+			),
327
+		),
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'),
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),
336
+	)
337 337
 );
Please login to merge, or discard this 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.
Configuration/TCA/tx_dlf_metadata.php 2 patches
Indentation   +235 added lines, -235 removed lines patch added patch discarded remove patch
@@ -10,239 +10,239 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'languageField' => 'sys_language_uid',
20
-        'transOrigPointerField' => 'l18n_parent',
21
-        'transOrigDiffSourceField' => 'l18n_diffsource',
22
-        'sortby' => 'sorting',
23
-        'delete'	=> 'deleted',
24
-        'enablecolumns' => array (
25
-            'disabled' => 'hidden',
26
-        ),
27
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png',
28
-        'rootLevel'	=> 0,
29
-        'dividers2tabs' => 2,
30
-        'searchFields' => 'label,index_name',
31
-    ),
32
-    'feInterface' => array (
33
-        'fe_admin_fieldList' => '',
34
-    ),
35
-    'interface' => array (
36
-        'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete',
37
-    ),
38
-    'columns' => array (
39
-        'sys_language_uid' => array (
40
-            'exclude' => 1,
41
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
42
-            'config' => array (
43
-                'type' => 'select',
44
-                'renderType' => 'selectSingle',
45
-                'foreign_table' => 'sys_language',
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),
50
-                ),
51
-                'default' => 0
52
-            ),
53
-        ),
54
-        'l18n_parent' => array (
55
-            'displayCond' => 'FIELD:sys_language_uid:>:0',
56
-            'exclude' => 1,
57
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
58
-            'config' => array (
59
-                'type' => 'select',
60
-                'renderType' => 'selectSingle',
61
-                'items' => array (
62
-                    array ('', 0),
63
-                ),
64
-                'foreign_table' => 'tx_dlf_metadata',
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
-            ),
67
-        ),
68
-        'l18n_diffsource' => array (
69
-            'config' => array (
70
-                'type' => 'passthrough'
71
-            ),
72
-        ),
73
-        'hidden' => array (
74
-            'exclude' => 1,
75
-            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
76
-            'config' => array (
77
-                'type' => 'check',
78
-                'default' => 0,
79
-            ),
80
-        ),
81
-        'label' => array (
82
-            'exclude' => 1,
83
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label',
84
-            'config' => array (
85
-                'type' => 'input',
86
-                'size' => 30,
87
-                'max' => 255,
88
-                'eval' => 'required,trim',
89
-            ),
90
-        ),
91
-        'index_name' => array (
92
-            'exclude' => 1,
93
-            'l10n_mode' => 'exclude',
94
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name',
95
-            'config' => array (
96
-                'type' => 'input',
97
-                'size' => 30,
98
-                'max' => 255,
99
-                'eval' => 'required,nospace,alphanum_x,uniqueInPid',
100
-            ),
101
-        ),
102
-        'format' => array (
103
-            'exclude' => 1,
104
-            'l10n_mode' => 'exclude',
105
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format',
106
-            'config' => array (
107
-                'type' => 'inline',
108
-                'foreign_table' => 'tx_dlf_metadataformat',
109
-                'foreign_field' => 'parent_id',
110
-                'foreign_unique' => 'encoded',
111
-                'appearance' => array (
112
-                    'expandSingle' => 1,
113
-                    'levelLinksPosition' => 'bottom',
114
-                    'enabledControls' => array (
115
-                        'info' => 0,
116
-                        'new' => 1,
117
-                        'dragdrop' => 0,
118
-                        'sort' => 0,
119
-                        'hide' => 0,
120
-                        'delete' => 1,
121
-                        'localize' => 0,
122
-                    ),
123
-                ),
124
-            ),
125
-        ),
126
-        'default_value' => array (
127
-            'exclude' => 1,
128
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value',
129
-            'config' => array (
130
-                'type' => 'input',
131
-                'size' => 30,
132
-                'max' => 1024,
133
-                'eval' => 'trim',
134
-            ),
135
-        ),
136
-        'wrap' => array (
137
-            'exclude' => 1,
138
-            'l10n_mode' => 'mergeIfNotBlank',
139
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap',
140
-            'config' => array (
141
-                'type' => 'text',
142
-                'cols' => 48,
143
-                'rows' => 20,
144
-                'wrap' => 'off',
145
-                'eval' => 'trim',
146
-                'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>",
147
-            ),
148
-            'defaultExtras' => 'nowrap:fixed-font:enable-tab',
149
-        ),
150
-        'index_tokenized' => array (
151
-            'exclude' => 1,
152
-            'l10n_mode' => 'exclude',
153
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized',
154
-            'config' => array (
155
-                'type' => 'check',
156
-                'default' => 0,
157
-            ),
158
-        ),
159
-        'index_stored' => array (
160
-            'exclude' => 1,
161
-            'l10n_mode' => 'exclude',
162
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored',
163
-            'config' => array (
164
-                'type' => 'check',
165
-                'default' => 0,
166
-            ),
167
-        ),
168
-        'index_indexed' => array (
169
-            'exclude' => 1,
170
-            'l10n_mode' => 'exclude',
171
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed',
172
-            'config' => array (
173
-                'type' => 'check',
174
-                'default' => 1,
175
-            ),
176
-        ),
177
-        'index_boost' => array (
178
-            'exclude' => 1,
179
-            'l10n_mode' => 'exclude',
180
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost',
181
-            'config' => array (
182
-                'type' => 'input',
183
-                'size' => 5,
184
-                'max' => 64,
185
-                'default' => '1.00',
186
-                'eval' => 'double2',
187
-            ),
188
-        ),
189
-        'is_sortable' => array (
190
-            'exclude' => 1,
191
-            'l10n_mode' => 'exclude',
192
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable',
193
-            'config' => array (
194
-                'type' => 'check',
195
-                'default' => 0,
196
-            ),
197
-        ),
198
-        'is_facet' => array (
199
-            'exclude' => 1,
200
-            'l10n_mode' => 'exclude',
201
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet',
202
-            'config' => array (
203
-                'type' => 'check',
204
-                'default' => 0,
205
-            ),
206
-        ),
207
-        'is_listed' => array (
208
-            'exclude' => 1,
209
-            'l10n_mode' => 'exclude',
210
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed',
211
-            'config' => array (
212
-                'type' => 'check',
213
-                'default' => 0,
214
-            ),
215
-        ),
216
-        'index_autocomplete' => array (
217
-            'exclude' => 1,
218
-            'l10n_mode' => 'exclude',
219
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete',
220
-            'config' => array (
221
-                'type' => 'check',
222
-                'default' => 0,
223
-            ),
224
-        ),
225
-        'status' => array (
226
-            'exclude' => 1,
227
-            'l10n_mode' => 'exclude',
228
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status',
229
-            'config' => array (
230
-                'type' => 'select',
231
-                'renderType' => 'selectSingle',
232
-                'items' => array (
233
-                    array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0),
234
-                ),
235
-                'size' => 1,
236
-                'minitems' => 1,
237
-                'maxitems' => 1,
238
-                'default' => 0,
239
-            ),
240
-        ),
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'),
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),
247
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'languageField' => 'sys_language_uid',
20
+		'transOrigPointerField' => 'l18n_parent',
21
+		'transOrigDiffSourceField' => 'l18n_diffsource',
22
+		'sortby' => 'sorting',
23
+		'delete'	=> 'deleted',
24
+		'enablecolumns' => array (
25
+			'disabled' => 'hidden',
26
+		),
27
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png',
28
+		'rootLevel'	=> 0,
29
+		'dividers2tabs' => 2,
30
+		'searchFields' => 'label,index_name',
31
+	),
32
+	'feInterface' => array (
33
+		'fe_admin_fieldList' => '',
34
+	),
35
+	'interface' => array (
36
+		'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete',
37
+	),
38
+	'columns' => array (
39
+		'sys_language_uid' => array (
40
+			'exclude' => 1,
41
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
42
+			'config' => array (
43
+				'type' => 'select',
44
+				'renderType' => 'selectSingle',
45
+				'foreign_table' => 'sys_language',
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),
50
+				),
51
+				'default' => 0
52
+			),
53
+		),
54
+		'l18n_parent' => array (
55
+			'displayCond' => 'FIELD:sys_language_uid:>:0',
56
+			'exclude' => 1,
57
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
58
+			'config' => array (
59
+				'type' => 'select',
60
+				'renderType' => 'selectSingle',
61
+				'items' => array (
62
+					array ('', 0),
63
+				),
64
+				'foreign_table' => 'tx_dlf_metadata',
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
+			),
67
+		),
68
+		'l18n_diffsource' => array (
69
+			'config' => array (
70
+				'type' => 'passthrough'
71
+			),
72
+		),
73
+		'hidden' => array (
74
+			'exclude' => 1,
75
+			'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
76
+			'config' => array (
77
+				'type' => 'check',
78
+				'default' => 0,
79
+			),
80
+		),
81
+		'label' => array (
82
+			'exclude' => 1,
83
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label',
84
+			'config' => array (
85
+				'type' => 'input',
86
+				'size' => 30,
87
+				'max' => 255,
88
+				'eval' => 'required,trim',
89
+			),
90
+		),
91
+		'index_name' => array (
92
+			'exclude' => 1,
93
+			'l10n_mode' => 'exclude',
94
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name',
95
+			'config' => array (
96
+				'type' => 'input',
97
+				'size' => 30,
98
+				'max' => 255,
99
+				'eval' => 'required,nospace,alphanum_x,uniqueInPid',
100
+			),
101
+		),
102
+		'format' => array (
103
+			'exclude' => 1,
104
+			'l10n_mode' => 'exclude',
105
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format',
106
+			'config' => array (
107
+				'type' => 'inline',
108
+				'foreign_table' => 'tx_dlf_metadataformat',
109
+				'foreign_field' => 'parent_id',
110
+				'foreign_unique' => 'encoded',
111
+				'appearance' => array (
112
+					'expandSingle' => 1,
113
+					'levelLinksPosition' => 'bottom',
114
+					'enabledControls' => array (
115
+						'info' => 0,
116
+						'new' => 1,
117
+						'dragdrop' => 0,
118
+						'sort' => 0,
119
+						'hide' => 0,
120
+						'delete' => 1,
121
+						'localize' => 0,
122
+					),
123
+				),
124
+			),
125
+		),
126
+		'default_value' => array (
127
+			'exclude' => 1,
128
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value',
129
+			'config' => array (
130
+				'type' => 'input',
131
+				'size' => 30,
132
+				'max' => 1024,
133
+				'eval' => 'trim',
134
+			),
135
+		),
136
+		'wrap' => array (
137
+			'exclude' => 1,
138
+			'l10n_mode' => 'mergeIfNotBlank',
139
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap',
140
+			'config' => array (
141
+				'type' => 'text',
142
+				'cols' => 48,
143
+				'rows' => 20,
144
+				'wrap' => 'off',
145
+				'eval' => 'trim',
146
+				'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>",
147
+			),
148
+			'defaultExtras' => 'nowrap:fixed-font:enable-tab',
149
+		),
150
+		'index_tokenized' => array (
151
+			'exclude' => 1,
152
+			'l10n_mode' => 'exclude',
153
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized',
154
+			'config' => array (
155
+				'type' => 'check',
156
+				'default' => 0,
157
+			),
158
+		),
159
+		'index_stored' => array (
160
+			'exclude' => 1,
161
+			'l10n_mode' => 'exclude',
162
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored',
163
+			'config' => array (
164
+				'type' => 'check',
165
+				'default' => 0,
166
+			),
167
+		),
168
+		'index_indexed' => array (
169
+			'exclude' => 1,
170
+			'l10n_mode' => 'exclude',
171
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed',
172
+			'config' => array (
173
+				'type' => 'check',
174
+				'default' => 1,
175
+			),
176
+		),
177
+		'index_boost' => array (
178
+			'exclude' => 1,
179
+			'l10n_mode' => 'exclude',
180
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost',
181
+			'config' => array (
182
+				'type' => 'input',
183
+				'size' => 5,
184
+				'max' => 64,
185
+				'default' => '1.00',
186
+				'eval' => 'double2',
187
+			),
188
+		),
189
+		'is_sortable' => array (
190
+			'exclude' => 1,
191
+			'l10n_mode' => 'exclude',
192
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable',
193
+			'config' => array (
194
+				'type' => 'check',
195
+				'default' => 0,
196
+			),
197
+		),
198
+		'is_facet' => array (
199
+			'exclude' => 1,
200
+			'l10n_mode' => 'exclude',
201
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet',
202
+			'config' => array (
203
+				'type' => 'check',
204
+				'default' => 0,
205
+			),
206
+		),
207
+		'is_listed' => array (
208
+			'exclude' => 1,
209
+			'l10n_mode' => 'exclude',
210
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed',
211
+			'config' => array (
212
+				'type' => 'check',
213
+				'default' => 0,
214
+			),
215
+		),
216
+		'index_autocomplete' => array (
217
+			'exclude' => 1,
218
+			'l10n_mode' => 'exclude',
219
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete',
220
+			'config' => array (
221
+				'type' => 'check',
222
+				'default' => 0,
223
+			),
224
+		),
225
+		'status' => array (
226
+			'exclude' => 1,
227
+			'l10n_mode' => 'exclude',
228
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status',
229
+			'config' => array (
230
+				'type' => 'select',
231
+				'renderType' => 'selectSingle',
232
+				'items' => array (
233
+					array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0),
234
+				),
235
+				'size' => 1,
236
+				'minitems' => 1,
237
+				'maxitems' => 1,
238
+				'default' => 0,
239
+			),
240
+		),
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'),
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),
247
+	),
248 248
 );
Please login to merge, or discard this 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.
Configuration/TCA/tx_dlf_solrcores.php 2 patches
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -10,49 +10,49 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores',
15
-        'label'     => 'label',
16
-        'tstamp'    => 'tstamp',
17
-        'crdate'    => 'crdate',
18
-        'cruser_id' => 'cruser_id',
19
-        'default_sortby' => 'ORDER BY label',
20
-        'delete'	=> 'deleted',
21
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfsolrcores.png',
22
-        'rootLevel'	=> -1,
23
-        'dividers2tabs' => 2,
24
-        'searchFields' => 'label,index_name',
25
-    ),
26
-    'feInterface' => array (
27
-        'fe_admin_fieldList' => '',
28
-    ),
29
-    'interface' => array (
30
-        'showRecordFieldList' => 'label,index_name',
31
-    ),
32
-    'columns' => array (
33
-        'label' => array (
34
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label',
35
-            'config' => array (
36
-                'type' => 'input',
37
-                'size' => 30,
38
-                'max' => 255,
39
-                'eval' => 'required,trim',
40
-            ),
41
-        ),
42
-        'index_name' => array (
43
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name',
44
-            'config' => array (
45
-                'type' => 'none',
46
-                'size' => 30,
47
-                'max' => 255,
48
-                'eval' => 'alphanum,unique',
49
-            ),
50
-        ),
51
-    ),
52
-    'types' => array (
53
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'),
54
-    ),
55
-    'palettes' => array (
56
-        '1' => array ('showitem' => ''),
57
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores',
15
+		'label'     => 'label',
16
+		'tstamp'    => 'tstamp',
17
+		'crdate'    => 'crdate',
18
+		'cruser_id' => 'cruser_id',
19
+		'default_sortby' => 'ORDER BY label',
20
+		'delete'	=> 'deleted',
21
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfsolrcores.png',
22
+		'rootLevel'	=> -1,
23
+		'dividers2tabs' => 2,
24
+		'searchFields' => 'label,index_name',
25
+	),
26
+	'feInterface' => array (
27
+		'fe_admin_fieldList' => '',
28
+	),
29
+	'interface' => array (
30
+		'showRecordFieldList' => 'label,index_name',
31
+	),
32
+	'columns' => array (
33
+		'label' => array (
34
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label',
35
+			'config' => array (
36
+				'type' => 'input',
37
+				'size' => 30,
38
+				'max' => 255,
39
+				'eval' => 'required,trim',
40
+			),
41
+		),
42
+		'index_name' => array (
43
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name',
44
+			'config' => array (
45
+				'type' => 'none',
46
+				'size' => 30,
47
+				'max' => 255,
48
+				'eval' => 'alphanum,unique',
49
+			),
50
+		),
51
+	),
52
+	'types' => array (
53
+		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'),
54
+	),
55
+	'palettes' => array (
56
+		'1' => array ('showitem' => ''),
57
+	),
58 58
 );
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 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_solrcores',
15 15
         'label'     => 'label',
16 16
         'tstamp'    => 'tstamp',
@@ -23,25 +23,25 @@  discard block
 block discarded – undo
23 23
         'dividers2tabs' => 2,
24 24
         'searchFields' => 'label,index_name',
25 25
     ),
26
-    'feInterface' => array (
26
+    'feInterface' => array(
27 27
         'fe_admin_fieldList' => '',
28 28
     ),
29
-    'interface' => array (
29
+    'interface' => array(
30 30
         'showRecordFieldList' => 'label,index_name',
31 31
     ),
32
-    'columns' => array (
33
-        'label' => array (
32
+    'columns' => array(
33
+        'label' => array(
34 34
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label',
35
-            'config' => array (
35
+            'config' => array(
36 36
                 'type' => 'input',
37 37
                 'size' => 30,
38 38
                 'max' => 255,
39 39
                 'eval' => 'required,trim',
40 40
             ),
41 41
         ),
42
-        'index_name' => array (
42
+        'index_name' => array(
43 43
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name',
44
-            'config' => array (
44
+            'config' => array(
45 45
                 'type' => 'none',
46 46
                 'size' => 30,
47 47
                 'max' => 255,
@@ -49,10 +49,10 @@  discard block
 block discarded – undo
49 49
             ),
50 50
         ),
51 51
     ),
52
-    'types' => array (
53
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'),
52
+    'types' => array(
53
+        '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'),
54 54
     ),
55
-    'palettes' => array (
56
-        '1' => array ('showitem' => ''),
55
+    'palettes' => array(
56
+        '1' => array('showitem' => ''),
57 57
     ),
58 58
 );
Please login to merge, or discard this patch.
Configuration/TCA/tx_dlf_mail.php 2 patches
Indentation   +51 added lines, -51 removed lines patch added patch discarded remove patch
@@ -10,55 +10,55 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 return array (
13
-    'ctrl' => array (
14
-        'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail',
15
-        'label'     => 'label',
16
-        'sortby' => 'sorting',
17
-        'delete'	=> 'deleted',
18
-        'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfemail.png',
19
-        'rootLevel'	=> 0,
20
-        'dividers2tabs' => 2,
21
-        'searchFields' => 'label,name,mail',
22
-    ),
23
-    'interface' => array (
24
-        'showRecordFieldList' => 'label,name,mail',
25
-    ),
26
-    'feInterface' => array (
27
-        'fe_admin_fieldList' => '',
28
-    ),
29
-    'columns' => array (
30
-        'label' => array (
31
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail',
32
-            'config' => array (
33
-                'type' => 'input',
34
-                'size' => 30,
35
-                'max' => 255,
36
-                'eval' => 'required',
37
-            ),
38
-        ),
39
-        'name' => array (
40
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name',
41
-            'config' => array (
42
-                'type' => 'input',
43
-                'size' => 30,
44
-                'max' => 255,
45
-                'eval' => '',
46
-            ),
47
-        ),
48
-        'mail' => array (
49
-            'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail',
50
-            'config' => array (
51
-                'type' => 'input',
52
-                'size' => 30,
53
-                'max' => 255,
54
-                'eval' => 'unique',
55
-            ),
56
-        ),
57
-    ),
58
-    'types' => array (
59
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'),
60
-    ),
61
-    'palettes' => array (
62
-        '1' => array ('showitem' => ''),
63
-    ),
13
+	'ctrl' => array (
14
+		'title'     => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail',
15
+		'label'     => 'label',
16
+		'sortby' => 'sorting',
17
+		'delete'	=> 'deleted',
18
+		'iconfile'	=> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfemail.png',
19
+		'rootLevel'	=> 0,
20
+		'dividers2tabs' => 2,
21
+		'searchFields' => 'label,name,mail',
22
+	),
23
+	'interface' => array (
24
+		'showRecordFieldList' => 'label,name,mail',
25
+	),
26
+	'feInterface' => array (
27
+		'fe_admin_fieldList' => '',
28
+	),
29
+	'columns' => array (
30
+		'label' => array (
31
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail',
32
+			'config' => array (
33
+				'type' => 'input',
34
+				'size' => 30,
35
+				'max' => 255,
36
+				'eval' => 'required',
37
+			),
38
+		),
39
+		'name' => array (
40
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name',
41
+			'config' => array (
42
+				'type' => 'input',
43
+				'size' => 30,
44
+				'max' => 255,
45
+				'eval' => '',
46
+			),
47
+		),
48
+		'mail' => array (
49
+			'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail',
50
+			'config' => array (
51
+				'type' => 'input',
52
+				'size' => 30,
53
+				'max' => 255,
54
+				'eval' => 'unique',
55
+			),
56
+		),
57
+	),
58
+	'types' => array (
59
+		'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'),
60
+	),
61
+	'palettes' => array (
62
+		'1' => array ('showitem' => ''),
63
+	),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 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_mail',
15 15
         'label'     => 'label',
16 16
         'sortby' => 'sorting',
@@ -20,34 +20,34 @@  discard block
 block discarded – undo
20 20
         'dividers2tabs' => 2,
21 21
         'searchFields' => 'label,name,mail',
22 22
     ),
23
-    'interface' => array (
23
+    'interface' => array(
24 24
         'showRecordFieldList' => 'label,name,mail',
25 25
     ),
26
-    'feInterface' => array (
26
+    'feInterface' => array(
27 27
         'fe_admin_fieldList' => '',
28 28
     ),
29
-    'columns' => array (
30
-        'label' => array (
29
+    'columns' => array(
30
+        'label' => array(
31 31
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail',
32
-            'config' => array (
32
+            'config' => array(
33 33
                 'type' => 'input',
34 34
                 'size' => 30,
35 35
                 'max' => 255,
36 36
                 'eval' => 'required',
37 37
             ),
38 38
         ),
39
-        'name' => array (
39
+        'name' => array(
40 40
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name',
41
-            'config' => array (
41
+            'config' => array(
42 42
                 'type' => 'input',
43 43
                 'size' => 30,
44 44
                 'max' => 255,
45 45
                 'eval' => '',
46 46
             ),
47 47
         ),
48
-        'mail' => array (
48
+        'mail' => array(
49 49
             'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail',
50
-            'config' => array (
50
+            'config' => array(
51 51
                 'type' => 'input',
52 52
                 'size' => 30,
53 53
                 'max' => 255,
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
             ),
56 56
         ),
57 57
     ),
58
-    'types' => array (
59
-        '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'),
58
+    'types' => array(
59
+        '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'),
60 60
     ),
61
-    'palettes' => array (
62
-        '1' => array ('showitem' => ''),
61
+    'palettes' => array(
62
+        '1' => array('showitem' => ''),
63 63
     ),
64 64
 );
65 65
\ No newline at end of file
Please login to merge, or discard this patch.