00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00038 $TCA['tt_content'] = Array (
00039 'ctrl' => $TCA['tt_content']['ctrl'],
00040 'interface' => Array (
00041 'always_description' => 0,
00042 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'
00043 ),
00044 'columns' => Array (
00045 'CType' => Array (
00046 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
00047 'config' => Array (
00048 'type' => 'select',
00049 'items' => Array (
00050 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.0', 'header'),
00051 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.1', 'text'),
00052 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.2', 'textpic'),
00053 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.3', 'image'),
00054 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.4', 'bullets'),
00055 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.5', 'table'),
00056 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.6', 'uploads'),
00057 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.7', 'multimedia'),
00058 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.8', 'mailform'),
00059 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.9', 'search'),
00060 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.10', 'login'),
00061 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.11', 'splash'),
00062 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.12', 'menu'),
00063 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.13', 'shortcut'),
00064 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.14', 'list'),
00065 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.15', 'script'),
00066 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.16', 'div'),
00067 Array('LLL:EXT:cms/locallang_ttc.php:CType.I.17', 'html')
00068 ),
00069 'default' => 'text',
00070 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
00071 'authMode_enforce' => 'strict',
00072 )
00073 ),
00074 'hidden' => Array (
00075 'exclude' => 1,
00076 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00077 'config' => Array (
00078 'type' => 'check'
00079 )
00080 ),
00081 'starttime' => Array (
00082 'exclude' => 1,
00083 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
00084 'config' => Array (
00085 'type' => 'input',
00086 'size' => '8',
00087 'max' => '20',
00088 'eval' => 'date',
00089 'checkbox' => '0',
00090 'default' => '0'
00091 )
00092 ),
00093 'endtime' => Array (
00094 'exclude' => 1,
00095 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
00096 'config' => Array (
00097 'type' => 'input',
00098 'size' => '8',
00099 'max' => '20',
00100 'eval' => 'date',
00101 'checkbox' => '0',
00102 'default' => '0',
00103 'range' => Array (
00104 'upper' => mktime(0,0,0,12,31,2020),
00105 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
00106 )
00107 )
00108 ),
00109 'fe_group' => Array (
00110 'exclude' => 1,
00111 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
00112 'config' => Array (
00113 'type' => 'select',
00114 'items' => Array (
00115 Array('', 0),
00116 Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
00117 Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
00118 Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
00119 ),
00120 'foreign_table' => 'fe_groups'
00121 )
00122 ),
00123 'sys_language_uid' => Array (
00124 'exclude' => 1,
00125 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
00126 'config' => Array (
00127 'type' => 'select',
00128 'foreign_table' => 'sys_language',
00129 'foreign_table_where' => 'ORDER BY sys_language.title',
00130 'items' => Array(
00131 Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
00132 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
00133 )
00134 )
00135 ),
00136 'l18n_parent' => Array (
00137 'displayCond' => 'FIELD:sys_language_uid:>:0',
00138 'exclude' => 1,
00139 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent',
00140 'config' => Array (
00141 'type' => 'select',
00142 'items' => Array (
00143 Array('', 0),
00144 ),
00145 'foreign_table' => 'tt_content',
00146 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)',
00147 )
00148 ),
00149 'layout' => Array (
00150 'exclude' => 1,
00151 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
00152 'config' => Array (
00153 'type' => 'select',
00154 'items' => Array (
00155 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
00156 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.1', '1'),
00157 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.2', '2'),
00158 Array('LLL:EXT:cms/locallang_ttc.php:layout.I.3', '3')
00159 ),
00160 'default' => '0'
00161 )
00162 ),
00163 'colPos' => Array (
00164 'exclude' => 1,
00165 'label' => 'LLL:EXT:cms/locallang_ttc.php:colPos',
00166 'config' => Array (
00167 'type' => 'select',
00168 'items' => Array (
00169 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.0', '1'),
00170 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
00171 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.2', '2'),
00172 Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.3', '3')
00173 ),
00174 'default' => '0'
00175 )
00176 ),
00177 'date' => Array (
00178 'exclude' => 1,
00179 'label' => 'LLL:EXT:cms/locallang_ttc.php:date',
00180 'config' => Array (
00181 'type' => 'input',
00182 'size' => '8',
00183 'max' => '20',
00184 'eval' => 'date',
00185 'checkbox' => '0',
00186 'default' => '0'
00187 )
00188 ),
00189 'header' => Array (
00190 'l10n_mode' => 'prefixLangTitle',
00191 'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
00192 'config' => Array (
00193 'type' => 'input',
00194 'max' => '256'
00195 )
00196 ),
00197 'header_position' => Array (
00198 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
00199 'config' => Array (
00200 'type' => 'select',
00201 'items' => Array (
00202 Array('', ''),
00203 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
00204 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
00205 Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
00206 ),
00207 'default' => ''
00208 )
00209 ),
00210 'header_link' => Array (
00211 'label' => 'LLL:EXT:cms/locallang_ttc.php:header_link',
00212 'config' => Array (
00213 'type' => 'input',
00214 'size' => '15',
00215 'max' => '256',
00216 'checkbox' => '',
00217 'eval' => 'trim',
00218 'wizards' => Array(
00219 '_PADDING' => 2,
00220 'link' => Array(
00221 'type' => 'popup',
00222 'title' => 'Link',
00223 'icon' => 'link_popup.gif',
00224 'script' => 'browse_links.php?mode=wizard',
00225 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
00226 )
00227 )
00228 )
00229 ),
00230 'header_layout' => Array (
00231 'exclude' => 1,
00232 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
00233 'config' => Array (
00234 'type' => 'select',
00235 'items' => Array (
00236 Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
00237 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.1', '1'),
00238 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.2', '2'),
00239 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.3', '3'),
00240 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.4', '4'),
00241 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.5', '5'),
00242 Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.6', '100')
00243 ),
00244 'default' => '0'
00245 )
00246 ),
00247 'subheader' => Array (
00248 'exclude' => 1,
00249 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
00250 'config' => Array (
00251 'type' => 'input',
00252 'size' => '30',
00253 'max' => '256'
00254 )
00255 ),
00256 'bodytext' => Array (
00257 'l10n_mode' => 'prefixLangTitle',
00258 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
00259 'config' => Array (
00260 'type' => 'text',
00261 'cols' => '48',
00262 'rows' => '5',
00263 'wizards' => Array(
00264 '_PADDING' => 4,
00265 'RTE' => Array(
00266 'notNewRecords' => 1,
00267 'RTEonly' => 1,
00268 'type' => 'script',
00269 'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
00270 'icon' => 'wizard_rte2.gif',
00271 'script' => 'wizard_rte.php',
00272 ),
00273 'table' => Array(
00274 'notNewRecords' => 1,
00275 'enableByTypeConfig' => 1,
00276 'type' => 'script',
00277 'title' => 'Table wizard',
00278 'icon' => 'wizard_table.gif',
00279 'script' => 'wizard_table.php',
00280 'params' => array('xmlOutput' => 0)
00281 ),
00282 'forms' => Array(
00283 'notNewRecords' => 1,
00284 'enableByTypeConfig' => 1,
00285 'type' => 'script',
00286 # 'hideParent' => array('rows' => 4),
00287 'title' => 'Forms wizard',
00288 'icon' => 'wizard_forms.gif',
00289 'script' => 'wizard_forms.php?special=formtype_mail',
00290 'params' => array('xmlOutput' => 0)
00291 )
00292 )
00293 )
00294 ),
00295 'text_align' => Array (
00296 'exclude' => 1,
00297 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
00298 'config' => Array (
00299 'type' => 'select',
00300 'items' => Array (
00301 Array('', ''),
00302 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.1', 'center'),
00303 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.2', 'right'),
00304 Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.3', 'left')
00305 ),
00306 'default' => ''
00307 )
00308 ),
00309 'text_face' => Array (
00310 'exclude' => 1,
00311 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_face',
00312 'config' => Array (
00313 'type' => 'select',
00314 'items' => Array (
00315 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
00316 Array('Times', '1'),
00317 Array('Verdana', '2'),
00318 Array('Arial', '3')
00319 ),
00320 'default' => '0'
00321 )
00322 ),
00323 'text_size' => Array (
00324 'exclude' => 1,
00325 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_size',
00326 'config' => Array (
00327 'type' => 'select',
00328 'items' => Array (
00329 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
00330 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.1', '1'),
00331 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.2', '2'),
00332 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.3', '3'),
00333 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.4', '4'),
00334 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.5', '5'),
00335 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.6', '10'),
00336 Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.7', '11')
00337 ),
00338 'default' => '0'
00339 )
00340 ),
00341 'text_color' => Array (
00342 'exclude' => 1,
00343 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_color',
00344 'config' => Array (
00345 'type' => 'select',
00346 'items' => Array (
00347 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
00348 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.1', '1'),
00349 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.2', '2'),
00350 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.3', '200'),
00351 Array('-----','--div--'),
00352 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.5', '240'),
00353 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.6', '241'),
00354 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.7', '242'),
00355 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.8', '243'),
00356 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.9', '244'),
00357 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.10', '245'),
00358 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.11', '246'),
00359 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.12', '247'),
00360 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.13', '248'),
00361 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.14', '249'),
00362 Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.15', '250')
00363 ),
00364 'default' => '0'
00365 )
00366 ),
00367 'text_properties' => Array (
00368 'exclude' => 1,
00369 'label' => 'LLL:EXT:cms/locallang_ttc.php:text_properties',
00370 'config' => Array (
00371 'type' => 'check',
00372 'items' => Array (
00373 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.0', ''),
00374 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.1', ''),
00375 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.2', ''),
00376 Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.3', '')
00377 ),
00378 'cols' => 4
00379 )
00380 ),
00381 'image' => Array (
00382 # 'l10n_mode' => 'mergeIfNotBlank',
00383 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
00384 'config' => Array (
00385 'type' => 'group',
00386 'internal_type' => 'file',
00387 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
00388 'max_size' => '1000',
00389 'uploadfolder' => 'uploads/pics',
00390 'show_thumbs' => '1',
00391 'size' => '3',
00392 'maxitems' => '200',
00393 'minitems' => '0',
00394 'autoSizeMax' => 40,
00395 )
00396 ),
00397 'imagewidth' => Array (
00398 'exclude' => 1,
00399 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
00400 'config' => Array (
00401 'type' => 'input',
00402 'size' => '4',
00403 'max' => '4',
00404 'eval' => 'int',
00405 'checkbox' => '0',
00406 'range' => Array (
00407 'upper' => '999',
00408 'lower' => '25'
00409 ),
00410 'default' => 0
00411 )
00412 ),
00413 'imageheight' => Array (
00414 'exclude' => 1,
00415 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
00416 'config' => Array (
00417 'type' => 'input',
00418 'size' => '4',
00419 'max' => '4',
00420 'eval' => 'int',
00421 'checkbox' => '0',
00422 'range' => Array (
00423 'upper' => '700',
00424 'lower' => '25'
00425 ),
00426 'default' => 0
00427 )
00428 ),
00429 'imageorient' => Array (
00430 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageorient',
00431 'config' => Array (
00432 'type' => 'select',
00433 'items' => Array (
00434 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.0', 0, 'selicons/above_center.gif'),
00435 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.1', 1, 'selicons/above_right.gif'),
00436 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.2', 2, 'selicons/above_left.gif'),
00437 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.3', 8, 'selicons/below_center.gif'),
00438 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.4', 9, 'selicons/below_right.gif'),
00439 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.5', 10, 'selicons/below_left.gif'),
00440 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.6', 17, 'selicons/intext_right.gif'),
00441 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.7', 18, 'selicons/intext_left.gif'),
00442 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.8', '--div--'),
00443 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.9', 25, 'selicons/intext_right_nowrap.gif'),
00444 Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.10', 26, 'selicons/intext_left_nowrap.gif')
00445 ),
00446 'selicon_cols' => 6,
00447 'default' => '8',
00448 'iconsInOptionTags' => 1,
00449 )
00450 ),
00451 'imageborder' => Array (
00452 'exclude' => 1,
00453 'label' => 'LLL:EXT:cms/locallang_ttc.php:imageborder',
00454 'config' => Array (
00455 'type' => 'check'
00456 )
00457 ),
00458 'image_noRows' => Array (
00459 'exclude' => 1,
00460 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_noRows',
00461 'config' => Array (
00462 'type' => 'check'
00463 )
00464 ),
00465 'image_link' => Array (
00466 'exclude' => 1,
00467 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_link',
00468 'config' => Array (
00469 'type' => 'input',
00470 'size' => '15',
00471 'max' => '256',
00472 'checkbox' => '',
00473 'eval' => 'trim',
00474 'wizards' => Array(
00475 '_PADDING' => 2,
00476 'link' => Array(
00477 'type' => 'popup',
00478 'title' => 'Link',
00479 'icon' => 'link_popup.gif',
00480 'script' => 'browse_links.php?mode=wizard',
00481 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
00482 )
00483 )
00484 )
00485 ),
00486 'image_zoom' => Array (
00487 'exclude' => 1,
00488 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_zoom',
00489 'config' => Array (
00490 'type' => 'check'
00491 )
00492 ),
00493 'image_effects' => Array (
00494 'exclude' => 1,
00495 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_effects',
00496 'config' => Array (
00497 'type' => 'select',
00498 'items' => Array (
00499 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.0', 0),
00500 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.1', 1),
00501 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.2', 2),
00502 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.3', 3),
00503 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.4', 10),
00504 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.5', 11),
00505 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.6', 20),
00506 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.7', 23),
00507 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.8', 25),
00508 Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.9', 26)
00509 )
00510 )
00511 ),
00512 'image_frames' => Array (
00513 'exclude' => 1,
00514 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_frames',
00515 'config' => Array (
00516 'type' => 'select',
00517 'items' => Array (
00518 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.0', 0),
00519 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.1', 1),
00520 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.2', 2),
00521 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.3', 3),
00522 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.4', 4),
00523 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.5', 5),
00524 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.6', 6),
00525 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.7', 7),
00526 Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.8', 8)
00527 )
00528 )
00529 ),
00530 'image_compression' => Array (
00531 'exclude' => 1,
00532 'label' => 'LLL:EXT:cms/locallang_ttc.php:image_compression',
00533 'config' => Array (
00534 'type' => 'select',
00535 'items' => Array (
00536 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
00537 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.1', 1),
00538 Array('GIF/256', 10),
00539 Array('GIF/128', 11),
00540 Array('GIF/64', 12),
00541 Array('GIF/32', 13),
00542 Array('GIF/16', 14),
00543 Array('GIF/8', 15),
00544 Array('PNG', 39),
00545 Array('PNG/256', 30),
00546 Array('PNG/128', 31),
00547 Array('PNG/64', 32),
00548 Array('PNG/32', 33),
00549 Array('PNG/16', 34),
00550 Array('PNG/8', 35),
00551 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.15', 21),
00552 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.16', 22),
00553 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.17', 24),
00554 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.18', 26),
00555 Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.19', 28)
00556 )
00557 )
00558 ),
00559 'imagecols' => Array (
00560 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecols',
00561 'config' => Array (
00562 'type' => 'select',
00563 'items' => Array (
00564 Array('1', 0),
00565 Array('2', 2),
00566 Array('3', 3),
00567 Array('4', 4),
00568 Array('5', 5),
00569 Array('6', 6),
00570 Array('7', 7),
00571 Array('8', 8)
00572 ),
00573 'default' => 0
00574 )
00575 ),
00576 'imagecaption' => Array (
00577 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.caption',
00578 'config' => Array (
00579 'type' => 'text',
00580 'cols' => '30',
00581 'rows' => '3'
00582 )
00583 ),
00584 'imagecaption_position' => Array (
00585 'exclude' => 1,
00586 'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
00587 'config' => Array (
00588 'type' => 'select',
00589 'items' => Array (
00590 Array('', ''),
00591 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.1', 'center'),
00592 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.2', 'right'),
00593 Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.3', 'left')
00594 ),
00595 'default' => ''
00596 )
00597 ),
00598 'cols' => Array (
00599 'label' => 'LLL:EXT:cms/locallang_ttc.php:cols',
00600 'config' => Array (
00601 'type' => 'select',
00602 'items' => Array (
00603 Array('LLL:EXT:cms/locallang_ttc.php:cols.I.0', '0'),
00604 Array('1', '1'),
00605 Array('2', '2'),
00606 Array('3', '3'),
00607 Array('4', '4'),
00608 Array('5', '5'),
00609 Array('6', '6'),
00610 Array('7', '7'),
00611 Array('8', '8'),
00612 Array('9', '9')
00613 ),
00614 'default' => '0'
00615 )
00616 ),
00617 'pages' => Array (
00618 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.startingpoint',
00619 'config' => Array (
00620 'type' => 'group',
00621 'internal_type' => 'db',
00622 'allowed' => 'pages',
00623 'size' => '3',
00624 'maxitems' => '22',
00625 'minitems' => '0',
00626 'show_thumbs' => '1'
00627 )
00628 ),
00629 'recursive' => Array (
00630 'exclude' => 1,
00631 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.recursive',
00632 'config' => Array (
00633 'type' => 'select',
00634 'items' => Array (
00635 Array('', '0'),
00636 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.1', '1'),
00637 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.2', '2'),
00638 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.3', '3'),
00639 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.4', '4'),
00640 Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.5', '250')
00641 ),
00642 'default' => '0'
00643 )
00644 ),
00645 'menu_type' => Array (
00646 'label' => 'LLL:EXT:cms/locallang_ttc.php:menu_type',
00647 'config' => Array (
00648 'type' => 'select',
00649 'items' => Array (
00650 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.0', '0'),
00651 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.1', '1'),
00652 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.2', '4'),
00653 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.3', '7'),
00654 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.4', '2'),
00655 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.5', '3'),
00656 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.6', '5'),
00657 Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.7', '6')
00658 ),
00659 'default' => '0'
00660 )
00661 ),
00662 'list_type' => Array (
00663 'label' => 'LLL:EXT:cms/locallang_ttc.php:list_type',
00664 'config' => Array (
00665 'type' => 'select',
00666 'items' => Array (
00667 Array('','')
00668 ),
00669 'default' => '',
00670 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
00671 )
00672 ),
00673 'select_key' => Array (
00674 'exclude' => 1,
00675 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
00676 'config' => Array (
00677 'type' => 'input',
00678 'size' => '20',
00679 'max' => '80',
00680 'eval' => 'trim'
00681 )
00682 ),
00683 'table_bgColor' => Array (
00684 'exclude' => 1,
00685 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_bgColor',
00686 'config' => Array (
00687 'type' => 'select',
00688 'items' => Array (
00689 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
00690 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.1', '1'),
00691 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.2', '2'),
00692 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.3', '200'),
00693 Array('-----','--div--'),
00694 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.5', '240'),
00695 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.6', '241'),
00696 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.7', '242'),
00697 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.8', '243'),
00698 Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.9', '244')
00699 ),
00700 'default' => '0'
00701 )
00702 ),
00703 'table_border' => Array (
00704 'exclude' => 1,
00705 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_border',
00706 'config' => Array (
00707 'type' => 'input',
00708 'size' => '3',
00709 'max' => '3',
00710 'eval' => 'int',
00711 'checkbox' => '0',
00712 'range' => Array (
00713 'upper' => '20',
00714 'lower' => '0'
00715 ),
00716 'default' => 0
00717 )
00718 ),
00719 'table_cellspacing' => Array (
00720 'exclude' => 1,
00721 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
00722 'config' => Array (
00723 'type' => 'input',
00724 'size' => '3',
00725 'max' => '3',
00726 'eval' => 'int',
00727 'checkbox' => '0',
00728 'range' => Array (
00729 'upper' => '200',
00730 'lower' => '0'
00731 ),
00732 'default' => 0
00733 )
00734 ),
00735 'table_cellpadding' => Array (
00736 'exclude' => 1,
00737 'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
00738 'config' => Array (
00739 'type' => 'input',
00740 'size' => '3',
00741 'max' => '3',
00742 'eval' => 'int',
00743 'checkbox' => '0',
00744 'range' => Array (
00745 'upper' => '200',
00746 'lower' => '0'
00747 ),
00748 'default' => 0
00749 )
00750 ),
00751 'media' => Array (
00752 'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
00753 'config' => Array (
00754 'type' => 'group',
00755 'internal_type' => 'file',
00756 'allowed' => '',
00757 'disallowed' => 'php,php3',
00758 'max_size' => '10000',
00759 'uploadfolder' => 'uploads/media',
00760 'show_thumbs' => '1',
00761 'size' => '3',
00762 'maxitems' => '10',
00763 'minitems' => '0'
00764 )
00765 ),
00766 'multimedia' => Array (
00767 'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
00768 'config' => Array (
00769 'type' => 'group',
00770 'internal_type' => 'file',
00771 'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3',
00772 'max_size' => '10000',
00773 'uploadfolder' => 'uploads/media',
00774 'size' => '2',
00775 'maxitems' => '1',
00776 'minitems' => '0'
00777 )
00778 ),
00779 'filelink_size' => Array (
00780 'label' => 'LLL:EXT:cms/locallang_ttc.php:filelink_size',
00781 'config' => Array (
00782 'type' => 'check'
00783 )
00784 ),
00785 'records' => Array (
00786 'label' => 'LLL:EXT:cms/locallang_ttc.php:records',
00787 'config' => Array (
00788 'type' => 'group',
00789 'internal_type' => 'db',
00790 'allowed' => 'tt_content',
00791 'size' => '5',
00792 'maxitems' => '200',
00793 'minitems' => '0',
00794 'show_thumbs' => '1'
00795 )
00796 ),
00797 'spaceBefore' => Array (
00798 'exclude' => 1,
00799 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceBefore',
00800 'config' => Array (
00801 'type' => 'input',
00802 'size' => '3',
00803 'max' => '3',
00804 'eval' => 'int',
00805 'checkbox' => '0',
00806 'range' => Array (
00807 'upper' => '50',
00808 'lower' => '0'
00809 ),
00810 'default' => 0
00811 )
00812 ),
00813 'spaceAfter' => Array (
00814 'exclude' => 1,
00815 'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceAfter',
00816 'config' => Array (
00817 'type' => 'input',
00818 'size' => '3',
00819 'max' => '3',
00820 'eval' => 'int',
00821 'checkbox' => '0',
00822 'range' => Array (
00823 'upper' => '50',
00824 'lower' => '0'
00825 ),
00826 'default' => 0
00827 )
00828 ),
00829 'section_frame' => Array (
00830 'exclude' => 1,
00831 'label' => 'LLL:EXT:cms/locallang_ttc.php:section_frame',
00832 'config' => Array (
00833 'type' => 'select',
00834 'items' => Array (
00835 Array('', '0'),
00836 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.1', '1'),
00837 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.2', '5'),
00838 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.3', '6'),
00839 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.4', '10'),
00840 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.5', '11'),
00841 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.6', '12'),
00842 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.7', '20'),
00843 Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.8', '21')
00844 ),
00845 'default' => '0'
00846 )
00847 ),
00848 'splash_layout' => Array (
00849 'exclude' => 1,
00850 'label' => 'LLL:EXT:cms/locallang_ttc.php:splash_layout',
00851 'config' => Array (
00852 'type' => 'select',
00853 'items' => Array (
00854 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
00855 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.1', '1'),
00856 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.2', '2'),
00857 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.3', '3'),
00858 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.4', '--div--'),
00859 Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.5', '20'),
00860 ),
00861 'default' => '0'
00862 )
00863 ),
00864 'sectionIndex' => Array (
00865 'exclude' => 1,
00866 'label' => 'LLL:EXT:cms/locallang_ttc.php:sectionIndex',
00867 'config' => Array (
00868 'type' => 'check',
00869 'default' => 1
00870 )
00871 ),
00872 'linkToTop' => Array (
00873 'exclude' => 1,
00874 'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
00875 'config' => Array (
00876 'type' => 'check'
00877 )
00878 ),
00879 'rte_enabled' => Array (
00880 'exclude' => 1,
00881 'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
00882 'config' => Array (
00883 'type' => 'check',
00884 'showIfRTE' => 1
00885 )
00886 ),
00887 'pi_flexform' => array(
00888 'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
00889 'config' => Array (
00890 'type' => 'flex',
00891 'ds_pointerField' => 'list_type',
00892 'ds' => array(
00893 'default' => '
00894 <T3DataStructure>
00895 <ROOT>
00896 <type>array</type>
00897 <el>
00898 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
00899 <xmlTitle>
00900 <TCEforms>
00901 <label>The Title:</label>
00902 <config>
00903 <type>input</type>
00904 <size>48</size>
00905 </config>
00906 </TCEforms>
00907 </xmlTitle>
00908 </el>
00909 </ROOT>
00910 </T3DataStructure>
00911 ',
00912 )
00913 )
00914 ),
00915 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
00916 'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
00917 't3ver_label' => Array (
00918 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
00919 'config' => Array (
00920 'type' => 'input',
00921 'size' => '30',
00922 'max' => '30',
00923 )
00924 ),
00925 ),
00926 'types' => Array (
00927 '1' => Array('showitem' => 'CType'),
00928 'header' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, subheader;;8'),
00929 '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'),
00930 '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,
00931 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
00932 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
00933 imagecaption;;5'),
00934 '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'),
00935 'image' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
00936 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
00937 --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
00938 imagecaption;;5'),
00939 'bullets' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties'),
00940 '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'),
00941 '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'),
00942 'uploads' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, media;;;;5-5-5,
00943 select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
00944 layout;;10;button, filelink_size,
00945 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap'),
00946 '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'),
00947 '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,
00948 imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script'),
00949 'menu' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, menu_type;;;;5-5-5, pages'),
00950 'mailform' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
00951 bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];5-5-5,
00952 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
00953 subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform'),
00954 'search' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
00955 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search;;;5-5-5'),
00956 'login' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
00957 pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login;;;5-5-5'),
00958 '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'),
00959 'list' => Array(
00960 'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, --div--, list_type;;;;5-5-5, layout, select_key, pages;;12',
00961 'subtype_value_field' => 'list_type',
00962 'subtypes_excludelist' => Array(
00963 '' => 'layout,select_key,pages',
00964 '3' => 'layout',
00965
00966 '2' => 'layout',
00967 '5' => 'layout',
00968 '9' => 'layout',
00969 '0' => 'layout',
00970 '6' => 'layout',
00971 '7' => 'layout',
00972 '1' => 'layout',
00973 '8' => 'layout',
00974 'indexed_search' => 'layout',
00975 '11' => 'layout',
00976 '20' => 'layout',
00977 '21' => 'layout'
00978 )
00979 ),
00980 'div' => Array('showitem' => 'CType;;14;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2'),
00981 'html' => Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
00982 bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap;3-3-3')
00983 ),
00984 'palettes' => Array (
00985 '1' => Array('showitem' => 'hidden, starttime, endtime, fe_group'),
00986 '2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
00987 '3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
00988 '4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex, linkToTop'),
00989 '5' => Array('showitem' => 'imagecaption_position'),
00990 '6' => Array('showitem' => 'imagewidth,image_link'),
00991 '7' => Array('showitem' => 'image_link, image_zoom'),
00992 '8' => Array('showitem' => 'layout'),
00993 '9' => Array('showitem' => 'text_align,text_face,text_size,text_color'),
00994 '10' => Array('showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'),
00995 '11' => Array('showitem' => 'image_compression, image_effects, image_frames'),
00996 '12' => Array('showitem' => 'recursive'),
00997 '13' => Array('showitem' => 'imageheight'),
00998 '14' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos')
00999 )
01000 );
01001
01002
01003
01004 ?>