ccbc8572bfac33f5e775849d69e1d39981bed832
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tbl_tt_content.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2004 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.php:CType.I.0', 'header'),
51 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.1', 'text'),
52 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.2', 'textpic'),
53 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.3', 'image'),
54 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.4', 'bullets'),
55 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.5', 'table'),
56 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.6', 'uploads'),
57 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.7', 'multimedia'),
58 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.8', 'mailform'),
59 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.9', 'search'),
60 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.10', 'login'),
61 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.11', 'splash'),
62 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.12', 'menu'),
63 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.13', 'shortcut'),
64 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.14', 'list'),
65 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.15', 'script'),
66 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.16', 'div'),
67 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.17', 'html')
68 ),
69 'default' => 'text',
70 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
71 'authMode_enforce' => 'strict',
72 )
73 ),
74 'hidden' => Array (
75 'exclude' => 1,
76 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
77 'config' => Array (
78 'type' => 'check'
79 )
80 ),
81 'starttime' => Array (
82 'exclude' => 1,
83 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
84 'config' => Array (
85 'type' => 'input',
86 'size' => '8',
87 'max' => '20',
88 'eval' => 'date',
89 'checkbox' => '0',
90 'default' => '0'
91 )
92 ),
93 'endtime' => Array (
94 'exclude' => 1,
95 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
96 'config' => Array (
97 'type' => 'input',
98 'size' => '8',
99 'max' => '20',
100 'eval' => 'date',
101 'checkbox' => '0',
102 'default' => '0',
103 'range' => Array (
104 'upper' => mktime(0,0,0,12,31,2020),
105 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
106 )
107 )
108 ),
109 'fe_group' => Array (
110 'exclude' => 1,
111 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
112 'config' => Array (
113 'type' => 'select',
114 'items' => Array (
115 Array('', 0),
116 Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
117 Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
118 Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
119 ),
120 'foreign_table' => 'fe_groups'
121 )
122 ),
123 'sys_language_uid' => Array (
124 'exclude' => 1,
125 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
126 'config' => Array (
127 'type' => 'select',
128 'foreign_table' => 'sys_language',
129 'foreign_table_where' => 'ORDER BY sys_language.title',
130 'items' => Array(
131 Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
132 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
133 )
134 )
135 ),
136 'l18n_parent' => Array (
137 'displayCond' => 'FIELD:sys_language_uid:>:0',
138 'exclude' => 1,
139 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent',
140 'config' => Array (
141 'type' => 'select',
142 'items' => Array (
143 Array('', 0),
144 ),
145 'foreign_table' => 'tt_content',
146 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)',
147 )
148 ),
149 'layout' => Array (
150 'exclude' => 1,
151 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
152 'config' => Array (
153 'type' => 'select',
154 'items' => Array (
155 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
156 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.1', '1'),
157 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.2', '2'),
158 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.3', '3')
159 ),
160 'default' => '0'
161 )
162 ),
163 'colPos' => Array (
164 'exclude' => 1,
165 'label' => 'LLL:EXT:cms/locallang_ttc.php:colPos',
166 'config' => Array (
167 'type' => 'select',
168 'items' => Array (
169 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.0', '1'),
170 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
171 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.2', '2'),
172 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.3', '3')
173 ),
174 'default' => '0'
175 )
176 ),
177 'date' => Array (
178 'exclude' => 1,
179 'label' => 'LLL:EXT:cms/locallang_ttc.php:date',
180 'config' => Array (
181 'type' => 'input',
182 'size' => '8',
183 'max' => '20',
184 'eval' => 'date',
185 'checkbox' => '0',
186 'default' => '0'
187 )
188 ),
189 'header' => Array (
190 'l10n_mode' => 'prefixLangTitle',
191 'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
192 'config' => Array (
193 'type' => 'input',
194 'max' => '256'
195 )
196 ),
197 'header_position' => Array (
198 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
199 'config' => Array (
200 'type' => 'select',
201 'items' => Array (
202 Array('', ''),
203 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
204 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
205 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
206 ),
207 'default' => ''
208 )
209 ),
210 'header_link' => Array (
211 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_link',
212 'config' => Array (
213 'type' => 'input',
214 'size' => '15',
215 'max' => '256',
216 'checkbox' => '',
217 'eval' => 'trim',
218 'wizards' => Array(
219 '_PADDING' => 2,
220 'link' => Array(
221 'type' => 'popup',
222 'title' => 'Link',
223 'icon' => 'link_popup.gif',
224 'script' => 'browse_links.php?mode=wizard',
225 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
226 )
227 ),
228 'softref' => 'typolink'
229 )
230 ),
231 'header_layout' => Array (
232 'exclude' => 1,
233 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
234 'config' => Array (
235 'type' => 'select',
236 'items' => Array (
237 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
238 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.1', '1'),
239 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.2', '2'),
240 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.3', '3'),
241 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.4', '4'),
242 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.5', '5'),
243 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.6', '100')
244 ),
245 'default' => '0'
246 )
247 ),
248 'subheader' => Array (
249 'exclude' => 1,
250 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
251 'config' => Array (
252 'type' => 'input',
253 'size' => '30',
254 'max' => '256',
255 'softref' => 'email[subst]'
256 )
257 ),
258 'bodytext' => Array (
259 'l10n_mode' => 'prefixLangTitle',
260 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
261 'config' => Array (
262 'type' => 'text',
263 'cols' => '48',
264 'rows' => '5',
265 'wizards' => Array(
266 '_PADDING' => 4,
267 'RTE' => Array(
268 'notNewRecords' => 1,
269 'RTEonly' => 1,
270 'type' => 'script',
271 'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
272 'icon' => 'wizard_rte2.gif',
273 'script' => 'wizard_rte.php',
274 ),
275 'table' => Array(
276 'notNewRecords' => 1,
277 'enableByTypeConfig' => 1,
278 'type' => 'script',
279 'title' => 'Table wizard',
280 'icon' => 'wizard_table.gif',
281 'script' => 'wizard_table.php',
282 'params' => array('xmlOutput' => 0)
283 ),
284 'forms' => Array(
285 'notNewRecords' => 1,
286 'enableByTypeConfig' => 1,
287 'type' => 'script',
288 # 'hideParent' => array('rows' => 4),
289 'title' => 'Forms wizard',
290 'icon' => 'wizard_forms.gif',
291 'script' => 'wizard_forms.php?special=formtype_mail',
292 'params' => array('xmlOutput' => 0)
293 )
294 ),
295 'softref' => 'typolink_tag,images,email[subst],url'
296 )
297 ),
298 'text_align' => Array (
299 'exclude' => 1,
300 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
301 'config' => Array (
302 'type' => 'select',
303 'items' => Array (
304 Array('', ''),
305 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.1', 'center'),
306 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.2', 'right'),
307 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.3', 'left')
308 ),
309 'default' => ''
310 )
311 ),
312 'text_face' => Array (
313 'exclude' => 1,
314 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_face',
315 'config' => Array (
316 'type' => 'select',
317 'items' => Array (
318 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
319 Array('Times', '1'),
320 Array('Verdana', '2'),
321 Array('Arial', '3')
322 ),
323 'default' => '0'
324 )
325 ),
326 'text_size' => Array (
327 'exclude' => 1,
328 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_size',
329 'config' => Array (
330 'type' => 'select',
331 'items' => Array (
332 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
333 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.1', '1'),
334 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.2', '2'),
335 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.3', '3'),
336 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.4', '4'),
337 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.5', '5'),
338 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.6', '10'),
339 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.7', '11')
340 ),
341 'default' => '0'
342 )
343 ),
344 'text_color' => Array (
345 'exclude' => 1,
346 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_color',
347 'config' => Array (
348 'type' => 'select',
349 'items' => Array (
350 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
351 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.1', '1'),
352 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.2', '2'),
353 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.3', '200'),
354 Array('-----','--div--'),
355 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.5', '240'),
356 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.6', '241'),
357 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.7', '242'),
358 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.8', '243'),
359 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.9', '244'),
360 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.10', '245'),
361 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.11', '246'),
362 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.12', '247'),
363 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.13', '248'),
364 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.14', '249'),
365 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.15', '250')
366 ),
367 'default' => '0'
368 )
369 ),
370 'text_properties' => Array (
371 'exclude' => 1,
372 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_properties',
373 'config' => Array (
374 'type' => 'check',
375 'items' => Array (
376 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.0', ''),
377 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.1', ''),
378 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.2', ''),
379 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.3', '')
380 ),
381 'cols' => 4
382 )
383 ),
384 'image' => Array (
385 # 'l10n_mode' => 'mergeIfNotBlank',
386 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
387 'config' => Array (
388 'type' => 'group',
389 'internal_type' => 'file',
390 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
391 'max_size' => '1000',
392 'uploadfolder' => 'uploads/pics',
393 'show_thumbs' => '1',
394 'size' => '3',
395 'maxitems' => '200',
396 'minitems' => '0',
397 'autoSizeMax' => 40,
398 )
399 ),
400 'imagewidth' => Array (
401 'exclude' => 1,
402 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
403 'config' => Array (
404 'type' => 'input',
405 'size' => '4',
406 'max' => '4',
407 'eval' => 'int',
408 'checkbox' => '0',
409 'range' => Array (
410 'upper' => '999',
411 'lower' => '25'
412 ),
413 'default' => 0
414 )
415 ),
416 'imageheight' => Array (
417 'exclude' => 1,
418 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
419 'config' => Array (
420 'type' => 'input',
421 'size' => '4',
422 'max' => '4',
423 'eval' => 'int',
424 'checkbox' => '0',
425 'range' => Array (
426 'upper' => '700',
427 'lower' => '25'
428 ),
429 'default' => 0
430 )
431 ),
432 'imageorient' => Array (
433 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageorient',
434 'config' => Array (
435 'type' => 'select',
436 'items' => Array (
437 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.0', 0, 'selicons/above_center.gif'),
438 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.1', 1, 'selicons/above_right.gif'),
439 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.2', 2, 'selicons/above_left.gif'),
440 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.3', 8, 'selicons/below_center.gif'),
441 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.4', 9, 'selicons/below_right.gif'),
442 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.5', 10, 'selicons/below_left.gif'),
443 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.6', 17, 'selicons/intext_right.gif'),
444 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.7', 18, 'selicons/intext_left.gif'),
445 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.8', '--div--'),
446 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.9', 25, 'selicons/intext_right_nowrap.gif'),
447 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.10', 26, 'selicons/intext_left_nowrap.gif')
448 ),
449 'selicon_cols' => 6,
450 'default' => '8',
451 'iconsInOptionTags' => 1,
452 )
453 ),
454 'imageborder' => Array (
455 'exclude' => 1,
456 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageborder',
457 'config' => Array (
458 'type' => 'check'
459 )
460 ),
461 'image_noRows' => Array (
462 'exclude' => 1,
463 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_noRows',
464 'config' => Array (
465 'type' => 'check'
466 )
467 ),
468 'image_link' => Array (
469 'exclude' => 1,
470 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_link',
471 'config' => Array (
472 'type' => 'input',
473 'size' => '15',
474 'max' => '256',
475 'checkbox' => '',
476 'eval' => 'trim',
477 'wizards' => Array(
478 '_PADDING' => 2,
479 'link' => Array(
480 'type' => 'popup',
481 'title' => 'Link',
482 'icon' => 'link_popup.gif',
483 'script' => 'browse_links.php?mode=wizard',
484 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
485 )
486 ),
487 'softref' => 'typolink[linkList]'
488 )
489 ),
490 'image_zoom' => Array (
491 'exclude' => 1,
492 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_zoom',
493 'config' => Array (
494 'type' => 'check'
495 )
496 ),
497 'image_effects' => Array (
498 'exclude' => 1,
499 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_effects',
500 'config' => Array (
501 'type' => 'select',
502 'items' => Array (
503 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.0', 0),
504 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.1', 1),
505 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.2', 2),
506 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.3', 3),
507 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.4', 10),
508 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.5', 11),
509 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.6', 20),
510 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.7', 23),
511 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.8', 25),
512 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.9', 26)
513 )
514 )
515 ),
516 'image_frames' => Array (
517 'exclude' => 1,
518 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_frames',
519 'config' => Array (
520 'type' => 'select',
521 'items' => Array (
522 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.0', 0),
523 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.1', 1),
524 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.2', 2),
525 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.3', 3),
526 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.4', 4),
527 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.5', 5),
528 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.6', 6),
529 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.7', 7),
530 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.8', 8)
531 )
532 )
533 ),
534 'image_compression' => Array (
535 'exclude' => 1,
536 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_compression',
537 'config' => Array (
538 'type' => 'select',
539 'items' => Array (
540 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
541 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.1', 1),
542 Array('GIF/256', 10),
543 Array('GIF/128', 11),
544 Array('GIF/64', 12),
545 Array('GIF/32', 13),
546 Array('GIF/16', 14),
547 Array('GIF/8', 15),
548 Array('PNG', 39),
549 Array('PNG/256', 30),
550 Array('PNG/128', 31),
551 Array('PNG/64', 32),
552 Array('PNG/32', 33),
553 Array('PNG/16', 34),
554 Array('PNG/8', 35),
555 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.15', 21),
556 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.16', 22),
557 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.17', 24),
558 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.18', 26),
559 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.19', 28)
560 )
561 )
562 ),
563 'imagecols' => Array (
564 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecols',
565 'config' => Array (
566 'type' => 'select',
567 'items' => Array (
568 Array('1', 0),
569 Array('2', 2),
570 Array('3', 3),
571 Array('4', 4),
572 Array('5', 5),
573 Array('6', 6),
574 Array('7', 7),
575 Array('8', 8)
576 ),
577 'default' => 0
578 )
579 ),
580 'imagecaption' => Array (
581 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.caption',
582 'config' => Array (
583 'type' => 'text',
584 'cols' => '30',
585 'rows' => '3',
586 'softref' => 'typolink_tag,images,email[subst],url'
587 )
588 ),
589 'imagecaption_position' => Array (
590 'exclude' => 1,
591 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
592 'config' => Array (
593 'type' => 'select',
594 'items' => Array (
595 Array('', ''),
596 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.1', 'center'),
597 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.2', 'right'),
598 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.3', 'left')
599 ),
600 'default' => ''
601 )
602 ),
603 'cols' => Array (
604 'label' => 'LLL:EXT:cms/locallang_ttc.php:cols',
605 'config' => Array (
606 'type' => 'select',
607 'items' => Array (
608 Array('LLL:EXT:cms/locallang_ttc.php:cols.I.0', '0'),
609 Array('1', '1'),
610 Array('2', '2'),
611 Array('3', '3'),
612 Array('4', '4'),
613 Array('5', '5'),
614 Array('6', '6'),
615 Array('7', '7'),
616 Array('8', '8'),
617 Array('9', '9')
618 ),
619 'default' => '0'
620 )
621 ),
622 'pages' => Array (
623 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.startingpoint',
624 'config' => Array (
625 'type' => 'group',
626 'internal_type' => 'db',
627 'allowed' => 'pages',
628 'size' => '3',
629 'maxitems' => '22',
630 'minitems' => '0',
631 'show_thumbs' => '1'
632 )
633 ),
634 'recursive' => Array (
635 'exclude' => 1,
636 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.recursive',
637 'config' => Array (
638 'type' => 'select',
639 'items' => Array (
640 Array('', '0'),
641 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.1', '1'),
642 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.2', '2'),
643 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.3', '3'),
644 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.4', '4'),
645 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.5', '250')
646 ),
647 'default' => '0'
648 )
649 ),
650 'menu_type' => Array (
651 'label' => 'LLL:EXT:cms/locallang_ttc.php:menu_type',
652 'config' => Array (
653 'type' => 'select',
654 'items' => Array (
655 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.0', '0'),
656 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.1', '1'),
657 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.2', '4'),
658 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.3', '7'),
659 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.4', '2'),
660 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.5', '3'),
661 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.6', '5'),
662 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.7', '6')
663 ),
664 'default' => '0'
665 )
666 ),
667 'list_type' => Array (
668 'label' => 'LLL:EXT:cms/locallang_ttc.php:list_type',
669 'config' => Array (
670 'type' => 'select',
671 'items' => Array (
672 Array('','')
673 ),
674 'default' => '',
675 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
676 )
677 ),
678 'select_key' => Array (
679 'exclude' => 1,
680 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
681 'config' => Array (
682 'type' => 'input',
683 'size' => '20',
684 'max' => '80',
685 'eval' => 'trim'
686 )
687 ),
688 'table_bgColor' => Array (
689 'exclude' => 1,
690 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_bgColor',
691 'config' => Array (
692 'type' => 'select',
693 'items' => Array (
694 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
695 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.1', '1'),
696 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.2', '2'),
697 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.3', '200'),
698 Array('-----','--div--'),
699 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.5', '240'),
700 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.6', '241'),
701 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.7', '242'),
702 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.8', '243'),
703 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.9', '244')
704 ),
705 'default' => '0'
706 )
707 ),
708 'table_border' => Array (
709 'exclude' => 1,
710 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_border',
711 'config' => Array (
712 'type' => 'input',
713 'size' => '3',
714 'max' => '3',
715 'eval' => 'int',
716 'checkbox' => '0',
717 'range' => Array (
718 'upper' => '20',
719 'lower' => '0'
720 ),
721 'default' => 0
722 )
723 ),
724 'table_cellspacing' => Array (
725 'exclude' => 1,
726 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
727 'config' => Array (
728 'type' => 'input',
729 'size' => '3',
730 'max' => '3',
731 'eval' => 'int',
732 'checkbox' => '0',
733 'range' => Array (
734 'upper' => '200',
735 'lower' => '0'
736 ),
737 'default' => 0
738 )
739 ),
740 'table_cellpadding' => Array (
741 'exclude' => 1,
742 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
743 'config' => Array (
744 'type' => 'input',
745 'size' => '3',
746 'max' => '3',
747 'eval' => 'int',
748 'checkbox' => '0',
749 'range' => Array (
750 'upper' => '200',
751 'lower' => '0'
752 ),
753 'default' => 0
754 )
755 ),
756 'media' => Array (
757 'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
758 'config' => Array (
759 'type' => 'group',
760 'internal_type' => 'file',
761 'allowed' => '', // Must be empty for disallowed to work.
762 'disallowed' => 'php,php3',
763 'max_size' => '10000',
764 'uploadfolder' => 'uploads/media',
765 'show_thumbs' => '1',
766 'size' => '3',
767 'maxitems' => '10',
768 'minitems' => '0'
769 )
770 ),
771 'multimedia' => Array (
772 'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
773 'config' => Array (
774 'type' => 'group',
775 'internal_type' => 'file',
776 'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3',
777 'max_size' => '10000',
778 'uploadfolder' => 'uploads/media',
779 'size' => '2',
780 'maxitems' => '1',
781 'minitems' => '0'
782 )
783 ),
784 'filelink_size' => Array (
785 'label' => 'LLL:EXT:cms/locallang_ttc.php:filelink_size',
786 'config' => Array (
787 'type' => 'check'
788 )
789 ),
790 'records' => Array (
791 'label' => 'LLL:EXT:cms/locallang_ttc.php:records',
792 'config' => Array (
793 'type' => 'group',
794 'internal_type' => 'db',
795 'allowed' => 'tt_content',
796 'size' => '5',
797 'maxitems' => '200',
798 'minitems' => '0',
799 'show_thumbs' => '1'
800 )
801 ),
802 'spaceBefore' => Array (
803 'exclude' => 1,
804 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceBefore',
805 'config' => Array (
806 'type' => 'input',
807 'size' => '3',
808 'max' => '3',
809 'eval' => 'int',
810 'checkbox' => '0',
811 'range' => Array (
812 'upper' => '50',
813 'lower' => '0'
814 ),
815 'default' => 0
816 )
817 ),
818 'spaceAfter' => Array (
819 'exclude' => 1,
820 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceAfter',
821 'config' => Array (
822 'type' => 'input',
823 'size' => '3',
824 'max' => '3',
825 'eval' => 'int',
826 'checkbox' => '0',
827 'range' => Array (
828 'upper' => '50',
829 'lower' => '0'
830 ),
831 'default' => 0
832 )
833 ),
834 'section_frame' => Array (
835 'exclude' => 1,
836 'label' => 'LLL:EXT:cms/locallang_ttc.php:section_frame',
837 'config' => Array (
838 'type' => 'select',
839 'items' => Array (
840 Array('', '0'),
841 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.1', '1'),
842 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.2', '5'),
843 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.3', '6'),
844 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.4', '10'),
845 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.5', '11'),
846 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.6', '12'),
847 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.7', '20'),
848 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.8', '21')
849 ),
850 'default' => '0'
851 )
852 ),
853 'splash_layout' => Array (
854 'exclude' => 1,
855 'label' => 'LLL:EXT:cms/locallang_ttc.php:splash_layout',
856 'config' => Array (
857 'type' => 'select',
858 'items' => Array (
859 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
860 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.1', '1'),
861 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.2', '2'),
862 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.3', '3'),
863 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.4', '--div--'),
864 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.5', '20'),
865 ),
866 'default' => '0'
867 )
868 ),
869 'sectionIndex' => Array (
870 'exclude' => 1,
871 'label' => 'LLL:EXT:cms/locallang_ttc.php:sectionIndex',
872 'config' => Array (
873 'type' => 'check',
874 'default' => 1
875 )
876 ),
877 'linkToTop' => Array (
878 'exclude' => 1,
879 'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
880 'config' => Array (
881 'type' => 'check'
882 )
883 ),
884 'rte_enabled' => Array (
885 'exclude' => 1,
886 'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
887 'config' => Array (
888 'type' => 'check',
889 'showIfRTE' => 1
890 )
891 ),
892 'pi_flexform' => array(
893 'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
894 'config' => Array (
895 'type' => 'flex',
896 'ds_pointerField' => 'list_type',
897 'ds' => array(
898 'default' => '
899 <T3DataStructure>
900 <ROOT>
901 <type>array</type>
902 <el>
903 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
904 <xmlTitle>
905 <TCEforms>
906 <label>The Title:</label>
907 <config>
908 <type>input</type>
909 <size>48</size>
910 </config>
911 </TCEforms>
912 </xmlTitle>
913 </el>
914 </ROOT>
915 </T3DataStructure>
916 ',
917 )
918 )
919 ),
920 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
921 'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
922 't3ver_label' => Array (
923 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
924 'config' => Array (
925 'type' => 'input',
926 'size' => '30',
927 'max' => '30',
928 )
929 ),
930 ),
931 'types' => Array (
932 '1' => Array('showitem' => 'CType'),
933 'header' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, subheader;;8'),
934 'text' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[flag=rte_enabled|mode=ts];3-3-3, rte_enabled, text_properties'),
935 'textpic' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[flag=rte_enabled|mode=ts];3-3-3, rte_enabled, text_properties, --div--, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
936 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
937 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
938 imagecaption;;5'),
939 'rte' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;;nowrap:richtext[*]:rte_transform[mode=ts_images-ts_reglinks];3-3-3'),
940 'image' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
941 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
942 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
943 imagecaption;;5'),
944 'bullets' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties'),
945 'table' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;10;button;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties'),
946 'splash' => Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, splash_layout, bodytext;;;;3-3-3, image;;6'),
947 'uploads' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, media;;;;5-5-5,
948 select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
949 layout;;10;button, filelink_size,
950 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap'),
951 'multimedia' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, multimedia;;;;5-5-5, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap'),
952 'script' => Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, select_key;;;;5-5-5, pages;;12, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
953 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script'),
954 'menu' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, menu_type;;;;5-5-5, pages'),
955 'mailform' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
956 bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];5-5-5,
957 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
958 subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform'),
959 'search' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
960 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search;;;5-5-5'),
961 'login' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
962 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login;;;5-5-5'),
963 'shortcut' => Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, records;;;;5-5-5, layout'),
964 'list' => Array(
965 'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, --div--, list_type;;;;5-5-5, layout, select_key, pages;;12',
966 'subtype_value_field' => 'list_type',
967 'subtypes_excludelist' => Array(
968 '' => 'layout,select_key,pages', // When no plugin is selected.
969 '3' => 'layout',
970 // '4' => 'layout', // List type forum
971 '2' => 'layout',
972 '5' => 'layout',
973 '9' => 'layout',
974 '0' => 'layout',
975 '6' => 'layout',
976 '7' => 'layout',
977 '1' => 'layout',
978 '8' => 'layout',
979 'indexed_search' => 'layout',
980 '11' => 'layout',
981 '20' => 'layout',
982 '21' => 'layout'
983 )
984 ),
985 'div' => Array('showitem' => 'CType;;14;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2'),
986 'html' => Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
987 bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap;3-3-3')
988 ),
989 'palettes' => Array (
990 '1' => Array('showitem' => 'hidden, starttime, endtime, fe_group'),
991 '2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
992 '3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
993 '4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex, linkToTop'),
994 '5' => Array('showitem' => 'imagecaption_position'),
995 '6' => Array('showitem' => 'imagewidth,image_link'),
996 '7' => Array('showitem' => 'image_link, image_zoom'),
997 '8' => Array('showitem' => 'layout'),
998 '9' => Array('showitem' => 'text_align,text_face,text_size,text_color'),
999 '10' => Array('showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'),
1000 '11' => Array('showitem' => 'image_compression, image_effects, image_frames'),
1001 '12' => Array('showitem' => 'recursive'),
1002 '13' => Array('showitem' => 'imageheight'),
1003 '14' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos')
1004 )
1005 );
1006
1007
1008
1009 ?>