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