|
TYPO3 API
SVNRelease
|
00001 <?php 00002 /*************************************************************** 00003 * Copyright notice 00004 * 00005 * (c) 1999-2011 Kasper Skårhøj (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 ***************************************************************/ 00027 /** 00028 * Dynamic configuation of the system-related tables, typ. sys_* series 00029 * 00030 * $Id: tbl_cms.php 10204 2011-01-21 12:29:53Z flyguide $ 00031 * 00032 * @author Kasper Skårhøj <kasperYYYY@typo3.com> 00033 */ 00034 00035 00036 00037 00038 00039 // ****************************************************************** 00040 // fe_users 00041 // 00042 // FrontEnd users - login on the website 00043 // ****************************************************************** 00044 $TCA['fe_users'] = array( 00045 'ctrl' => $TCA['fe_users']['ctrl'], 00046 'interface' => array( 00047 'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,first_name,middle_name,last_name,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime,lastlogin', 00048 ), 00049 'feInterface' => $TCA['fe_users']['feInterface'], 00050 'columns' => array( 00051 'username' => array( 00052 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.username', 00053 'config' => array( 00054 'type' => 'input', 00055 'size' => '20', 00056 'max' => '50', 00057 'eval' => 'nospace,lower,uniqueInPid,required' 00058 ) 00059 ), 00060 'password' => array( 00061 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.password', 00062 'config' => array( 00063 'type' => 'input', 00064 'size' => '10', 00065 'max' => '40', 00066 'eval' => 'nospace,required,password' 00067 ) 00068 ), 00069 'usergroup' => array( 00070 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.usergroup', 00071 'config' => array( 00072 'type' => 'select', 00073 'foreign_table' => 'fe_groups', 00074 'foreign_table_where' => 'ORDER BY fe_groups.title', 00075 'size' => '6', 00076 'minitems' => '1', 00077 'maxitems' => '50' 00078 ) 00079 ), 00080 'lockToDomain' => array( 00081 'exclude' => 1, 00082 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.lockToDomain', 00083 'config' => array( 00084 'type' => 'input', 00085 'size' => '20', 00086 'eval' => 'trim', 00087 'max' => '50', 00088 'softref' => 'substitute' 00089 ) 00090 ), 00091 'name' => array( 00092 'exclude' => 1, 00093 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.name', 00094 'config' => array( 00095 'type' => 'input', 00096 'size' => '40', 00097 'eval' => 'trim', 00098 'max' => '80' 00099 ) 00100 ), 00101 'first_name' => array( 00102 'exclude' => 1, 00103 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.first_name', 00104 'config' => array( 00105 'type' => 'input', 00106 'size' => '25', 00107 'eval' => 'trim', 00108 'max' => '50' 00109 ) 00110 ), 00111 'middle_name' => array( 00112 'exclude' => 1, 00113 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.middle_name', 00114 'config' => array( 00115 'type' => 'input', 00116 'size' => '25', 00117 'eval' => 'trim', 00118 'max' => '50' 00119 ) 00120 ), 00121 'last_name' => array( 00122 'exclude' => 1, 00123 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.last_name', 00124 'config' => array( 00125 'type' => 'input', 00126 'size' => '25', 00127 'eval' => 'trim', 00128 'max' => '50' 00129 ) 00130 ), 00131 'address' => array( 00132 'exclude' => 1, 00133 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.address', 00134 'config' => array( 00135 'type' => 'text', 00136 'cols' => '20', 00137 'rows' => '3' 00138 ) 00139 ), 00140 'telephone' => array( 00141 'exclude' => 1, 00142 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.phone', 00143 'config' => array( 00144 'type' => 'input', 00145 'eval' => 'trim', 00146 'size' => '20', 00147 'max' => '20' 00148 ) 00149 ), 00150 'fax' => array( 00151 'exclude' => 1, 00152 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fax', 00153 'config' => array( 00154 'type' => 'input', 00155 'size' => '20', 00156 'eval' => 'trim', 00157 'max' => '20' 00158 ) 00159 ), 00160 'email' => array( 00161 'exclude' => 1, 00162 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email', 00163 'config' => array( 00164 'type' => 'input', 00165 'size' => '20', 00166 'eval' => 'trim', 00167 'max' => '80' 00168 ) 00169 ), 00170 'title' => array( 00171 'exclude' => 1, 00172 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.title_person', 00173 'config' => array( 00174 'type' => 'input', 00175 'size' => '20', 00176 'eval' => 'trim', 00177 'max' => '40' 00178 ) 00179 ), 00180 'zip' => array( 00181 'exclude' => 1, 00182 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.zip', 00183 'config' => array( 00184 'type' => 'input', 00185 'eval' => 'trim', 00186 'size' => '10', 00187 'max' => '10' 00188 ) 00189 ), 00190 'city' => array( 00191 'exclude' => 1, 00192 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.city', 00193 'config' => array( 00194 'type' => 'input', 00195 'size' => '20', 00196 'eval' => 'trim', 00197 'max' => '50' 00198 ) 00199 ), 00200 'country' => array( 00201 'exclude' => 1, 00202 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.country', 00203 'config' => array( 00204 'type' => 'input', 00205 'size' => '20', 00206 'eval' => 'trim', 00207 'max' => '40' 00208 ) 00209 ), 00210 'www' => array( 00211 'exclude' => 1, 00212 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.www', 00213 'config' => array( 00214 'type' => 'input', 00215 'eval' => 'trim', 00216 'size' => '20', 00217 'max' => '80' 00218 ) 00219 ), 00220 'company' => array( 00221 'exclude' => 1, 00222 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.company', 00223 'config' => array( 00224 'type' => 'input', 00225 'eval' => 'trim', 00226 'size' => '20', 00227 'max' => '80' 00228 ) 00229 ), 00230 'image' => array( 00231 'exclude' => 1, 00232 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.image', 00233 'config' => array( 00234 'type' => 'group', 00235 'internal_type' => 'file', 00236 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 00237 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 00238 'uploadfolder' => 'uploads/pics', 00239 'show_thumbs' => '1', 00240 'size' => '3', 00241 'maxitems' => '6', 00242 'minitems' => '0' 00243 ) 00244 ), 00245 'disable' => array( 00246 'exclude' => 1, 00247 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 00248 'config' => array( 00249 'type' => 'check' 00250 ) 00251 ), 00252 'starttime' => array( 00253 'exclude' => 1, 00254 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 00255 'config' => array( 00256 'type' => 'input', 00257 'size' => '8', 00258 'max' => '20', 00259 'eval' => 'date', 00260 'default' => '0', 00261 ) 00262 ), 00263 'endtime' => array( 00264 'exclude' => 1, 00265 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 00266 'config' => array( 00267 'type' => 'input', 00268 'size' => '8', 00269 'max' => '20', 00270 'eval' => 'date', 00271 'default' => '0', 00272 'range' => array( 00273 'upper' => mktime(0,0,0,12,31,2020), 00274 ) 00275 ) 00276 ), 00277 'TSconfig' => array( 00278 'exclude' => 1, 00279 'label' => 'TSconfig:', 00280 'config' => array( 00281 'type' => 'text', 00282 'cols' => '40', 00283 'rows' => '10', 00284 'wizards' => array( 00285 '_PADDING' => 4, 00286 '0' => array( 00287 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'', 00288 'title' => 'TSconfig QuickReference', 00289 'script' => 'wizard_tsconfig.php?mode=fe_users', 00290 'icon' => 'wizard_tsconfig.gif', 00291 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1', 00292 ) 00293 ), 00294 'softref' => 'TSconfig' 00295 ), 00296 'defaultExtras' => 'fixed-font : enable-tab', 00297 ), 00298 'lastlogin' => array( 00299 'exclude' => 1, 00300 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.lastlogin', 00301 'config' => array( 00302 'type' => 'input', 00303 'readOnly' => '1', 00304 'size' => '12', 00305 'eval' => 'datetime', 00306 'default' => 0, 00307 ) 00308 ) 00309 ), 00310 'types' => array( 00311 '0' => array('showitem' => ' 00312 disable,username;;;;1-1-1, password, usergroup, lastlogin;;;;1-1-1, 00313 --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2, 00314 --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2, 00315 --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.access, starttime, endtime, 00316 --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.extended 00317 00318 ') 00319 ), 00320 'palettes' => array( 00321 '1' => array('showitem' => 'title'), 00322 '2' => array('showitem' => 'first_name,--linebreak--,middle_name,--linebreak--,last_name') 00323 ) 00324 ); 00325 00326 00327 00328 00329 00330 // ****************************************************************** 00331 // fe_groups 00332 // 00333 // FrontEnd usergroups - Membership of these determines access to elements 00334 // ****************************************************************** 00335 $TCA['fe_groups'] = array( 00336 'ctrl' => $TCA['fe_groups']['ctrl'], 00337 'interface' => array( 00338 'showRecordFieldList' => 'title,hidden,subgroup,lockToDomain,description' 00339 ), 00340 'columns' => array( 00341 'hidden' => array( 00342 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 00343 'exclude' => 1, 00344 'config' => array( 00345 'type' => 'check', 00346 'default' => '0' 00347 ) 00348 ), 00349 'title' => array( 00350 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.title', 00351 'config' => array( 00352 'type' => 'input', 00353 'size' => '20', 00354 'max' => '50', 00355 'eval' => 'trim,required' 00356 ) 00357 ), 00358 'subgroup' => array( 00359 'exclude' => 1, 00360 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.subgroup', 00361 'config' => array( 00362 'type' => 'select', 00363 'foreign_table' => 'fe_groups', 00364 'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title', 00365 'size' => 6, 00366 'autoSizeMax' => 10, 00367 'minitems' => 0, 00368 'maxitems' => 20 00369 ) 00370 ), 00371 'lockToDomain' => array( 00372 'exclude' => 1, 00373 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.lockToDomain', 00374 'config' => array( 00375 'type' => 'input', 00376 'size' => '20', 00377 'eval' => 'trim', 00378 'max' => '50', 00379 ) 00380 ), 00381 'description' => array( 00382 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description', 00383 'config' => array( 00384 'type' => 'text', 00385 'rows' => 5, 00386 'cols' => 48 00387 ) 00388 ), 00389 'TSconfig' => array( 00390 'exclude' => 1, 00391 'label' => 'TSconfig:', 00392 'config' => array( 00393 'type' => 'text', 00394 'cols' => '40', 00395 'rows' => '10', 00396 'wizards' => array( 00397 '_PADDING' => 4, 00398 '0' => array( 00399 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'', 00400 'title' => 'TSconfig QuickReference', 00401 'script' => 'wizard_tsconfig.php?mode=fe_users', 00402 'icon' => 'wizard_tsconfig.gif', 00403 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1', 00404 ) 00405 ), 00406 'softref' => 'TSconfig' 00407 ), 00408 'defaultExtras' => 'fixed-font : enable-tab', 00409 ) 00410 ), 00411 'types' => array( 00412 '0' => array('showitem' => ' 00413 hidden;;;;1-1-1,title;;;;2-2-2,description,subgroup;;;;3-3-3, 00414 --div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2, 00415 --div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.extended 00416 ') 00417 ) 00418 ); 00419 00420 00421 00422 00423 // ****************************************************************** 00424 // sys_domain 00425 // ****************************************************************** 00426 $TCA['sys_domain'] = array( 00427 'ctrl' => $TCA['sys_domain']['ctrl'], 00428 'interface' => array( 00429 'showRecordFieldList' => 'hidden,domainName,redirectTo' 00430 ), 00431 'columns' => array( 00432 'domainName' => array( 00433 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.domainName', 00434 'config' => array( 00435 'type' => 'input', 00436 'size' => '35', 00437 'max' => '80', 00438 'eval' => 'required,unique,lower,trim', 00439 'softref' => 'substitute' 00440 ), 00441 ), 00442 'redirectTo' => array( 00443 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectTo', 00444 'config' => array( 00445 'type' => 'input', 00446 'size' => '35', 00447 'max' => '120', 00448 'default' => '', 00449 'eval' => 'trim', 00450 'softref' => 'substitute' 00451 ), 00452 ), 00453 'redirectHttpStatusCode' => array( 00454 'exclude' => 1, 00455 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode', 00456 'config' => array( 00457 'type' => 'select', 00458 'items' => array( 00459 array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.301', '301'), 00460 array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.302', '302'), 00461 array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.303', '303'), 00462 array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.307', '307'), 00463 ), 00464 'size' => 1, 00465 'maxitems' => 1, 00466 ), 00467 ), 00468 'hidden' => array( 00469 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 00470 'exclude' => 1, 00471 'config' => array( 00472 'type' => 'check', 00473 'default' => '0' 00474 ) 00475 ), 00476 'prepend_params' => array( 00477 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.prepend_params', 00478 'exclude' => 1, 00479 'config' => array( 00480 'type' => 'check', 00481 'default' => '0' 00482 ) 00483 ), 00484 'forced' => array( 00485 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.forced', 00486 'exclude' => 1, 00487 'config' => array( 00488 'type' => 'check', 00489 'default' => '1' 00490 ) 00491 ) 00492 ), 00493 'types' => array( 00494 '1' => array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params,forced;;;;4-4-4') 00495 ), 00496 'palettes' => array( 00497 '1' => array('showitem' => 'redirectTo, redirectHttpStatusCode') 00498 ) 00499 ); 00500 00501 00502 00503 00504 00505 // ****************************************************************** 00506 // pages_language_overlay 00507 // ****************************************************************** 00508 $TCA['pages_language_overlay'] = array( 00509 'ctrl' => $TCA['pages_language_overlay']['ctrl'], 00510 'interface' => array( 00511 'showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract' 00512 ), 00513 'columns' => array( 00514 'doktype' => $TCA['pages']['columns']['doktype'], 00515 'hidden' => array( 00516 'exclude' => 1, 00517 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden', 00518 'config' => array( 00519 'type' => 'check', 00520 'default' => '0', 00521 'items' => array( 00522 '1' => array( 00523 '0' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden_checkbox_1_formlabel', 00524 ), 00525 ), 00526 ) 00527 ), 00528 'starttime' => array( 00529 'exclude' => 1, 00530 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 00531 'config' => array( 00532 'type' => 'input', 00533 'size' => '8', 00534 'max' => '20', 00535 'eval' => 'date', 00536 'default' => '0' 00537 ) 00538 ), 00539 'endtime' => array( 00540 'exclude' => 1, 00541 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 00542 'config' => array( 00543 'type' => 'input', 00544 'size' => '8', 00545 'max' => '20', 00546 'eval' => 'date', 00547 'default' => '0', 00548 'range' => array( 00549 'upper' => mktime(0,0,0,12,31,2020), 00550 ) 00551 ) 00552 ), 00553 'title' => array( 00554 'l10n_mode' => 'prefixLangTitle', 00555 'label' => $TCA['pages']['columns']['title']['label'], 00556 'l10n_cat' => 'text', 00557 'config' => array( 00558 'type' => 'input', 00559 'size' => '50', 00560 'max' => '255', 00561 'eval' => 'trim,required', 00562 ) 00563 ), 00564 'subtitle' => array( 00565 'exclude' => 1, 00566 'l10n_cat' => 'text', 00567 'label' => $TCA['pages']['columns']['subtitle']['label'], 00568 'config' => array( 00569 'type' => 'input', 00570 'size' => '50', 00571 'max' => '255', 00572 'eval' => 'trim', 00573 ) 00574 ), 00575 'nav_title' => array( 00576 'exclude' => 1, 00577 'l10n_cat' => 'text', 00578 'label' => $TCA['pages']['columns']['nav_title']['label'], 00579 'config' => array( 00580 'type' => 'input', 00581 'size' => '50', 00582 'max' => '255', 00583 'eval' => 'trim', 00584 ) 00585 ), 00586 'keywords' => array( 00587 'exclude' => 1, 00588 'label' => $TCA['pages']['columns']['keywords']['label'], 00589 'config' => array( 00590 'type' => 'text', 00591 'cols' => '40', 00592 'rows' => '3' 00593 ) 00594 ), 00595 'description' => array( 00596 'exclude' => 1, 00597 'label' => $TCA['pages']['columns']['description']['label'], 00598 'config' => array( 00599 'type' => 'text', 00600 'cols' => '40', 00601 'rows' => '3' 00602 ) 00603 ), 00604 'abstract' => array( 00605 'exclude' => 1, 00606 'label' => $TCA['pages']['columns']['abstract']['label'], 00607 'config' => array( 00608 'type' => 'text', 00609 'cols' => '40', 00610 'rows' => '3' 00611 ) 00612 ), 00613 'author' => array( 00614 'exclude' => 1, 00615 'label' => $TCA['pages']['columns']['author']['label'], 00616 'config' => array( 00617 'type' => 'input', 00618 'size' => '23', 00619 'eval' => 'trim', 00620 'max' => '80', 00621 ) 00622 ), 00623 'author_email' => array( 00624 'exclude' => 1, 00625 'label' => $TCA['pages']['columns']['author_email']['label'], 00626 'config' => array( 00627 'type' => 'input', 00628 'size' => '23', 00629 'eval' => 'trim', 00630 'max' => '80', 00631 'softref' => 'email[subst]', 00632 ) 00633 ), 00634 'media' => array( 00635 'exclude' => 1, 00636 'label' => $TCA['pages']['columns']['media']['label'], 00637 'config' => array( 00638 'type' => 'group', 00639 'internal_type' => 'file', 00640 'allowed' => $TCA['pages']['columns']['media']['config']['allowed'], 00641 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 00642 'uploadfolder' => 'uploads/media', 00643 'show_thumbs' => '1', 00644 'size' => '3', 00645 'maxitems' => '5', 00646 'minitems' => '0' 00647 ) 00648 ), 00649 'url' => array( 00650 'exclude' => 1, 00651 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url', 00652 'config' => array( 00653 'type' => 'input', 00654 'size' => '23', 00655 'max' => '255', 00656 'eval' => 'trim', 00657 'softref' => 'url', 00658 ) 00659 ), 00660 'urltype' => array( 00661 'exclude' => 1, 00662 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type', 00663 'config' => array( 00664 'type' => 'select', 00665 'items' => $TCA['pages']['columns']['urltype']['config']['items'], 00666 'default' => '1' 00667 ) 00668 ), 00669 'shortcut' => array ( 00670 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page', 00671 'config' => array ( 00672 'type' => 'group', 00673 'internal_type' => 'db', 00674 'allowed' => 'pages', 00675 'size' => '1', 00676 'maxitems' => '1', 00677 'minitems' => '0', 00678 'show_thumbs' => '1', 00679 'wizards' => array( 00680 'suggest' => array( 00681 'type' => 'suggest', 00682 ), 00683 ), 00684 ), 00685 ), 00686 'shortcut_mode' => array ( 00687 'exclude' => 1, 00688 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode', 00689 'config' => array ( 00690 'type' => 'select', 00691 'items' => $TCA['pages']['columns']['shortcut_mode']['config']['items'], 00692 'default' => '0' 00693 ) 00694 ), 00695 'sys_language_uid' => array( 00696 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', 00697 'config' => array( 00698 'type' => 'select', 00699 'foreign_table' => 'sys_language', 00700 'foreign_table_where' => 'ORDER BY sys_language.title', 00701 'items' => array( 00702 array('LLL:EXT:lang/locallang_general.xml:LGL.default_value',0) 00703 ) 00704 ) 00705 ), 00706 'tx_impexp_origuid' => array('config'=>array('type'=>'passthrough')), 00707 'l18n_diffsource' => array('config'=>array('type'=>'passthrough')), 00708 't3ver_label' => array( 00709 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel', 00710 'config' => array( 00711 'type' => 'input', 00712 'size' => '30', 00713 'max' => '255', 00714 ) 00715 ), 00716 ), 00717 'types' => array( 00718 // normal 00719 (string) t3lib_pageSelect::DOKTYPE_DEFAULT => array( 00720 'showitem' => 00721 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00722 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title, 00723 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00724 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00725 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00726 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata, 00727 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract, 00728 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.metatags;metatags, 00729 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial, 00730 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00731 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00732 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00733 '), 00734 // external URL 00735 (string) t3lib_pageSelect::DOKTYPE_LINK => array( 00736 'showitem' => 00737 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.external;external, 00738 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title, 00739 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00740 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00741 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00742 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata, 00743 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract, 00744 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial, 00745 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00746 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00747 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00748 '), 00749 // shortcut 00750 (string) t3lib_pageSelect::DOKTYPE_SHORTCUT => array( 00751 'showitem' => 00752 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.shortcut;shortcut, 00753 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.shortcutpage;shortcutpage, 00754 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title, 00755 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00756 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00757 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00758 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata, 00759 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract, 00760 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial, 00761 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00762 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00763 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00764 '), 00765 // not in menu 00766 (string) t3lib_pageSelect::DOKTYPE_HIDE_IN_MENU => array( 00767 'showitem' => 00768 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00769 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title, 00770 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00771 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00772 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00773 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata, 00774 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract, 00775 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.metatags;metatags, 00776 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial, 00777 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00778 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00779 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00780 '), 00781 // mount page 00782 (string) t3lib_pageSelect::DOKTYPE_MOUNTPOINT => array( 00783 'showitem' => 00784 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00785 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title, 00786 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00787 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00788 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00789 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata, 00790 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract, 00791 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial, 00792 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00793 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00794 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00795 '), 00796 // spacer 00797 (string) t3lib_pageSelect::DOKTYPE_SPACER => array( 00798 'showitem' => 00799 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00800 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly, 00801 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00802 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00803 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access, 00804 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00805 '), 00806 // sysfolder 00807 (string) t3lib_pageSelect::DOKTYPE_SYSFOLDER => array( 00808 'showitem' => 00809 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00810 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly, 00811 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00812 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00813 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources, 00814 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media, 00815 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00816 '), 00817 // trash 00818 (string) t3lib_pageSelect::DOKTYPE_RECYCLER => array( 00819 'showitem' => 00820 '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard, 00821 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly, 00822 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, 00823 --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly, 00824 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended, 00825 '), 00826 ), 00827 'palettes' => array( 00828 '5' => array('showitem' => 'author,author_email', 'canNotCollapse' => true), 00829 'standard' => array( 00830 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid', 00831 'canNotCollapse' => 1, 00832 ), 00833 'shortcut' => array( 00834 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid, shortcut_mode;LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode_formlabel', 00835 'canNotCollapse' => 1, 00836 ), 00837 'shortcutpage' => array( 00838 'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xml:pages.shortcut_formlabel', 00839 'canNotCollapse' => 1, 00840 ), 00841 'external' => array( 00842 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid, urltype;LLL:EXT:cms/locallang_tca.xml:pages.urltype_formlabel, url;LLL:EXT:cms/locallang_tca.xml:pages.url_formlabel', 00843 'canNotCollapse' => 1, 00844 ), 00845 'title' => array( 00846 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xml:pages.title_formlabel, --linebreak--, nav_title;LLL:EXT:cms/locallang_tca.xml:pages.nav_title_formlabel, --linebreak--, subtitle;LLL:EXT:cms/locallang_tca.xml:pages.subtitle_formlabel', 00847 'canNotCollapse' => 1, 00848 ), 00849 'titleonly' => array( 00850 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xml:pages.title_formlabel', 00851 'canNotCollapse' => 1, 00852 ), 00853 'hiddenonly' => array( 00854 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xml:pages.hidden_formlabel', 00855 'canNotCollapse' => 1, 00856 ), 00857 'access' => array( 00858 'showitem' => 'starttime;LLL:EXT:cms/locallang_tca.xml:pages.starttime_formlabel, endtime;LLL:EXT:cms/locallang_tca.xml:pages.endtime_formlabel', 00859 'canNotCollapse' => 1, 00860 ), 00861 'abstract' => array( 00862 'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xml:pages.abstract_formlabel', 00863 'canNotCollapse' => 1, 00864 ), 00865 'metatags' => array( 00866 'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xml:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xml:pages.description_formlabel', 00867 'canNotCollapse' => 1, 00868 ), 00869 'editorial' => array( 00870 'showitem' => 'author;LLL:EXT:cms/locallang_tca.xml:pages.author_formlabel, author_email;LLL:EXT:cms/locallang_tca.xml:pages.author_email_formlabel', 00871 'canNotCollapse' => 1, 00872 ), 00873 'language' => array( 00874 'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg_formlabel', 00875 'canNotCollapse' => 1, 00876 ), 00877 'media' => array( 00878 'showitem' => 'media;LLL:EXT:cms/locallang_tca.xml:pages.media_formlabel', 00879 'canNotCollapse' => 1, 00880 ) 00881 ) 00882 ); 00883 00884 00885 00886 // ****************************************************************** 00887 // sys_template 00888 // ****************************************************************** 00889 $TCA['sys_template'] = array( 00890 'ctrl' => $TCA['sys_template']['ctrl'], 00891 'interface' => array( 00892 'showRecordFieldList' => 'title,clear,root,basedOn,nextLevel,resources,sitetitle,description,hidden,starttime,endtime' 00893 ), 00894 'columns' => array( 00895 'title' => array( 00896 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.title', 00897 'config' => array( 00898 'type' => 'input', 00899 'size' => '25', 00900 'max' => '256', 00901 'eval' => 'required' 00902 ) 00903 ), 00904 'hidden' => array( 00905 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 00906 'exclude' => 1, 00907 'config' => array( 00908 'type' => 'check', 00909 'default' => '0' 00910 ) 00911 ), 00912 'starttime' => array( 00913 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 00914 'exclude' => 1, 00915 'config' => array( 00916 'type' => 'input', 00917 'size' => '8', 00918 'max' => '20', 00919 'eval' => 'date', 00920 'default' => '0' 00921 ) 00922 ), 00923 'endtime' => array( 00924 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 00925 'exclude' => 1, 00926 'config' => array( 00927 'type' => 'input', 00928 'size' => '8', 00929 'max' => '20', 00930 'eval' => 'date', 00931 'default' => '0', 00932 'range' => array( 00933 'upper' => mktime(0,0,0,12,31,2020), 00934 ) 00935 ) 00936 ), 00937 'root' => array( 00938 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.root', 00939 'config' => array( 00940 'type' => 'check' 00941 ) 00942 ), 00943 'clear' => array( 00944 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.clear', 00945 'config' => array( 00946 'type' => 'check', 00947 'items' => array( 00948 array('Constants', ''), 00949 array('Setup', '') 00950 ), 00951 'cols' => 2 00952 ) 00953 ), 00954 'sitetitle' => array( 00955 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.sitetitle', 00956 'config' => array( 00957 'type' => 'input', 00958 'size' => '25', 00959 'max' => '256' 00960 ) 00961 ), 00962 'constants' => array( 00963 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.constants', 00964 'config' => array( 00965 'type' => 'text', 00966 'cols' => '48', 00967 'rows' => '10', 00968 'wrap' => 'OFF', 00969 'softref' => 'TStemplate,email[subst],url[subst]' 00970 ), 00971 'defaultExtras' => 'fixed-font : enable-tab', 00972 ), 00973 'resources' => array( 00974 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.resources', 00975 'config' => array( 00976 'type' => 'group', 00977 'internal_type' => 'file', 00978 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico,js,xml', 00979 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 00980 'uploadfolder' => 'uploads/tf', 00981 'show_thumbs' => '1', 00982 'size' => '7', 00983 'maxitems' => '100', 00984 'minitems' => '0' 00985 ) 00986 ), 00987 'nextLevel' => array( 00988 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.nextLevel', 00989 'config' => array( 00990 'type' => 'group', 00991 'internal_type' => 'db', 00992 'allowed' => 'sys_template', 00993 'show_thumbs' => '1', 00994 'size' => '1', 00995 'maxitems' => '1', 00996 'minitems' => '0', 00997 'default' => '', 00998 'wizards' => array( 00999 'suggest' => array( 01000 'type' => 'suggest', 01001 ), 01002 ), 01003 ) 01004 ), 01005 'include_static_file' => array( 01006 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.include_static_file', 01007 'config' => array( 01008 'type' => 'select', 01009 'size' => 10, 01010 'maxitems' => 100, 01011 'items' => array( 01012 ), 01013 'softref' => 'ext_fileref' 01014 ) 01015 ), 01016 'basedOn' => array( 01017 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn', 01018 'config' => array( 01019 'type' => 'group', 01020 'internal_type' => 'db', 01021 'allowed' => 'sys_template', 01022 'show_thumbs' => '1', 01023 'size' => '3', 01024 'maxitems' => '50', 01025 'autoSizeMax' => 10, 01026 'minitems' => '0', 01027 'default' => '', 01028 'wizards' => array( 01029 '_PADDING' => 4, 01030 '_VERTICAL' => 1, 01031 'suggest' => array( 01032 'type' => 'suggest', 01033 ), 01034 'edit' => array( 01035 'type' => 'popup', 01036 'title' => 'Edit template', 01037 'script' => 'wizard_edit.php', 01038 'popup_onlyOpenIfSelected' => 1, 01039 'icon' => 'edit2.gif', 01040 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1', 01041 ), 01042 'add' => array( 01043 'type' => 'script', 01044 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn_add', 01045 'icon' => 'add.gif', 01046 'params' => array( 01047 'table'=>'sys_template', 01048 'pid' => '###CURRENT_PID###', 01049 'setValue' => 'prepend' 01050 ), 01051 'script' => 'wizard_add.php', 01052 ) 01053 ) 01054 ) 01055 ), 01056 'includeStaticAfterBasedOn' => array( 01057 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.includeStaticAfterBasedOn', 01058 'exclude' => 1, 01059 'config' => array( 01060 'type' => 'check', 01061 'default' => '0' 01062 ) 01063 ), 01064 'config' => array( 01065 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.config', 01066 'config' => array( 01067 'type' => 'text', 01068 'rows' => 10, 01069 'cols' => 48, 01070 'wizards' => array( 01071 '_PADDING' => 4, 01072 '0' => array( 01073 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'', 01074 'title' => 'TSref online', 01075 'script' => 'wizard_tsconfig.php?mode=tsref', 01076 'icon' => 'wizard_tsconfig.gif', 01077 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1', 01078 ) 01079 ), 01080 'wrap' => 'OFF', 01081 'softref' => 'TStemplate,email[subst],url[subst]' 01082 ), 01083 'defaultExtras' => 'fixed-font : enable-tab', 01084 ), 01085 'editorcfg' => array( 01086 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.editorcfg', 01087 'config' => array( 01088 'type' => 'text', 01089 'rows' => 8, 01090 'cols' => 48, 01091 'wrap' => 'OFF' 01092 ), 01093 'defaultExtras' => 'fixed-font : enable-tab', 01094 ), 01095 'description' => array( 01096 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.description', 01097 'config' => array( 01098 'type' => 'text', 01099 'rows' => 5, 01100 'cols' => 48 01101 ) 01102 ), 01103 'static_file_mode' => array( 01104 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode', 01105 'config' => array( 01106 'type' => 'select', 01107 'items' => array( 01108 array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.0', '0'), 01109 array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.1', '1'), 01110 array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.2', '2'), 01111 ), 01112 'default' => '0' 01113 ) 01114 ), 01115 'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')), 01116 't3ver_label' => array( 01117 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel', 01118 'config' => array( 01119 'type' => 'input', 01120 'size' => '30', 01121 'max' => '255', 01122 ) 01123 ), 01124 ), 01125 'types' => array( 01126 '1' => array('showitem' => ' 01127 hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, description;;;;4-4-4, 01128 --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.options, clear, root, nextLevel, editorcfg;;;;5-5-5, 01129 --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode, 01130 --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.files, resources, 01131 --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.access, starttime, endtime' 01132 ) 01133 ) 01134 ); 01135 01136 // ****************************************************************** 01137 // backend_layout 01138 // ****************************************************************** 01139 $TCA['backend_layout'] = array( 01140 'ctrl' => $TCA['backend_layout']['ctrl'], 01141 'interface' => array( 01142 'showRecordFieldList' => 'title,config,description,hidden,icon' 01143 ), 01144 'columns' => array( 01145 'title' => array( 01146 'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.title', 01147 'config' => array( 01148 'type' => 'input', 01149 'size' => '25', 01150 'max' => '256', 01151 'eval' => 'required' 01152 ) 01153 ), 01154 'description' => array( 01155 'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.description', 01156 'config' => array( 01157 'type' => 'text', 01158 'rows' => '5', 01159 'cols' => '25', 01160 ) 01161 ), 01162 'config' => array( 01163 'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.config', 01164 'config' => array( 01165 'type' => 'text', 01166 'rows' => '5', 01167 'cols' => '25', 01168 'wizards' => Array( 01169 '_PADDING' => 4, 01170 0 => Array( 01171 'title' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.wizard', 01172 'type' => 'popup', 01173 'icon' => t3lib_extMgm::extRelPath('cms').'layout/wizard_backend_layout.png', 01174 'script' => t3lib_extMgm::extRelPath('cms').'layout/wizard_backend_layout.php', 01175 'JSopenParams' => 'height=800,width=800,status=0,menubar=0,scrollbars=0', 01176 ), 01177 ), 01178 ) 01179 ), 01180 'hidden' => array( 01181 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 01182 'exclude' => 1, 01183 'config' => array( 01184 'type' => 'check', 01185 'default' => '0' 01186 ) 01187 ), 01188 'icon' => array( 01189 'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.icon', 01190 'exclude' => 1, 01191 'config' => array( 01192 'type' => 'group', 01193 'internal_type' => 'file', 01194 'allowed' => 'jpg,gif,png', 01195 'uploadfolder' => 'uploads/media', 01196 'show_thumbs' => 1, 01197 'size' => 1, 01198 'maxitems' => 1 01199 ) 01200 ), 01201 ), 01202 'types' => array( 01203 '1' => array('showitem' => 'hidden,title;;1;;2-2-2, icon, description, config') 01204 ) 01205 ); 01206 01207 01208 ?>
1.8.0