Fixed bug #12613: Wrong character encoding in cache tables breaks frontend rendering
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tbl_tt_content.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2009 Kasper Skaarhoj (kasperYYYY@typo3.com)
6 * All rights reserved
7 *
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 * A copy is found in the textfile GPL.txt and important notices to the license
17 * from the author is found in LICENSE.txt distributed with these scripts.
18 *
19 *
20 * This script is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * This copyright notice MUST APPEAR in all copies of the script!
26 ***************************************************************/
27 /**
28 * Dynamic configuation of the tt_content table
29 * This gets it's own file because it's so huge and central to typical TYPO3 use.
30 *
31 * $Id$
32 *
33 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
34 */
35
36
37
38 $TCA['tt_content'] = Array (
39 'ctrl' => $TCA['tt_content']['ctrl'],
40 'interface' => Array (
41 'always_description' => 0,
42 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'
43 ),
44 'columns' => Array (
45 'CType' => Array (
46 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
47 'config' => Array (
48 'type' => 'select',
49 'items' => Array (
50 array('LLL:EXT:cms/locallang_ttc.xml:CType.div.standard', '--div--'),
51 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.0', 'header', 'i/tt_content_header.gif'),
52 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.1', 'text', 'i/tt_content.gif'),
53 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.2', 'textpic', 'i/tt_content_textpic.gif'),
54 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.3', 'image', 'i/tt_content_image.gif'),
55 array('LLL:EXT:cms/locallang_ttc.xml:CType.div.lists', '--div--'),
56 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.4', 'bullets', 'i/tt_content_bullets.gif'),
57 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.5', 'table', 'i/tt_content_table.gif'),
58 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.6', 'uploads', 'i/tt_content_uploads.gif'),
59 array('LLL:EXT:cms/locallang_ttc.xml:CType.div.forms', '--div--'),
60 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.8', 'mailform', 'i/tt_content_form.gif'),
61 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.9', 'search', 'i/tt_content_search.gif'),
62 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.10', 'login', 'i/tt_content_login.gif'),
63 array('LLL:EXT:cms/locallang_ttc.xml:CType.div.special', '--div--'),
64 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.7', 'multimedia', 'i/tt_content_mm.gif'),
65 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.18', 'media', 'i/tt_content_mm.gif'),
66 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.11', 'splash', 'i/tt_content_news.gif'),
67 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.12', 'menu', 'i/tt_content_menu.gif'),
68 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.13', 'shortcut', 'i/tt_content_shortcut.gif'),
69 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.14', 'list', 'i/tt_content_list.gif'),
70 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.15', 'script', 'i/tt_content_script.gif'),
71 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.16', 'div', 'i/tt_content_div.gif'),
72 array('LLL:EXT:cms/locallang_ttc.xml:CType.I.17', 'html', 'i/tt_content_html.gif')
73 ),
74 'default' => 'text',
75 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
76 'authMode_enforce' => 'strict',
77 'iconsInOptionTags' => 1,
78 'noIconsBelowSelect' => 1,
79 )
80 ),
81 'hidden' => Array (
82 'exclude' => 1,
83 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
84 'config' => Array (
85 'type' => 'check'
86 )
87 ),
88 'starttime' => Array (
89 'exclude' => 1,
90 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
91 'config' => Array (
92 'type' => 'input',
93 'size' => '8',
94 'max' => '20',
95 'eval' => 'date',
96 'checkbox' => '0',
97 'default' => '0'
98 )
99 ),
100 'endtime' => Array (
101 'exclude' => 1,
102 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
103 'config' => Array (
104 'type' => 'input',
105 'size' => '8',
106 'max' => '20',
107 'eval' => 'date',
108 'checkbox' => '0',
109 'default' => '0',
110 'range' => Array (
111 'upper' => mktime(0,0,0,12,31,2020),
112 )
113 )
114 ),
115 'fe_group' => Array (
116 'exclude' => 1,
117 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
118 'config' => Array (
119 'type' => 'select',
120 'size' => 5,
121 'maxitems' => 20,
122 'items' => Array (
123 Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
124 Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
125 Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
126 ),
127 'exclusiveKeys' => '-1,-2',
128 'foreign_table' => 'fe_groups',
129 'foreign_table_where' => 'ORDER BY fe_groups.title',
130 )
131 ),
132 'sys_language_uid' => Array (
133 'exclude' => 1,
134 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
135 'config' => Array (
136 'type' => 'select',
137 'foreign_table' => 'sys_language',
138 'foreign_table_where' => 'ORDER BY sys_language.title',
139 'items' => Array(
140 Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
141 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
142 )
143 )
144 ),
145 'l18n_parent' => Array (
146 'displayCond' => 'FIELD:sys_language_uid:>:0',
147 'exclude' => 1,
148 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent',
149 'config' => Array (
150 'type' => 'select',
151 'items' => Array (
152 Array('', 0),
153 ),
154 'foreign_table' => 'tt_content',
155 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)',
156 )
157 ),
158 'layout' => Array (
159 'exclude' => 1,
160 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
161 'config' => Array (
162 'type' => 'select',
163 'items' => Array (
164 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
165 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.1', '1'),
166 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.2', '2'),
167 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.3', '3')
168 ),
169 'default' => '0'
170 )
171 ),
172 'colPos' => Array (
173 'exclude' => 1,
174 'label' => 'LLL:EXT:cms/locallang_ttc.php:colPos',
175 'config' => Array (
176 'type' => 'select',
177 'items' => Array (
178 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.0', '1'),
179 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
180 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.2', '2'),
181 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.3', '3')
182 ),
183 'default' => '0'
184 )
185 ),
186 'date' => Array (
187 'exclude' => 1,
188 'label' => 'LLL:EXT:cms/locallang_ttc.php:date',
189 'config' => Array (
190 'type' => 'input',
191 'size' => '8',
192 'max' => '20',
193 'eval' => 'date',
194 'checkbox' => '0',
195 'default' => '0'
196 )
197 ),
198 'header' => Array (
199 'l10n_mode' => 'prefixLangTitle',
200 'l10n_cat' => 'text',
201 'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
202 'config' => Array (
203 'type' => 'input',
204 'max' => '256'
205 )
206 ),
207 'header_position' => Array (
208 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
209 'exclude' => 1,
210 'config' => Array (
211 'type' => 'select',
212 'items' => Array (
213 Array('', ''),
214 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
215 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
216 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
217 ),
218 'default' => ''
219 )
220 ),
221 'header_link' => Array (
222 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_link',
223 'exclude' => 1,
224 'config' => Array (
225 'type' => 'input',
226 'size' => '15',
227 'max' => '256',
228 'checkbox' => '',
229 'eval' => 'trim',
230 'wizards' => Array(
231 '_PADDING' => 2,
232 'link' => Array(
233 'type' => 'popup',
234 'title' => 'Link',
235 'icon' => 'link_popup.gif',
236 'script' => 'browse_links.php?mode=wizard',
237 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
238 )
239 ),
240 'softref' => 'typolink'
241 )
242 ),
243 'header_layout' => Array (
244 'exclude' => 1,
245 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
246 'config' => Array (
247 'type' => 'select',
248 'items' => Array (
249 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
250 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.1', '1'),
251 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.2', '2'),
252 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.3', '3'),
253 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.4', '4'),
254 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.5', '5'),
255 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.6', '100')
256 ),
257 'default' => '0'
258 )
259 ),
260 'subheader' => Array (
261 'exclude' => 1,
262 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
263 'config' => Array (
264 'type' => 'input',
265 'size' => '30',
266 'max' => '256',
267 'softref' => 'email[subst]'
268 )
269 ),
270 'bodytext' => Array (
271 'l10n_mode' => 'prefixLangTitle',
272 'l10n_cat' => 'text',
273 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
274 'config' => Array (
275 'type' => 'text',
276 'cols' => '48',
277 'rows' => '5',
278 'wizards' => Array(
279 '_PADDING' => 4,
280 '_VALIGN' => 'middle',
281 'RTE' => Array(
282 'notNewRecords' => 1,
283 'RTEonly' => 1,
284 'type' => 'script',
285 'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
286 'icon' => 'wizard_rte2.gif',
287 'script' => 'wizard_rte.php',
288 ),
289 'table' => Array(
290 'notNewRecords' => 1,
291 'enableByTypeConfig' => 1,
292 'type' => 'script',
293 'title' => 'Table wizard',
294 'icon' => 'wizard_table.gif',
295 'script' => 'wizard_table.php',
296 'params' => array('xmlOutput' => 0)
297 ),
298 'forms' => Array(
299 'notNewRecords' => 1,
300 'enableByTypeConfig' => 1,
301 'type' => 'script',
302 # 'hideParent' => array('rows' => 4),
303 'title' => 'Forms wizard',
304 'icon' => 'wizard_forms.gif',
305 'script' => 'wizard_forms.php?special=formtype_mail',
306 'params' => array('xmlOutput' => 0)
307 )
308 ),
309 'softref' => 'typolink_tag,images,email[subst],url'
310 )
311 ),
312 'text_align' => Array (
313 'exclude' => 1,
314 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
315 'config' => Array (
316 'type' => 'select',
317 'items' => Array (
318 Array('', ''),
319 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.1', 'center'),
320 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.2', 'right'),
321 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.3', 'left')
322 ),
323 'default' => ''
324 )
325 ),
326 'text_face' => Array (
327 'exclude' => 1,
328 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_face',
329 'config' => Array (
330 'type' => 'select',
331 'items' => Array (
332 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
333 Array('Times', '1'),
334 Array('Verdana', '2'),
335 Array('Arial', '3')
336 ),
337 'default' => '0'
338 )
339 ),
340 'text_size' => Array (
341 'exclude' => 1,
342 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_size',
343 'config' => Array (
344 'type' => 'select',
345 'items' => Array (
346 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
347 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.1', '1'),
348 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.2', '2'),
349 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.3', '3'),
350 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.4', '4'),
351 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.5', '5'),
352 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.6', '10'),
353 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.7', '11')
354 ),
355 'default' => '0'
356 )
357 ),
358 'text_color' => Array (
359 'exclude' => 1,
360 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_color',
361 'config' => Array (
362 'type' => 'select',
363 'items' => Array (
364 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
365 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.1', '1'),
366 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.2', '2'),
367 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.3', '200'),
368 Array('-----','--div--'),
369 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.5', '240'),
370 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.6', '241'),
371 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.7', '242'),
372 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.8', '243'),
373 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.9', '244'),
374 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.10', '245'),
375 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.11', '246'),
376 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.12', '247'),
377 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.13', '248'),
378 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.14', '249'),
379 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.15', '250')
380 ),
381 'default' => '0'
382 )
383 ),
384 'text_properties' => Array (
385 'exclude' => 1,
386 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_properties',
387 'config' => Array (
388 'type' => 'check',
389 'items' => Array (
390 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.0', ''),
391 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.1', ''),
392 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.2', ''),
393 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.3', '')
394 ),
395 'cols' => 4
396 )
397 ),
398 'image' => Array (
399 # 'l10n_mode' => 'mergeIfNotBlank',
400 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
401 'config' => Array (
402 'type' => 'group',
403 'internal_type' => 'file',
404 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
405 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
406 'uploadfolder' => 'uploads/pics',
407 'show_thumbs' => '1',
408 'size' => '3',
409 'maxitems' => '200',
410 'minitems' => '0',
411 'autoSizeMax' => 40,
412 )
413 ),
414 'imagewidth' => Array (
415 'exclude' => 1,
416 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
417 'config' => Array (
418 'type' => 'input',
419 'size' => '4',
420 'max' => '4',
421 'eval' => 'int',
422 'checkbox' => '0',
423 'range' => Array (
424 'upper' => '999',
425 'lower' => '25'
426 ),
427 'default' => 0
428 )
429 ),
430 'imageheight' => Array (
431 'exclude' => 1,
432 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
433 'config' => Array (
434 'type' => 'input',
435 'size' => '4',
436 'max' => '4',
437 'eval' => 'int',
438 'checkbox' => '0',
439 'range' => Array (
440 'upper' => '700',
441 'lower' => '25'
442 ),
443 'default' => 0
444 )
445 ),
446 'imageorient' => Array (
447 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageorient',
448 'config' => Array (
449 'type' => 'select',
450 'items' => Array (
451 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.0', 0, 'selicons/above_center.gif'),
452 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.1', 1, 'selicons/above_right.gif'),
453 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.2', 2, 'selicons/above_left.gif'),
454 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.3', 8, 'selicons/below_center.gif'),
455 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.4', 9, 'selicons/below_right.gif'),
456 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.5', 10, 'selicons/below_left.gif'),
457 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.6', 17, 'selicons/intext_right.gif'),
458 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.7', 18, 'selicons/intext_left.gif'),
459 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.8', '--div--'),
460 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.9', 25, 'selicons/intext_right_nowrap.gif'),
461 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.10', 26, 'selicons/intext_left_nowrap.gif')
462 ),
463 'selicon_cols' => 6,
464 'default' => '0',
465 'iconsInOptionTags' => 1,
466 )
467 ),
468 'imageborder' => Array (
469 'exclude' => 1,
470 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageborder',
471 'config' => Array (
472 'type' => 'check'
473 )
474 ),
475 'image_noRows' => Array (
476 'exclude' => 1,
477 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_noRows',
478 'config' => Array (
479 'type' => 'check'
480 )
481 ),
482 'image_link' => Array (
483 'exclude' => 1,
484 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_link',
485 'config' => Array (
486 'type' => 'input',
487 'size' => '15',
488 'max' => '256',
489 'checkbox' => '',
490 'eval' => 'trim',
491 'wizards' => Array(
492 '_PADDING' => 2,
493 'link' => Array(
494 'type' => 'popup',
495 'title' => 'Link',
496 'icon' => 'link_popup.gif',
497 'script' => 'browse_links.php?mode=wizard',
498 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
499 )
500 ),
501 'softref' => 'typolink[linkList]'
502 )
503 ),
504 'image_zoom' => Array (
505 'exclude' => 1,
506 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_zoom',
507 'config' => Array (
508 'type' => 'check'
509 )
510 ),
511 'image_effects' => Array (
512 'exclude' => 1,
513 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_effects',
514 'config' => Array (
515 'type' => 'select',
516 'items' => Array (
517 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.0', 0),
518 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.1', 1),
519 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.2', 2),
520 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.3', 3),
521 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.4', 10),
522 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.5', 11),
523 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.6', 20),
524 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.7', 23),
525 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.8', 25),
526 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.9', 26)
527 )
528 )
529 ),
530 'image_frames' => Array (
531 'exclude' => 1,
532 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_frames',
533 'config' => Array (
534 'type' => 'select',
535 'items' => Array (
536 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.0', 0),
537 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.1', 1),
538 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.2', 2),
539 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.3', 3),
540 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.4', 4),
541 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.5', 5),
542 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.6', 6),
543 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.7', 7),
544 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.8', 8)
545 )
546 )
547 ),
548 'image_compression' => Array (
549 'exclude' => 1,
550 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_compression',
551 'config' => Array (
552 'type' => 'select',
553 'items' => Array (
554 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
555 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.1', 1),
556 Array('GIF/256', 10),
557 Array('GIF/128', 11),
558 Array('GIF/64', 12),
559 Array('GIF/32', 13),
560 Array('GIF/16', 14),
561 Array('GIF/8', 15),
562 Array('PNG', 39),
563 Array('PNG/256', 30),
564 Array('PNG/128', 31),
565 Array('PNG/64', 32),
566 Array('PNG/32', 33),
567 Array('PNG/16', 34),
568 Array('PNG/8', 35),
569 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.15', 21),
570 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.16', 22),
571 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.17', 24),
572 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.18', 26),
573 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.19', 28)
574 )
575 )
576 ),
577 'imagecols' => Array (
578 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecols',
579 'config' => Array (
580 'type' => 'select',
581 'items' => Array (
582 Array('1', 1),
583 Array('2', 2),
584 Array('3', 3),
585 Array('4', 4),
586 Array('5', 5),
587 Array('6', 6),
588 Array('7', 7),
589 Array('8', 8)
590 ),
591 'default' => 1
592 )
593 ),
594 'imagecaption' => Array (
595 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.caption',
596 'config' => Array (
597 'type' => 'text',
598 'cols' => '30',
599 'rows' => '3',
600 'softref' => 'typolink_tag,images,email[subst],url'
601 )
602 ),
603 'imagecaption_position' => Array (
604 'exclude' => 1,
605 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
606 'config' => Array (
607 'type' => 'select',
608 'items' => Array (
609 Array('', ''),
610 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.1', 'center'),
611 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.2', 'right'),
612 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.3', 'left')
613 ),
614 'default' => ''
615 )
616 ),
617 'altText' => Array (
618 'exclude' => 1,
619 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_altText',
620 'config' => Array (
621 'type' => 'text',
622 'cols' => '30',
623 'rows' => '3'
624 )
625 ),
626 'titleText' => Array (
627 'exclude' => 1,
628 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_titleText',
629 'config' => Array (
630 'type' => 'text',
631 'cols' => '30',
632 'rows' => '3'
633 )
634 ),
635 'longdescURL' => Array (
636 'exclude' => 1,
637 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_longdescURL',
638 'config' => Array (
639 'type' => 'text',
640 'cols' => '30',
641 'rows' => '3'
642 )
643 ),
644 'cols' => Array (
645 'label' => 'LLL:EXT:cms/locallang_ttc.php:cols',
646 'config' => Array (
647 'type' => 'select',
648 'items' => Array (
649 Array('LLL:EXT:cms/locallang_ttc.php:cols.I.0', '0'),
650 Array('1', '1'),
651 Array('2', '2'),
652 Array('3', '3'),
653 Array('4', '4'),
654 Array('5', '5'),
655 Array('6', '6'),
656 Array('7', '7'),
657 Array('8', '8'),
658 Array('9', '9')
659 ),
660 'default' => '0'
661 )
662 ),
663 'pages' => Array (
664 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.startingpoint',
665 'config' => Array (
666 'type' => 'group',
667 'internal_type' => 'db',
668 'allowed' => 'pages',
669 'size' => '3',
670 'maxitems' => '22',
671 'minitems' => '0',
672 'show_thumbs' => '1',
673 'wizards' => array(
674 'suggest' => array(
675 'type' => 'suggest',
676 ),
677 ),
678 ),
679 ),
680 'recursive' => Array (
681 'exclude' => 1,
682 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.recursive',
683 'config' => Array (
684 'type' => 'select',
685 'items' => Array (
686 Array('', '0'),
687 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.1', '1'),
688 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.2', '2'),
689 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.3', '3'),
690 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.4', '4'),
691 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.5', '250')
692 ),
693 'default' => '0'
694 )
695 ),
696 'menu_type' => Array (
697 'label' => 'LLL:EXT:cms/locallang_ttc.php:menu_type',
698 'config' => Array (
699 'type' => 'select',
700 'items' => Array (
701 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.0', '0'),
702 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.1', '1'),
703 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.2', '4'),
704 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.3', '7'),
705 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.4', '2'),
706 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.5', '3'),
707 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.6', '5'),
708 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.7', '6')
709 ),
710 'default' => '0'
711 )
712 ),
713 'list_type' => Array (
714 'label' => 'LLL:EXT:cms/locallang_ttc.php:list_type',
715 'config' => Array (
716 'type' => 'select',
717 'items' => Array (
718 Array('', '', '')
719 ),
720 'default' => '',
721 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
722 'iconsInOptionTags' => 1,
723 'noIconsBelowSelect' => 1,
724 )
725 ),
726 'select_key' => Array (
727 'exclude' => 1,
728 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
729 'config' => Array (
730 'type' => 'input',
731 'size' => '20',
732 'max' => '80',
733 'eval' => 'trim'
734 )
735 ),
736 'table_bgColor' => Array (
737 'exclude' => 1,
738 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_bgColor',
739 'config' => Array (
740 'type' => 'select',
741 'items' => Array (
742 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
743 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.1', '1'),
744 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.2', '2'),
745 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.3', '200'),
746 Array('-----','--div--'),
747 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.5', '240'),
748 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.6', '241'),
749 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.7', '242'),
750 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.8', '243'),
751 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.9', '244')
752 ),
753 'default' => '0'
754 )
755 ),
756 'table_border' => Array (
757 'exclude' => 1,
758 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_border',
759 'config' => Array (
760 'type' => 'input',
761 'size' => '3',
762 'max' => '3',
763 'eval' => 'int',
764 'checkbox' => '0',
765 'range' => Array (
766 'upper' => '20',
767 'lower' => '0'
768 ),
769 'default' => 0
770 )
771 ),
772 'table_cellspacing' => Array (
773 'exclude' => 1,
774 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
775 'config' => Array (
776 'type' => 'input',
777 'size' => '3',
778 'max' => '3',
779 'eval' => 'int',
780 'checkbox' => '0',
781 'range' => Array (
782 'upper' => '200',
783 'lower' => '0'
784 ),
785 'default' => 0
786 )
787 ),
788 'table_cellpadding' => Array (
789 'exclude' => 1,
790 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
791 'config' => Array (
792 'type' => 'input',
793 'size' => '3',
794 'max' => '3',
795 'eval' => 'int',
796 'checkbox' => '0',
797 'range' => Array (
798 'upper' => '200',
799 'lower' => '0'
800 ),
801 'default' => 0
802 )
803 ),
804 'media' => Array (
805 'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
806 'config' => Array (
807 'type' => 'group',
808 'internal_type' => 'file',
809 'allowed' => '', // Must be empty for disallowed to work.
810 'disallowed' => PHP_EXTENSIONS_DEFAULT,
811 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
812 'uploadfolder' => 'uploads/media',
813 'show_thumbs' => '1',
814 'size' => '3',
815 'maxitems' => '10',
816 'minitems' => '0'
817 )
818 ),
819 'multimedia' => Array (
820 'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
821 'config' => Array (
822 'type' => 'group',
823 'internal_type' => 'file',
824 'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v',
825 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
826 'uploadfolder' => 'uploads/media',
827 'size' => '2',
828 'maxitems' => '1',
829 'minitems' => '0'
830 )
831 ),
832 'filelink_size' => Array (
833 'label' => 'LLL:EXT:cms/locallang_ttc.php:filelink_size',
834 'config' => Array (
835 'type' => 'check'
836 )
837 ),
838 'records' => Array (
839 'label' => 'LLL:EXT:cms/locallang_ttc.php:records',
840 'config' => Array (
841 'type' => 'group',
842 'internal_type' => 'db',
843 'allowed' => 'tt_content',
844 'size' => '5',
845 'maxitems' => '200',
846 'minitems' => '0',
847 'show_thumbs' => '1',
848 'wizards' => array(
849 'suggest' => array(
850 'type' => 'suggest',
851 ),
852 ),
853 ),
854 ),
855 'spaceBefore' => Array (
856 'exclude' => 1,
857 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceBefore',
858 'config' => Array (
859 'type' => 'input',
860 'size' => '3',
861 'max' => '3',
862 'eval' => 'int',
863 'checkbox' => '0',
864 'range' => Array (
865 'upper' => '50',
866 'lower' => '0'
867 ),
868 'default' => 0
869 )
870 ),
871 'spaceAfter' => Array (
872 'exclude' => 1,
873 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceAfter',
874 'config' => Array (
875 'type' => 'input',
876 'size' => '3',
877 'max' => '3',
878 'eval' => 'int',
879 'checkbox' => '0',
880 'range' => Array (
881 'upper' => '50',
882 'lower' => '0'
883 ),
884 'default' => 0
885 )
886 ),
887 'section_frame' => Array (
888 'exclude' => 1,
889 'label' => 'LLL:EXT:cms/locallang_ttc.php:section_frame',
890 'config' => Array (
891 'type' => 'select',
892 'items' => Array (
893 Array('', '0'),
894 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.1', '1'),
895 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.2', '5'),
896 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.3', '6'),
897 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.4', '10'),
898 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.5', '11'),
899 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.6', '12'),
900 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.7', '20'),
901 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.8', '21')
902 ),
903 'default' => '0'
904 )
905 ),
906 'splash_layout' => Array (
907 'exclude' => 1,
908 'label' => 'LLL:EXT:cms/locallang_ttc.php:splash_layout',
909 'config' => Array (
910 'type' => 'select',
911 'items' => Array (
912 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
913 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.1', '1'),
914 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.2', '2'),
915 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.3', '3'),
916 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.4', '--div--'),
917 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.5', '20'),
918 ),
919 'default' => '0'
920 )
921 ),
922 'sectionIndex' => Array (
923 'exclude' => 1,
924 'label' => 'LLL:EXT:cms/locallang_ttc.php:sectionIndex',
925 'config' => Array (
926 'type' => 'check',
927 'default' => 1
928 )
929 ),
930 'linkToTop' => Array (
931 'exclude' => 1,
932 'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
933 'config' => Array (
934 'type' => 'check'
935 )
936 ),
937 'rte_enabled' => Array (
938 'exclude' => 1,
939 'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
940 'config' => Array (
941 'type' => 'check',
942 'showIfRTE' => 1
943 )
944 ),
945 'pi_flexform' => array(
946 'l10n_display' => 'hideDiff',
947 'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
948 'config' => Array (
949 'type' => 'flex',
950 'ds_pointerField' => 'list_type,CType',
951 'ds' => array(
952 'default' => '
953 <T3DataStructure>
954 <ROOT>
955 <type>array</type>
956 <el>
957 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
958 <xmlTitle>
959 <TCEforms>
960 <label>The Title:</label>
961 <config>
962 <type>input</type>
963 <size>48</size>
964 </config>
965 </TCEforms>
966 </xmlTitle>
967 </el>
968 </ROOT>
969 </T3DataStructure>
970 ',
971 ',media' => file_get_contents(t3lib_extMgm::extPath('cms') . 'flexform_media.xml'),
972 )
973 )
974 ),
975 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
976 'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
977 't3ver_label' => Array (
978 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
979 'config' => Array (
980 'type' => 'input',
981 'size' => '30',
982 'max' => '255',
983 )
984 ),
985 ),
986 'types' => Array (
987 '1' => Array('showitem' => 'CType'),
988 'header' => Array(
989 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, subheader;;8, linkToTop;;;;3-3-3,
990 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
991 ),
992 'text' => Array(
993 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
994 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.1, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties,
995 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime',
996 ),
997 'textpic' => Array(
998 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
999 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.text, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties,
1000 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media, image;;;;5-5-5, imageorient;;2,
1001 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,
1002 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7;;6-6-6,
1003 imagecaption;;5,altText;;;;7-7-7, titleText, longdescURL,
1004 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11;;8-8-8,
1005 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1006 ),
1007 'rte' => Array(
1008 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2,
1009 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.text, bodytext;;;nowrap:richtext[*]:rte_transform[mode=ts_images-ts_reglinks];3-3-3,
1010 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1011 ),
1012 'image' => Array(
1013 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1014 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media, image;;;;4-4-4, imageorient;;2,
1015 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,
1016 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7;;5-5-5,
1017 imagecaption;;5, altText;;;;6-6-6, titleText, longdescURL,
1018 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11;;7-7-7,
1019 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1020 ),
1021 'bullets' => Array(
1022 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
1023 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.4, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties,
1024 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1025 ),
1026 'table' => Array(
1027 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
1028 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties,
1029 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1030 ),
1031 'splash' => Array(
1032 'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
1033 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.11, splash_layout, bodytext;;;;3-3-3, image;;6,
1034 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1035 ),
1036 'uploads' => Array(
1037 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1038 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.6, media;;;;3-3-3,
1039 select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
1040 layout;;10, filelink_size,
1041 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap,
1042 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1043 ),
1044 'multimedia' => Array(
1045 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1046 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.7, multimedia;;;;3-3-3, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
1047 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1048 ),
1049 'media' => Array(
1050 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1051 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.18, pi_flexform;;;;3-3-3,
1052 bodytext;LLL:EXT:cms/locallang_ttc.xml:media.alternativeContent;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];4-4-4,
1053 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1054 ),
1055 'script' => Array(
1056 'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
1057 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.15, select_key;;;;3-3-3, pages;;12, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
1058 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script, linkToTop;;;;4-4-4,
1059 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1060 ),
1061 'menu' => Array(
1062 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1063 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.12, menu_type;;;;4-4-4, pages,
1064 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1065 ),
1066 'mailform' => Array(
1067 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1068 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.8, bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];3-3-3,
1069 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
1070 subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform,
1071 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1072 ),
1073 'search' => Array(
1074 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1075 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.9, pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search,
1076 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1077 ),
1078 'login' => Array(
1079 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1080 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.10, pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login,
1081 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1082 ),
1083 'shortcut' => Array(
1084 'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
1085 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.13, records;;;;5-5-5, layout,
1086 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1087 ),
1088 'list' => Array(
1089 'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
1090 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.plugin, list_type;;;;3-3-3, layout, select_key, pages;;12,
1091 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime',
1092 'subtype_value_field' => 'list_type',
1093 'subtypes_excludelist' => Array(
1094 '' => 'layout,select_key,pages', // When no plugin is selected.
1095 '3' => 'layout',
1096 // '4' => 'layout', // List type forum
1097 '2' => 'layout',
1098 '5' => 'layout',
1099 '9' => 'layout',
1100 '0' => 'layout',
1101 '6' => 'layout',
1102 '7' => 'layout',
1103 '1' => 'layout',
1104 '8' => 'layout',
1105 '11' => 'layout',
1106 '20' => 'layout',
1107 '21' => 'layout'
1108 )
1109 ),
1110 'div' => Array(
1111 'showitem' => 'CType;;14;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, linkToTop,
1112 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1113 ),
1114 'html' => Array(
1115 'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, linkToTop;;;;3-3-3,
1116 --div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.17, bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap,
1117 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
1118 )
1119 ),
1120 'palettes' => Array (
1121 '1' => Array('showitem' => 'starttime, endtime'),
1122 '2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
1123 '3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
1124 '4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex'),
1125 '5' => Array('showitem' => 'imagecaption_position'),
1126 '6' => Array('showitem' => 'imagewidth,image_link'),
1127 '7' => Array('showitem' => 'image_link, image_zoom','canNotCollapse' => 1),
1128 '8' => Array('showitem' => 'layout'),
1129 '9' => Array('showitem' => 'text_align,text_face,text_size,text_color'),
1130 '10' => Array('showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'),
1131 '11' => Array('showitem' => 'image_compression, image_effects, image_frames','canNotCollapse' => 1),
1132 '12' => Array('showitem' => 'recursive'),
1133 '13' => Array('showitem' => 'imagewidth, imageheight','canNotCollapse' => 1),
1134 '14' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos'),
1135 '15' => Array('showitem' => 'fe_group'),
1136 )
1137 );
1138
1139
1140 ?>