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