[!!!][TASK] TCA: Streamline field position in tabs
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / Configuration / TCA / Overrides / tt_content.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 //Extra fields for the tt_content table
5 $extraContentColumns = [
6 'header_position' => [
7 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position',
8 'exclude' => true,
9 'config' => [
10 'type' => 'select',
11 'renderType' => 'selectSingle',
12 'items' => [
13 [
14 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value',
15 ''
16 ],
17 [
18 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position.I.1',
19 'center'
20 ],
21 [
22 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position.I.2',
23 'right'
24 ],
25 [
26 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position.I.3',
27 'left'
28 ]
29 ],
30 'default' => ''
31 ]
32 ],
33 'image_compression' => [
34 'exclude' => true,
35 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression',
36 'config' => [
37 'type' => 'select',
38 'renderType' => 'selectSingle',
39 'items' => [
40 [
41 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value',
42 0
43 ],
44 [
45 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.1',
46 1
47 ],
48 [
49 'GIF/256',
50 10
51 ],
52 [
53 'GIF/128',
54 11
55 ],
56 [
57 'GIF/64',
58 12
59 ],
60 [
61 'GIF/32',
62 13
63 ],
64 [
65 'GIF/16',
66 14
67 ],
68 [
69 'GIF/8',
70 15
71 ],
72 [
73 'PNG',
74 39
75 ],
76 [
77 'PNG/256',
78 30
79 ],
80 [
81 'PNG/128',
82 31
83 ],
84 [
85 'PNG/64',
86 32
87 ],
88 [
89 'PNG/32',
90 33
91 ],
92 [
93 'PNG/16',
94 34
95 ],
96 [
97 'PNG/8',
98 35
99 ],
100 [
101 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.15',
102 21
103 ],
104 [
105 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.16',
106 22
107 ],
108 [
109 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.17',
110 24
111 ],
112 [
113 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.18',
114 26
115 ],
116 [
117 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression.I.19',
118 28
119 ]
120 ]
121 ]
122 ],
123 'image_effects' => [
124 'exclude' => true,
125 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects',
126 'config' => [
127 'type' => 'select',
128 'renderType' => 'selectSingle',
129 'items' => [
130 [
131 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.0',
132 0
133 ],
134 [
135 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.1',
136 1
137 ],
138 [
139 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.2',
140 2
141 ],
142 [
143 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.3',
144 3
145 ],
146 [
147 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.4',
148 10
149 ],
150 [
151 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.5',
152 11
153 ],
154 [
155 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.6',
156 20
157 ],
158 [
159 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.7',
160 23
161 ],
162 [
163 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.8',
164 25
165 ],
166 [
167 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects.I.9',
168 26
169 ]
170 ]
171 ]
172 ],
173 'image_noRows' => [
174 'exclude' => true,
175 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_noRows',
176 'config' => [
177 'type' => 'check',
178 'items' => [
179 '1' => [
180 '0' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_noRows.I.0'
181 ]
182 ]
183 ]
184 ],
185 'section_frame' => [
186 'exclude' => true,
187 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame',
188 'config' => [
189 'type' => 'select',
190 'renderType' => 'selectSingle',
191 'items' => [
192 [
193 '',
194 '0'
195 ],
196 [
197 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.1',
198 '1'
199 ],
200 [
201 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.2',
202 '5'
203 ],
204 [
205 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.3',
206 '6'
207 ],
208 [
209 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.4',
210 '10'
211 ],
212 [
213 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.5',
214 '11'
215 ],
216 [
217 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.6',
218 '12'
219 ],
220 [
221 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.7',
222 '20'
223 ],
224 [
225 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame.I.8',
226 '21'
227 ]
228 ],
229 'default' => 0
230 ]
231 ],
232 'spaceAfter' => [
233 'exclude' => true,
234 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceAfter',
235 'config' => [
236 'type' => 'input',
237 'size' => 5,
238 'max' => 5,
239 'eval' => 'int',
240 'range' => [
241 'lower' => 0
242 ],
243 'default' => 0
244 ]
245 ],
246 'spaceBefore' => [
247 'exclude' => true,
248 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceBefore',
249 'config' => [
250 'type' => 'input',
251 'size' => 5,
252 'max' => 5,
253 'eval' => 'int',
254 'range' => [
255 'lower' => 0
256 ],
257 'default' => 0
258 ]
259 ],
260 'table_bgColor' => [
261 'exclude' => true,
262 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor',
263 'config' => [
264 'type' => 'select',
265 'renderType' => 'selectSingle',
266 'items' => [
267 [
268 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value',
269 '0'
270 ],
271 [
272 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.1',
273 '1'
274 ],
275 [
276 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.2',
277 '2'
278 ],
279 [
280 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.3',
281 '200'
282 ],
283 [
284 '-----',
285 '--div--'
286 ],
287 [
288 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.5',
289 '240'
290 ],
291 [
292 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.6',
293 '241'
294 ],
295 [
296 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.7',
297 '242'
298 ],
299 [
300 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.8',
301 '243'
302 ],
303 [
304 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor.I.9',
305 '244'
306 ]
307 ],
308 'default' => 0
309 ]
310 ],
311 'table_border' => [
312 'exclude' => true,
313 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_border',
314 'config' => [
315 'type' => 'input',
316 'size' => 3,
317 'max' => 3,
318 'eval' => 'int',
319 'range' => [
320 'upper' => 20,
321 'lower' => 0
322 ],
323 'default' => 0
324 ]
325 ],
326 'table_cellpadding' => [
327 'exclude' => true,
328 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_cellpadding',
329 'config' => [
330 'type' => 'input',
331 'size' => 3,
332 'max' => 3,
333 'eval' => 'int',
334 'range' => [
335 'upper' => '200',
336 'lower' => 0
337 ],
338 'default' => 0
339 ]
340 ],
341 'table_cellspacing' => [
342 'exclude' => true,
343 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_cellspacing',
344 'config' => [
345 'type' => 'input',
346 'size' => 3,
347 'max' => 3,
348 'eval' => 'int',
349 'range' => [
350 'upper' => '200',
351 'lower' => 0
352 ],
353 'default' => 0
354 ]
355 ]
356 ];
357
358 // Adding fields to the tt_content table definition in TCA
359 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $extraContentColumns);
360
361 // Add flexform
362 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/Configuration/FlexForms/table.xml', 'table');
363
364 // Add content elements
365 $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes'] = array_merge(
366 $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes'],
367 [
368 'textpic' => 'mimetypes-x-content-text-picture',
369 'image' => 'mimetypes-x-content-image',
370 'text' => 'mimetypes-x-content-text'
371 ]
372 );
373 array_splice(
374 $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'],
375 2,
376 0,
377 [
378 [
379 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.1',
380 'text',
381 'content-text'
382 ],
383 [
384 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.2',
385 'textpic',
386 'content-textpic'
387 ],
388 [
389 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.3',
390 'image',
391 'content-image'
392 ]
393 ]
394 );
395 $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['default'] = 'text';
396
397 // Add palettes
398 $GLOBALS['TCA']['tt_content']['palettes'] = array_replace(
399 $GLOBALS['TCA']['tt_content']['palettes'],
400 [
401 'header' => [
402 'showitem' => '
403 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_formlabel,
404 --linebreak--,
405 header_layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout_formlabel,
406 header_position;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position_formlabel,
407 date;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date_formlabel,
408 --linebreak--,
409 header_link;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel
410 ',
411 ],
412 'headers' => [
413 'showitem' => '
414 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_formlabel,
415 --linebreak--,
416 header_layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout_formlabel,
417 header_position;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_position_formlabel,
418 date;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date_formlabel,
419 --linebreak--,
420 header_link;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel,
421 --linebreak--,
422 subheader;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:subheader_formlabel
423 ',
424 ],
425 'imageblock' => [
426 'showitem' => '
427 imageorient;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient_formlabel,
428 imagecols;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imagecols_formlabel,
429 --linebreak--,
430 image_noRows;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_noRows_formlabel,
431 imagecaption_position;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imagecaption_position_formlabel
432 ',
433 ],
434 'tablelayout' => [
435 'showitem' => '
436 table_bgColor;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_bgColor_formlabel,
437 table_border;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_border_formlabel,
438 table_cellspacing;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_cellspacing_formlabel,
439 table_cellpadding;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:table_cellpadding_formlabel
440 ',
441 ],
442 'visibility' => [
443 'showitem' => '
444 hidden;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:hidden_formlabel,
445 sectionIndex;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:sectionIndex_formlabel,
446 linkToTop;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:linkToTop_formlabel
447 ',
448 ],
449 'frames' => [
450 'showitem' => '
451 layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:layout_formlabel,
452 spaceBefore;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceBefore_formlabel,
453 spaceAfter;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:spaceAfter_formlabel,
454 section_frame;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:section_frame_formlabel
455 ',
456 ]
457 ]
458 );
459
460 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette(
461 'tt_content',
462 'image_settings',
463 'imagewidth;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imagewidth_formlabel,
464 imageheight;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageheight_formlabel,
465 imageborder;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageborder_formlabel,
466 --linebreak--,
467 image_compression;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_compression_formlabel,
468 image_effects;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_effects_formlabel,'
469 );
470
471 // Field arrangement for CE "header"
472 $GLOBALS['TCA']['tt_content']['types']['header']['showitem'] = '
473 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
474 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
475 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.headers;headers,
476 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
477 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
478 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
479 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
480 --palette--;;language,
481 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
482 --palette--;;hidden,
483 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
484 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
485 categories,
486 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
487 rowDescription,
488 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
489 ';
490
491 // Field arrangement for CE "text"
492 $GLOBALS['TCA']['tt_content']['types']['text']['showitem'] = '
493 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
494 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
495 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
496 bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext_formlabel,
497 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
498 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
499 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
500 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
501 --palette--;;language,
502 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
503 --palette--;;hidden,
504 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
505 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
506 categories,
507 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
508 rowDescription,
509 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
510 ';
511 if (!is_array($GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides'])) {
512 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides'] = [];
513 }
514 if (!is_array($GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext'])) {
515 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext'] = [];
516 }
517 $baseDefaultExtrasOfBodytext = '';
518 if (!empty($GLOBALS['TCA']['tt_content']['columns']['bodytext']['defaultExtras'])) {
519 $baseDefaultExtrasOfBodytext = $GLOBALS['TCA']['tt_content']['columns']['bodytext']['defaultExtras'] . ':';
520 }
521 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'richtext:rte_transform';
522
523 // Field arrangement for CE "textpic"
524 $GLOBALS['TCA']['tt_content']['types']['textpic']['showitem'] = '
525 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
526 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
527 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
528 bodytext;Text,
529 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.images,
530 image,
531 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imagelinks;imagelinks,
532 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
533 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
534 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.image_settings;image_settings,
535 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imageblock;imageblock,
536 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
537 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
538 --palette--;;language,
539 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
540 --palette--;;hidden,
541 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
542 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
543 categories,
544 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
545 rowDescription,
546 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
547 ';
548 if (!is_array($GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides'])) {
549 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides'] = [];
550 }
551 if (!is_array($GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext'])) {
552 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext'] = [];
553 }
554 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'richtext:rte_transform';
555
556 // Field arrangement for CE "image"
557 $GLOBALS['TCA']['tt_content']['types']['image']['showitem'] = '
558 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
559 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
560 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
561 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.images,
562 image,
563 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imagelinks;imagelinks,
564 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
565 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
566 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.image_settings;image_settings,
567 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imageblock;imageblock,
568 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
569 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
570 --palette--;;language,
571 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
572 --palette--;;hidden,
573 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
574 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
575 categories,
576 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
577 rowDescription,
578 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
579 ';
580
581 // Field arrangement for CE "bullets"
582 $GLOBALS['TCA']['tt_content']['types']['bullets']['showitem'] = '
583 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
584 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
585 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
586 bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.bulletlist_formlabel,
587 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
588 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
589 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
590 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
591 --palette--;;language,
592 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
593 --palette--;;hidden,
594 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
595 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
596 categories,
597 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
598 rowDescription,
599 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
600 ';
601 if (!is_array($GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides'])) {
602 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides'] = [];
603 }
604 if (!is_array($GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext'])) {
605 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext'] = [];
606 }
607 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'nowrap';
608
609 // Field arrangement for CE "table"
610 $GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = '
611 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
612 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
613 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
614 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.5,
615 cols,bodytext,pi_flexform,
616 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
617 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
618 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.table_layout;tablelayout,
619 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
620 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
621 --palette--;;language,
622 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
623 --palette--;;hidden,
624 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
625 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
626 categories,
627 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
628 rowDescription,
629 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
630 ';
631 if (!is_array($GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides'])) {
632 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides'] = [];
633 }
634 if (!is_array($GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext'])) {
635 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext'] = [];
636 }
637 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext']['defaultExtras'] = $baseDefaultExtrasOfBodytext . 'nowrap:wizards[table]';
638
639 // Field arrangement for CE "uploads"
640 $GLOBALS['TCA']['tt_content']['types']['uploads']['showitem'] = '
641 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
642 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
643 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
644 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media;uploads,
645 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
646 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
647 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.uploads_layout;uploadslayout,
648 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
649 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
650 --palette--;;language,
651 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
652 --palette--;;hidden,
653 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
654 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
655 categories,
656 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
657 rowDescription,
658 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
659 ';
660
661 // Field arrangement for CE "menu"
662 $GLOBALS['TCA']['tt_content']['types']['menu']['showitem'] = '
663 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
664 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
665 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
666 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.menu;menu,
667 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.menu_accessibility;menu_accessibility,
668 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
669 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
670 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
671 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
672 --palette--;;language,
673 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
674 --palette--;;hidden,
675 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
676 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
677 categories,
678 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
679 rowDescription,
680 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
681 ';
682
683 // Field arrangement for CE "shortcut"
684 $GLOBALS['TCA']['tt_content']['types']['shortcut']['showitem'] = '
685 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
686 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
687 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.shortcut_formlabel,
688 records;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:records_formlabel,
689 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
690 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
691 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
692 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
693 --palette--;;language,
694 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
695 --palette--;;hidden,
696 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
697 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
698 categories,
699 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
700 rowDescription,
701 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
702 ';
703
704 // Field arrangement for CE "list"
705 $GLOBALS['TCA']['tt_content']['types']['list']['showitem'] = '
706 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
707 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
708 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
709 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.plugin,
710 list_type;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:list_type_formlabel,
711 select_key;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:select_key_formlabel,
712 pages;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:pages.ALT.list_formlabel,
713 recursive,
714 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
715 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
716 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
717 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
718 --palette--;;language,
719 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
720 --palette--;;hidden,
721 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
722 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
723 categories,
724 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
725 rowDescription,
726 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
727 ';
728
729 // Field arrangement for CE "div"
730 $GLOBALS['TCA']['tt_content']['types']['div']['showitem'] = '
731 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
732 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
733 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.div_formlabel,
734 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
735 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
736 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
737 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
738 --palette--;;language,
739 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
740 --palette--;;hidden,
741 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
742 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
743 categories,
744 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
745 rowDescription,
746 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
747 ';
748
749 // Field arrangement for CE "html"
750 $GLOBALS['TCA']['tt_content']['types']['html']['showitem'] = '
751 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
752 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
753 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.html_formlabel,
754 bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.html_formlabel,
755 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
756 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
757 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
758 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
759 --palette--;;language,
760 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
761 --palette--;;hidden,
762 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
763 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
764 categories,
765 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
766 rowDescription,
767 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
768 ';
769
770 $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][0] = [
771 'LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.0', '0'
772 ];
773
774 $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][9] = [
775 'LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.9', '66'
776 ];