00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00039
00040
00041
00042
00043
00044 $TCA['fe_users'] = Array (
00045 'ctrl' => $TCA['fe_users']['ctrl'],
00046 'interface' => Array (
00047 'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,title,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime'
00048 ),
00049 'feInterface' => $TCA['fe_users']['feInterface'],
00050 'columns' => Array (
00051 'username' => Array (
00052 'label' => 'LLL:EXT:cms/locallang_tca.php: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.php:fe_users.password',
00062 'config' => Array (
00063 'type' => 'input',
00064 'size' => '10',
00065 'max' => '40',
00066 'eval' => 'nospace,lower,required'
00067 )
00068 ),
00069 'usergroup' => Array (
00070 'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.usergroup',
00071 'config' => Array (
00072 'type' => 'select',
00073 'foreign_table' => 'fe_groups',
00074 'size' => '3',
00075 'minitems' => '1',
00076 'maxitems' => '50'
00077 )
00078 ),
00079 'lockToDomain' => Array (
00080 'exclude' => 1,
00081 'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.lockToDomain',
00082 'config' => Array (
00083 'type' => 'input',
00084 'size' => '20',
00085 'eval' => 'trim',
00086 'max' => '50',
00087 'checkbox' => ''
00088 )
00089 ),
00090 'name' => Array (
00091 'exclude' => 1,
00092 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.name',
00093 'config' => Array (
00094 'type' => 'input',
00095 'size' => '40',
00096 'eval' => 'trim',
00097 'max' => '80'
00098 )
00099 ),
00100 'address' => Array (
00101 'exclude' => 1,
00102 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.address',
00103 'config' => Array (
00104 'type' => 'text',
00105 'cols' => '20',
00106 'rows' => '3'
00107 )
00108 ),
00109 'telephone' => Array (
00110 'exclude' => 1,
00111 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.phone',
00112 'config' => Array (
00113 'type' => 'input',
00114 'eval' => 'trim',
00115 'size' => '20',
00116 'max' => '20'
00117 )
00118 ),
00119 'fax' => Array (
00120 'exclude' => 1,
00121 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fax',
00122 'config' => Array (
00123 'type' => 'input',
00124 'size' => '20',
00125 'eval' => 'trim',
00126 'max' => '20'
00127 )
00128 ),
00129 'email' => Array (
00130 'exclude' => 1,
00131 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
00132 'config' => Array (
00133 'type' => 'input',
00134 'size' => '40',
00135 'eval' => 'trim',
00136 'max' => '80'
00137 )
00138 ),
00139 'title' => Array (
00140 'exclude' => 1,
00141 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title',
00142 'config' => Array (
00143 'type' => 'input',
00144 'size' => '20',
00145 'eval' => 'trim',
00146 'max' => '40'
00147 )
00148 ),
00149 'zip' => Array (
00150 'exclude' => 1,
00151 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.zip',
00152 'config' => Array (
00153 'type' => 'input',
00154 'eval' => 'trim',
00155 'size' => '10',
00156 'max' => '10'
00157 )
00158 ),
00159 'city' => Array (
00160 'exclude' => 1,
00161 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.city',
00162 'config' => Array (
00163 'type' => 'input',
00164 'size' => '20',
00165 'eval' => 'trim',
00166 'max' => '50'
00167 )
00168 ),
00169 'country' => Array (
00170 'exclude' => 1,
00171 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.country',
00172 'config' => Array (
00173 'type' => 'input',
00174 'size' => '20',
00175 'eval' => 'trim',
00176 'max' => '40'
00177 )
00178 ),
00179 'www' => Array (
00180 'exclude' => 1,
00181 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.www',
00182 'config' => Array (
00183 'type' => 'input',
00184 'eval' => 'trim',
00185 'size' => '20',
00186 'max' => '80'
00187 )
00188 ),
00189 'company' => Array (
00190 'exclude' => 1,
00191 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.company',
00192 'config' => Array (
00193 'type' => 'input',
00194 'eval' => 'trim',
00195 'size' => '20',
00196 'max' => '80'
00197 )
00198 ),
00199 'image' => Array (
00200 'exclude' => 1,
00201 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.image',
00202 'config' => Array (
00203 'type' => 'group',
00204 'internal_type' => 'file',
00205 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
00206 'max_size' => '1000',
00207 'uploadfolder' => 'uploads/pics',
00208 'show_thumbs' => '1',
00209 'size' => '3',
00210 'maxitems' => '6',
00211 'minitems' => '0'
00212 )
00213 ),
00214 'disable' => Array (
00215 'exclude' => 1,
00216 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
00217 'config' => Array (
00218 'type' => 'check'
00219 )
00220 ),
00221 'starttime' => Array (
00222 'exclude' => 1,
00223 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
00224 'config' => Array (
00225 'type' => 'input',
00226 'size' => '8',
00227 'max' => '20',
00228 'eval' => 'date',
00229 'default' => '0',
00230 'checkbox' => '0'
00231 )
00232 ),
00233 'endtime' => Array (
00234 'exclude' => 1,
00235 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
00236 'config' => Array (
00237 'type' => 'input',
00238 'size' => '8',
00239 'max' => '20',
00240 'eval' => 'date',
00241 'checkbox' => '0',
00242 'default' => '0',
00243 'range' => Array (
00244 'upper' => mktime(0,0,0,12,31,2020),
00245 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
00246 )
00247 )
00248 ),
00249 'TSconfig' => Array (
00250 'exclude' => 1,
00251 'label' => 'TSconfig:',
00252 'config' => Array (
00253 'type' => 'text',
00254 'cols' => '40',
00255 'rows' => '5',
00256 'wizards' => Array(
00257 '_PADDING' => 4,
00258 '0' => Array(
00259 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00260 'title' => 'TSconfig QuickReference',
00261 'script' => 'wizard_tsconfig.php?mode=fe_users',
00262 'icon' => 'wizard_tsconfig.gif',
00263 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00264 )
00265 )
00266 )
00267 )
00268 ),
00269 'types' => Array (
00270 '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, --div--, name;;2;;3-3-3, address, zip, city, country, telephone, fax, email, www, image;;;;4-4-4, --div--, TSconfig;;;;5-5-5')
00271 ),
00272 'palettes' => Array (
00273 '1' => Array('showitem' => 'disable, starttime, endtime'),
00274 '2' => Array('showitem' => 'title,company')
00275 )
00276 );
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287 $TCA['fe_groups'] = Array (
00288 'ctrl' => $TCA['fe_groups']['ctrl'],
00289 'interface' => Array (
00290 'showRecordFieldList' => 'title,hidden,lockToDomain,description'
00291 ),
00292 'columns' => Array (
00293 'hidden' => Array (
00294 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
00295 'exclude' => 1,
00296 'config' => Array (
00297 'type' => 'check',
00298 'default' => '0'
00299 )
00300 ),
00301 'title' => Array (
00302 'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.title',
00303 'config' => Array (
00304 'type' => 'input',
00305 'size' => '20',
00306 'max' => '20',
00307 'eval' => 'trim,required'
00308 )
00309 ),
00310 'lockToDomain' => Array (
00311 'exclude' => 1,
00312 'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.lockToDomain',
00313 'config' => Array (
00314 'type' => 'input',
00315 'size' => '20',
00316 'eval' => 'trim',
00317 'max' => '50',
00318 'checkbox' => ''
00319 )
00320 ),
00321 'description' => Array (
00322 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
00323 'config' => Array (
00324 'type' => 'text',
00325 'rows' => 5,
00326 'cols' => 48
00327 )
00328 ),
00329 'TSconfig' => Array (
00330 'exclude' => 1,
00331 'label' => 'TSconfig:',
00332 'config' => Array (
00333 'type' => 'text',
00334 'cols' => '40',
00335 'rows' => '5',
00336 'wizards' => Array(
00337 '_PADDING' => 4,
00338 '0' => Array(
00339 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00340 'title' => 'TSconfig QuickReference',
00341 'script' => 'wizard_tsconfig.php?mode=fe_users',
00342 'icon' => 'wizard_tsconfig.gif',
00343 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00344 )
00345 )
00346 )
00347 )
00348 ),
00349 'types' => Array (
00350 '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,lockToDomain,description;;;;3-3-3, --div--, TSconfig;;;;5-5-5')
00351 )
00352 );
00353
00354
00355
00356
00357
00358
00359
00360 $TCA['sys_domain'] = Array (
00361 'ctrl' => $TCA['sys_domain']['ctrl'],
00362 'interface' => Array (
00363 'showRecordFieldList' => 'hidden,domainName,redirectTo'
00364 ),
00365 'columns' => Array (
00366 'domainName' => Array (
00367 'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.domainName',
00368 'config' => Array (
00369 'type' => 'input',
00370 'size' => '35',
00371 'max' => '80',
00372 'eval' => 'required,unique,lower,trim'
00373 )
00374 ),
00375 'redirectTo' => Array (
00376 'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.redirectTo',
00377 'config' => Array (
00378 'type' => 'input',
00379 'size' => '35',
00380 'max' => '120',
00381 'checkbox' => '',
00382 'default' => '',
00383 'eval' => 'trim'
00384 )
00385 ),
00386 'hidden' => Array (
00387 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
00388 'exclude' => 1,
00389 'config' => Array (
00390 'type' => 'check',
00391 'default' => '0'
00392 )
00393 ),
00394 'prepend_params' => Array (
00395 'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.prepend_params',
00396 'exclude' => 1,
00397 'config' => Array (
00398 'type' => 'check',
00399 'default' => '0'
00400 )
00401 )
00402 ),
00403 'types' => Array (
00404 '1' => Array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params')
00405 ),
00406 'palettes' => Array (
00407 '1' => Array('showitem' => 'redirectTo')
00408 )
00409 );
00410
00411
00412
00413
00414
00415
00416
00417
00418 $TCA['pages_language_overlay'] = Array (
00419 'ctrl' => $TCA['pages_language_overlay']['ctrl'],
00420 'interface' => Array (
00421 'showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'
00422 ),
00423 'columns' => Array (
00424 'hidden' => Array (
00425 'exclude' => 1,
00426 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
00427 'config' => Array (
00428 'type' => 'check',
00429 'default' => '1'
00430 )
00431 ),
00432 'starttime' => Array (
00433 'exclude' => 1,
00434 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
00435 'config' => Array (
00436 'type' => 'input',
00437 'size' => '8',
00438 'max' => '20',
00439 'eval' => 'date',
00440 'checkbox' => '0',
00441 'default' => '0'
00442 )
00443 ),
00444 'endtime' => Array (
00445 'exclude' => 1,
00446 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
00447 'config' => Array (
00448 'type' => 'input',
00449 'size' => '8',
00450 'max' => '20',
00451 'eval' => 'date',
00452 'checkbox' => '0',
00453 'default' => '0',
00454 'range' => Array (
00455 'upper' => mktime(0,0,0,12,31,2020),
00456 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
00457 )
00458 )
00459 ),
00460 'title' => Array (
00461 'label' => $TCA['pages']['columns']['title']['label'],
00462 'config' => Array (
00463 'type' => 'input',
00464 'size' => '30',
00465 'max' => '256',
00466 'eval' => 'required'
00467 )
00468 ),
00469 'subtitle' => Array (
00470 'exclude' => 1,
00471 'label' => $TCA['pages']['columns']['subtitle']['label'],
00472 'config' => Array (
00473 'type' => 'input',
00474 'size' => '30',
00475 'max' => '256',
00476 'eval' => ''
00477 )
00478 ),
00479 'nav_title' => Array (
00480 'exclude' => 1,
00481 'label' => $TCA['pages']['columns']['nav_title']['label'],
00482 'config' => Array (
00483 'type' => 'input',
00484 'size' => '30',
00485 'max' => '256',
00486 'checkbox' => '',
00487 'eval' => 'trim'
00488 )
00489 ),
00490 'keywords' => Array (
00491 'exclude' => 1,
00492 'label' => $TCA['pages']['columns']['keywords']['label'],
00493 'config' => Array (
00494 'type' => 'text',
00495 'cols' => '40',
00496 'rows' => '3'
00497 )
00498 ),
00499 'description' => Array (
00500 'exclude' => 1,
00501 'label' => $TCA['pages']['columns']['description']['label'],
00502 'config' => Array (
00503 'type' => 'input',
00504 'size' => '40',
00505 'eval' => 'trim'
00506 )
00507 ),
00508 'abstract' => Array (
00509 'exclude' => 1,
00510 'label' => $TCA['pages']['columns']['abstract']['label'],
00511 'config' => Array (
00512 'type' => 'text',
00513 'cols' => '40',
00514 'rows' => '3'
00515 )
00516 ),
00517 'author' => Array (
00518 'exclude' => 1,
00519 'label' => $TCA['pages']['columns']['author']['label'],
00520 'config' => Array (
00521 'type' => 'input',
00522 'size' => '20',
00523 'eval' => 'trim',
00524 'max' => '80'
00525 )
00526 ),
00527 'author_email' => Array (
00528 'exclude' => 1,
00529 'label' => $TCA['pages']['columns']['author']['label'],
00530 'config' => Array (
00531 'type' => 'input',
00532 'size' => '20',
00533 'eval' => 'trim',
00534 'max' => '80'
00535 )
00536 ),
00537 'media' => Array (
00538 'exclude' => 1,
00539 'label' => $TCA['pages']['columns']['media']['label'],
00540 'config' => Array (
00541 'type' => 'group',
00542 'internal_type' => 'file',
00543 'allowed' => $TCA['pages']['columns']['media']['config']['allowed'],
00544 'max_size' => '2000',
00545 'uploadfolder' => 'uploads/media',
00546 'show_thumbs' => '1',
00547 'size' => '3',
00548 'maxitems' => '5',
00549 'minitems' => '0'
00550 )
00551 ),
00552 'sys_language_uid' => Array (
00553 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
00554 'config' => Array (
00555 'type' => 'select',
00556 'foreign_table' => 'sys_language',
00557 'foreign_table_where' => 'ORDER BY sys_language.title',
00558 'items' => Array(
00559 Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
00560 )
00561 )
00562 ),
00563 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
00564 'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
00565 't3ver_label' => Array (
00566 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
00567 'config' => Array (
00568 'type' => 'input',
00569 'size' => '30',
00570 'max' => '30',
00571 )
00572 ),
00573 ),
00574 'types' => Array (
00575 '0' => Array('showitem' => 'hidden;;;;1-1-1, sys_language_uid, title;;;;2-2-2, subtitle, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4')
00576 ),
00577 'palettes' => Array (
00578 '1' => Array('showitem' => 'starttime,endtime'),
00579 '5' => Array('showitem' => 'author,author_email')
00580 )
00581 );
00582
00583
00584
00585
00586
00587
00588 $TCA['sys_template'] = Array (
00589 'ctrl' => $TCA['sys_template']['ctrl'],
00590 'interface' => Array (
00591 'showRecordFieldList' => 'title,clear,root,include_static,basedOn,nextLevel,resources,sitetitle,description,hidden,starttime,endtime'
00592 ),
00593 'columns' => Array (
00594 'title' => Array (
00595 'label' => 'Template title:',
00596 'config' => Array (
00597 'type' => 'input',
00598 'size' => '25',
00599 'max' => '256',
00600 'eval' => 'required'
00601 )
00602 ),
00603 'hidden' => Array (
00604 'label' => 'Deactivated:',
00605 'exclude' => 1,
00606 'config' => Array (
00607 'type' => 'check',
00608 'default' => '0'
00609 )
00610 ),
00611 'starttime' => Array (
00612 'label' => 'Start:',
00613 'exclude' => 1,
00614 'config' => Array (
00615 'type' => 'input',
00616 'size' => '8',
00617 'max' => '20',
00618 'eval' => 'date',
00619 'checkbox' => '0',
00620 'default' => '0'
00621 )
00622 ),
00623 'endtime' => Array (
00624 'label' => 'Stop:',
00625 'exclude' => 1,
00626 'config' => Array (
00627 'type' => 'input',
00628 'size' => '8',
00629 'max' => '20',
00630 'eval' => 'date',
00631 'checkbox' => '0',
00632 'default' => '0',
00633 'range' => Array (
00634 'upper' => mktime(0,0,0,12,31,2020),
00635 'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
00636 )
00637 )
00638 ),
00639 'root' => Array (
00640 'label' => 'Rootlevel:',
00641 'config' => Array (
00642 'type' => 'check'
00643 )
00644 ),
00645 'clear' => Array (
00646 'label' => 'Clear:',
00647 'config' => Array (
00648 'type' => 'check',
00649 'items' => Array (
00650 Array('Constants', ''),
00651 Array('Setup', '')
00652 ),
00653 'cols' => 2
00654 )
00655 ),
00656 'sitetitle' => Array (
00657 'label' => 'Website title:',
00658 'config' => Array (
00659 'type' => 'input',
00660 'size' => '25',
00661 'max' => '256'
00662 )
00663 ),
00664 'constants' => Array (
00665 'label' => 'Constants:',
00666 'config' => Array (
00667 'type' => 'text',
00668 'cols' => '48',
00669 'rows' => '10',
00670 'wrap' => 'OFF'
00671 )
00672 ),
00673 'resources' => Array (
00674 'label' => 'Resources:',
00675 'config' => Array (
00676 'type' => 'group',
00677 'internal_type' => 'file',
00678 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico',
00679 'max_size' => '1000',
00680 'uploadfolder' => 'uploads/tf',
00681 'show_thumbs' => '1',
00682 'size' => '7',
00683 'maxitems' => '100',
00684 'minitems' => '0'
00685 )
00686 ),
00687 'nextLevel' => Array (
00688 'label' => 'Template on next level:',
00689 'config' => Array (
00690 'type' => 'group',
00691 'internal_type' => 'db',
00692 'allowed' => 'sys_template',
00693 'show_thumbs' => '1',
00694 'size' => '3',
00695 'maxitems' => '1',
00696 'minitems' => '0',
00697 'default' => ''
00698 )
00699 ),
00700 'include_static' => Array (
00701 'label' => 'Include static:',
00702 'config' => Array (
00703 'type' => 'select',
00704 'foreign_table' => 'static_template',
00705 'foreign_table_where' => 'ORDER BY static_template.title DESC',
00706 'size' => 10,
00707 'maxitems' => 20,
00708 'default' => ''
00709 )
00710 ),
00711 'include_static_file' => Array(
00712 'label' => 'Include static (from extensions):',
00713 'config' => Array (
00714 'type' => 'select',
00715 'size' => 10,
00716 'maxitems' => 20,
00717 'items' => Array (
00718 )
00719 )
00720 ),
00721 'basedOn' => Array (
00722 'label' => 'Include basis template:',
00723 'config' => Array (
00724 'type' => 'group',
00725 'internal_type' => 'db',
00726 'allowed' => 'sys_template',
00727 'show_thumbs' => '1',
00728 'size' => '3',
00729 'maxitems' => '50',
00730 'autoSizeMax' => 10,
00731 'minitems' => '0',
00732 'default' => '',
00733 'wizards' => Array(
00734 '_PADDING' => 4,
00735 '_VERTICAL' => 1,
00736 'edit' => Array(
00737 'type' => 'popup',
00738 'title' => 'Edit filemount',
00739 'script' => 'wizard_edit.php',
00740 'popup_onlyOpenIfSelected' => 1,
00741 'icon' => 'edit2.gif',
00742 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
00743 ),
00744 'add' => Array(
00745 'type' => 'script',
00746 'title' => 'Add new basis template',
00747 'icon' => 'add.gif',
00748 'params' => Array(
00749 'table'=>'sys_template',
00750 'pid' => '###CURRENT_PID###',
00751 'setValue' => 'prepend'
00752 ),
00753 'script' => 'wizard_add.php',
00754 )
00755 )
00756 )
00757 ),
00758 'includeStaticAfterBasedOn' => Array (
00759 'label' => 'Include static AFTER basedOn:',
00760 'exclude' => 1,
00761 'config' => Array (
00762 'type' => 'check',
00763 'default' => '0'
00764 )
00765 ),
00766 'config' => Array (
00767 'label' => 'Setup:',
00768 'config' => Array (
00769 'type' => 'text',
00770 'rows' => 10,
00771 'cols' => 48,
00772 'wizards' => Array(
00773 '_PADDING' => 4,
00774 '0' => Array(
00775 # 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
00776 'title' => 'TSref online',
00777 'script' => 'wizard_tsconfig.php?mode=tsref',
00778 'icon' => 'wizard_tsconfig.gif',
00779 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
00780 )
00781 ),
00782 'wrap' => 'OFF'
00783 )
00784 ),
00785 'editorcfg' => Array (
00786 'label' => 'Backend Editor Configuration:',
00787 'config' => Array (
00788 'type' => 'text',
00789 'rows' => 4,
00790 'cols' => 48,
00791 'wrap' => 'OFF'
00792 )
00793 ),
00794 'description' => Array (
00795 'label' => 'Description:',
00796 'config' => Array (
00797 'type' => 'text',
00798 'rows' => 10,
00799 'cols' => 48
00800 )
00801 ),
00802 'static_file_mode' => Array (
00803 'label' => 'Static template files from T3 Extensions:',
00804 'config' => Array (
00805 'type' => 'select',
00806 'items' => Array (
00807 Array('Default (Include before if Root-flag is set)', '0'),
00808 Array('Always include before this template record', '1'),
00809 Array('Never include before this template record', '2'),
00810 ),
00811 'default' => '0'
00812 )
00813 ),
00814 'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
00815 't3ver_label' => Array (
00816 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
00817 'config' => Array (
00818 'type' => 'input',
00819 'size' => '30',
00820 'max' => '30',
00821 )
00822 ),
00823 ),
00824 'types' => Array (
00825 '1' => Array('showitem' => 'title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, resources, clear, root, --div--, include_static;;2;;5-5-5, include_static_file;;2, basedOn;;2, static_file_mode, nextLevel, --div--, description;;;;5-5-5, editorcfg')
00826 ),
00827 'palettes' => Array (
00828 '1' => Array('showitem' => 'hidden,starttime,endtime'),
00829 '2' => Array('showitem' => 'includeStaticAfterBasedOn')
00830 )
00831 );
00832
00833
00834
00835
00836
00837
00838
00839
00840 $TCA['static_template'] = Array (
00841 'ctrl' => $TCA['static_template']['ctrl'],
00842 'interface' => Array (
00843 'showRecordFieldList' => 'title,include_static,description'
00844 ),
00845 'columns' => Array (
00846 'title' => Array (
00847 'label' => 'Template title:',
00848 'config' => Array (
00849 'type' => 'input',
00850 'size' => '25',
00851 'max' => '256',
00852 'eval' => 'required'
00853 )
00854 ),
00855 'constants' => Array (
00856 'label' => 'Constants:',
00857 'config' => Array (
00858 'type' => 'text',
00859 'cols' => '48',
00860 'rows' => '10',
00861 'wrap' => 'OFF'
00862 )
00863 ),
00864 'include_static' => Array (
00865 'label' => 'Include static:',
00866 'config' => Array (
00867 'type' => 'select',
00868 'foreign_table' => 'static_template',
00869 'foreign_table_where' => 'ORDER BY static_template.title',
00870 'size' => 10,
00871 'maxitems' => 20,
00872 'default' => ''
00873 )
00874 ),
00875 'config' => Array (
00876 'label' => 'Setup:',
00877 'config' => Array (
00878 'type' => 'text',
00879 'rows' => 10,
00880 'cols' => 48,
00881 'wrap' => 'OFF'
00882 )
00883 ),
00884 'editorcfg' => Array (
00885 'label' => 'Backend Editor Configuration:',
00886 'config' => Array (
00887 'type' => 'text',
00888 'rows' => 4,
00889 'cols' => 48,
00890 'wrap' => 'OFF'
00891 )
00892 ),
00893 'description' => Array (
00894 'label' => 'Description:',
00895 'config' => Array (
00896 'type' => 'text',
00897 'rows' => 10,
00898 'cols' => 48
00899 )
00900 )
00901 ),
00902 'types' => Array (
00903 '1' => Array('showitem' => 'title;;;;2-2-2, constants;;;;3-3-3, config, include_static;;;;5-5-5, description;;;;5-5-5, editorcfg')
00904 )
00905 );
00906
00907
00908
00909 ?>