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