Passed
Branch oai_solr_new_directory_structu... (24cd44)
by Erik
04:51
created
Configuration/TCA/tx_dlf_collections.php 1 patch
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.
Configuration/TCA/tx_dlf_structures.php 1 patch
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.
Configuration/TCA/tx_dlf_libraries.php 1 patch
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.
Configuration/TCA/tx_dlf_actionlog.php 1 patch
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.
Configuration/TCA/tx_dlf_formats.php 1 patch
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.
Configuration/TCA/tx_dlf_documents.php 1 patch
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.
Configuration/TCA/tx_dlf_metadata.php 1 patch
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.
Configuration/TCA/tx_dlf_solrcores.php 1 patch
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.
Configuration/TCA/tx_dlf_mail.php 1 patch
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.