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