6f15b7bcfc9fd99f7f882cc5c2f4922418ccff17
[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
512 if (!isset($GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['config'])
513 || !is_array($GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['config'])
514 ) {
515 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['config'] = [];
516 }
517 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['config']['enableRichtext'] = true;
518 $GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides']['bodytext']['config']['richtextConfiguration'] = 'default';
519
520 // Field arrangement for CE "textpic"
521 $GLOBALS['TCA']['tt_content']['types']['textpic']['showitem'] = '
522 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
523 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
524 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
525 bodytext;Text,
526 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.images,
527 image,
528 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imagelinks;imagelinks,
529 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
530 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
531 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.image_settings;image_settings,
532 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imageblock;imageblock,
533 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
534 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
535 --palette--;;language,
536 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
537 --palette--;;hidden,
538 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
539 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
540 categories,
541 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
542 rowDescription,
543 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
544 ';
545
546 if (!isset($GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['config'])
547 || !is_array($GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['config'])
548 ) {
549 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['config'] = [];
550 }
551 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['config']['enableRichtext'] = true;
552 $GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['bodytext']['config']['richtextConfiguration'] = 'default';
553
554 // Field arrangement for CE "image"
555 $GLOBALS['TCA']['tt_content']['types']['image']['showitem'] = '
556 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
557 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
558 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
559 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.images,
560 image,
561 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imagelinks;imagelinks,
562 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
563 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
564 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.image_settings;image_settings,
565 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.imageblock;imageblock,
566 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
567 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
568 --palette--;;language,
569 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
570 --palette--;;hidden,
571 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
572 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
573 categories,
574 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
575 rowDescription,
576 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
577 ';
578
579 // Field arrangement for CE "bullets"
580 $GLOBALS['TCA']['tt_content']['types']['bullets']['showitem'] = '
581 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
582 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
583 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
584 bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.bulletlist_formlabel,
585 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
586 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
587 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
588 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
589 --palette--;;language,
590 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
591 --palette--;;hidden,
592 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
593 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
594 categories,
595 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
596 rowDescription,
597 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
598 ';
599 if (!is_array($GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides'])) {
600 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides'] = [];
601 }
602 if (!is_array($GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext'])) {
603 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext'] = [];
604 }
605 $GLOBALS['TCA']['tt_content']['types']['bullets']['columnsOverrides']['bodytext']['config']['wrap'] = 'off';
606
607 // Field arrangement for CE "table"
608 $GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = '
609 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
610 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
611 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
612 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.5,
613 cols,bodytext,pi_flexform,
614 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
615 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
616 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.table_layout;tablelayout,
617 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
618 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
619 --palette--;;language,
620 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
621 --palette--;;hidden,
622 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
623 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
624 categories,
625 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
626 rowDescription,
627 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
628 ';
629 if (!is_array($GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides'])) {
630 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides'] = [];
631 }
632 if (!is_array($GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext'])) {
633 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext'] = [];
634 }
635 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext']['config']['renderType'] = 'textTable';
636 $GLOBALS['TCA']['tt_content']['types']['table']['columnsOverrides']['bodytext']['config']['wrap'] = 'off';
637
638 // Field arrangement for CE "uploads"
639 $GLOBALS['TCA']['tt_content']['types']['uploads']['showitem'] = '
640 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
641 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
642 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
643 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media;uploads,
644 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
645 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
646 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.uploads_layout;uploadslayout,
647 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
648 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
649 --palette--;;language,
650 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
651 --palette--;;hidden,
652 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
653 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
654 categories,
655 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
656 rowDescription,
657 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
658 ';
659
660 // Field arrangement for CE "menu"
661 $GLOBALS['TCA']['tt_content']['types']['menu']['showitem'] = '
662 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
663 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
664 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
665 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.menu;menu,
666 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.menu_accessibility;menu_accessibility,
667 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
668 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
669 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
670 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
671 --palette--;;language,
672 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
673 --palette--;;hidden,
674 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
675 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
676 categories,
677 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
678 rowDescription,
679 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
680 ';
681
682 // Field arrangement for CE "shortcut"
683 $GLOBALS['TCA']['tt_content']['types']['shortcut']['showitem'] = '
684 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
685 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
686 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.shortcut_formlabel,
687 records;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:records_formlabel,
688 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
689 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
690 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
691 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
692 --palette--;;language,
693 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
694 --palette--;;hidden,
695 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
696 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
697 categories,
698 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
699 rowDescription,
700 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
701 ';
702
703 // Field arrangement for CE "list"
704 $GLOBALS['TCA']['tt_content']['types']['list']['showitem'] = '
705 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
706 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
707 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.header;header,
708 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.plugin,
709 list_type;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:list_type_formlabel,
710 pages;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:pages.ALT.list_formlabel,
711 recursive,
712 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
713 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
714 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
715 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
716 --palette--;;language,
717 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
718 --palette--;;hidden,
719 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
720 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
721 categories,
722 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
723 rowDescription,
724 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
725 ';
726
727 // Field arrangement for CE "div"
728 $GLOBALS['TCA']['tt_content']['types']['div']['showitem'] = '
729 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
730 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
731 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.div_formlabel,
732 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
733 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
734 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
735 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
736 --palette--;;language,
737 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
738 --palette--;;hidden,
739 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
740 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
741 categories,
742 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
743 rowDescription,
744 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
745 ';
746
747 // Field arrangement for CE "html"
748 $GLOBALS['TCA']['tt_content']['types']['html']['showitem'] = '
749 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
750 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.general;general,
751 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header.ALT.html_formlabel,
752 bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.ALT.html_formlabel,
753 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance,
754 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,
755 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.appearanceLinks;appearanceLinks,
756 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
757 --palette--;;language,
758 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
759 --palette--;;hidden,
760 --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.access;access,
761 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories,
762 categories,
763 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
764 rowDescription,
765 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
766 ';
767
768 $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][0] = [
769 'LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.0', '0'
770 ];
771
772 $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][9] = [
773 'LLL:EXT:css_styled_content/Resources/Private/Language/locallang_db.xlf:tt_content.tx_cssstyledcontent_section_frame.I.9', '66'
774 ];