Documentation TYPO3 par Ameos

tbl_cms.php

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


Généré par TYPO3 Ameos avec  doxygen 1.4.6