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