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