"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/cms/ext_tables.php Source File", "datetime" => "Sat Dec 2 19:22:23 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

ext_tables.php

00001 <?php
00002 # TYPO3 CVS ID: $Id: ext_tables.php 1421 2006-04-10 09:27:15Z mundaun $
00003 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00004 
00005 if (TYPO3_MODE=='BE')   {
00006         t3lib_extMgm::addModule('web','layout','top',t3lib_extMgm::extPath($_EXTKEY).'layout/');
00007         t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_layout','EXT:cms/locallang_csh_weblayout.xml');
00008         t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:cms/locallang_csh_webinfo.xml');
00009 
00010         t3lib_extMgm::insertModuleFunction(
00011                 'web_info',
00012                 'tx_cms_webinfo_page',
00013                 t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo.php',
00014                 'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_page'
00015         );
00016         t3lib_extMgm::insertModuleFunction(
00017                 'web_info',
00018                 'tx_cms_webinfo_lang',
00019                 t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo_lang.php',
00020                 'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_lang'
00021         );
00022 }
00023 
00024 
00025 // ******************************************************************
00026 // Extend 'pages'-table
00027 // ******************************************************************
00028 
00029 if (TYPO3_MODE=='BE')   {
00030         // Setting ICON_TYPES (obsolete by the removal of the plugin_mgm extension)
00031         $ICON_TYPES = Array();
00032 }
00033 
00034         // Adding pages_types:
00035                 // t3lib_div::array_merge() MUST be used!
00036         $PAGES_TYPES = t3lib_div::array_merge(array(
00037                 '3' => Array(
00038                         'icon' => 'pages_link.gif'
00039                 ),
00040                 '4' => Array(
00041                         'icon' => 'pages_shortcut.gif'
00042                 ),
00043                 '5' => Array(
00044                         'icon' => 'pages_notinmenu.gif'
00045                 ),
00046                 '7' => Array(
00047                         'icon' => 'pages_mountpoint.gif'
00048                 ),
00049                 '6' => Array(
00050                         'type' => 'web',
00051                         'icon' => 'be_users_section.gif',
00052                         'allowedTables' => '*'
00053                 ),
00054                 '199' => Array(         // TypoScript: Limit is 200. When the doktype is 200 or above, the page WILL NOT be regarded as a 'page' by TypoScript. Rather is it a system-type page
00055                         'type' => 'sys',
00056                         'icon' => 'spacer_icon.gif',
00057                 )
00058         ),$PAGES_TYPES);
00059 
00060         // Add allowed records to pages:
00061         t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain');
00062 
00063         // Merging in CMS doktypes:
00064         array_splice(
00065                 $TCA['pages']['columns']['doktype']['config']['items'],
00066                 1,
00067                 0,
00068                 Array(
00069                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.0', '2'),
00070                         Array('LLL:EXT:lang/locallang_general.php:LGL.external', '3'),
00071                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2', '4'),
00072                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.3', '5'),
00073                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4', '6'),
00074                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5', '7'),
00075                         Array('-----', '--div--'),
00076                         Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7', '199')
00077                 )
00078         );
00079 
00080         // Setting enablecolumns:
00081         $TCA['pages']['ctrl']['enablecolumns'] = Array (
00082                 'disabled' => 'hidden',
00083                 'starttime' => 'starttime',
00084                 'endtime' => 'endtime',
00085                 'fe_group' => 'fe_group',
00086         );
00087 
00088         // Adding default value columns:
00089         $TCA['pages']['ctrl']['useColumnsForDefaultValues'].=',fe_group,hidden';
00090 
00091         // Adding new columns:
00092         $TCA['pages']['columns'] = array_merge($TCA['pages']['columns'],Array(
00093                 'hidden' => Array (
00094                         'exclude' => 1,
00095                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.hidden',
00096                         'config' => Array (
00097                                 'type' => 'check',
00098                                 'default' => '1'
00099                         )
00100                 ),
00101                 'starttime' => Array (
00102                         'exclude' => 1,
00103                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
00104                         'config' => Array (
00105                                 'type' => 'input',
00106                                 'size' => '8',
00107                                 'max' => '20',
00108                                 'eval' => 'date',
00109                                 'checkbox' => '0',
00110                                 'default' => '0'
00111                         )
00112                 ),
00113                 'endtime' => Array (
00114                         'exclude' => 1,
00115                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
00116                         'config' => Array (
00117                                 'type' => 'input',
00118                                 'size' => '8',
00119                                 'max' => '20',
00120                                 'eval' => 'date',
00121                                 'checkbox' => '0',
00122                                 'default' => '0',
00123                                 'range' => Array (
00124                                         'upper' => mktime(0,0,0,12,31,2020),
00125                                 )
00126                         )
00127                 ),
00128                 'layout' => Array (
00129                         'exclude' => 1,
00130                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
00131                         'config' => Array (
00132                                 'type' => 'select',
00133                                 'items' => Array (
00134                                         Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
00135                                         Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.1', '1'),
00136                                         Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.2', '2'),
00137                                         Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.3', '3')
00138                                 ),
00139                                 'default' => '0'
00140                         )
00141                 ),
00142                 'fe_group' => Array (
00143                         'exclude' => 1,
00144                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
00145                         'config' => Array (
00146                                 'type' => 'select',
00147                                 'size' => 5,
00148                                 'maxitems' => 20,
00149                                 'items' => Array (
00150                                         Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
00151                                         Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
00152                                         Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
00153                                 ),
00154                                 'exclusiveKeys' => '-1,-2',
00155                                 'foreign_table' => 'fe_groups',
00156                         )
00157                 ),
00158                 'extendToSubpages' => Array (
00159                         'exclude' => 1,
00160                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.extendToSubpages',
00161                         'config' => Array (
00162                                 'type' => 'check'
00163                         )
00164                 ),
00165                 'nav_title' => Array (
00166                         'exclude' => 1,
00167                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_title',
00168                         'config' => Array (
00169                                 'type' => 'input',
00170                                 'size' => '30',
00171                                 'max' => '256',
00172                                 'checkbox' => '',
00173                                 'eval' => 'trim'
00174                         )
00175                 ),
00176                 'nav_hide' => Array (
00177                         'exclude' => 1,
00178                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_hide',
00179                         'config' => Array (
00180                                 'type' => 'check'
00181                         )
00182                 ),
00183                 'subtitle' => Array (
00184                         'exclude' => 1,
00185                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.subtitle',
00186                         'config' => Array (
00187                                 'type' => 'input',
00188                                 'size' => '30',
00189                                 'max' => '256',
00190                                 'eval' => ''
00191                         )
00192                 ),
00193                 'target' => Array (
00194                         'exclude' => 1,
00195                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.target',
00196                         'config' => Array (
00197                                 'type' => 'input',
00198                                 'size' => '7',
00199                                 'max' => '20',
00200                                 'eval' => 'trim',
00201                                 'checkbox' => ''
00202                         )
00203                 ),
00204                 'alias' => Array (
00205                         'displayCond' => 'VERSION:IS:false',
00206                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.alias',
00207                         'config' => Array (
00208                                 'type' => 'input',
00209                                 'size' => '10',
00210                                 'max' => '32',
00211                                 'eval' => 'nospace,alphanum_x,lower,unique',
00212                                 'softref' => 'notify'
00213                         )
00214                 ),
00215                 'url' => Array (
00216                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.url',
00217                         'config' => Array (
00218                                 'type' => 'input',
00219                                 'size' => '25',
00220                                 'max' => '256',
00221                                 'eval' => 'trim',
00222                                 'softref' => 'url'
00223                         )
00224                 ),
00225                 'urltype' => Array (
00226                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
00227                         'config' => Array (
00228                                 'type' => 'select',
00229                                 'items' => Array (
00230                                         Array('', '0'),
00231                                         Array('http://', '1'),
00232                                         Array('https://', '4'),
00233                                         Array('ftp://', '2'),
00234                                         Array('mailto:', '3')
00235                                 ),
00236                                 'default' => '1'
00237                         )
00238                 ),
00239                 'lastUpdated' => Array (
00240                         'exclude' => 1,
00241                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.lastUpdated',
00242                         'config' => Array (
00243                                 'type' => 'input',
00244                                 'size' => '12',
00245                                 'max' => '20',
00246                                 'eval' => 'datetime',
00247                                 'checkbox' => '0',
00248                                 'default' => '0'
00249                         )
00250                 ),
00251                 'newUntil' => Array (
00252                         'exclude' => 1,
00253                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.newUntil',
00254                         'config' => Array (
00255                                 'type' => 'input',
00256                                 'size' => '8',
00257                                 'max' => '20',
00258                                 'eval' => 'date',
00259                                 'checkbox' => '0',
00260                                 'default' => '0'
00261                         )
00262                 ),
00263                 'cache_timeout' => Array (
00264                         'exclude' => 1,
00265                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.cache_timeout',
00266                         'config' => Array (
00267                                 'type' => 'select',
00268                                 'items' => Array (
00269                                         Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
00270                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.1', 60),
00271                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.2', 5*60),
00272                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.3', 15*60),
00273                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.4', 30*60),
00274                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.5', 60*60),
00275                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.6', 4*60*60),
00276                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.7', 24*60*60),
00277                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.8', 2*24*60*60),
00278                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.9', 7*24*60*60),
00279                                         Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.10', 31*24*60*60)
00280                                 ),
00281                                 'default' => '0'
00282                         )
00283                 ),
00284                 'no_cache' => Array (
00285                         'exclude' => 1,
00286                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_cache',
00287                         'config' => Array (
00288                                 'type' => 'check'
00289                         )
00290                 ),
00291                 'no_search' => Array (
00292                         'exclude' => 1,
00293                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_search',
00294                         'config' => Array (
00295                                 'type' => 'check'
00296                         )
00297                 ),
00298                 'shortcut' => Array (
00299                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.shortcut_page',
00300                         'config' => Array (
00301                                 'type' => 'group',
00302                                 'internal_type' => 'db',
00303                                         'allowed' => 'pages',
00304                                 'size' => '3',
00305                                 'maxitems' => '1',
00306                                 'minitems' => '0',
00307                                 'show_thumbs' => '1'
00308                         )
00309                 ),
00310                 'shortcut_mode' => Array (
00311                         'exclude' => 1,
00312                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode',
00313                         'config' => Array (
00314                                 'type' => 'select',
00315                                 'items' => Array (
00316                                         Array('', 0),
00317                                         Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.1', 1),
00318                                         Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.2', 2),
00319                                 ),
00320                                 'default' => '0'
00321                         )
00322                 ),
00323                 'content_from_pid' => Array (
00324                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.content_from_pid',
00325                         'config' => Array (
00326                                 'type' => 'group',
00327                                 'internal_type' => 'db',
00328                                         'allowed' => 'pages',
00329                                 'size' => '1',
00330                                 'maxitems' => '1',
00331                                 'minitems' => '0',
00332                                 'show_thumbs' => '1'
00333                         )
00334                 ),
00335                 'mount_pid' => Array (
00336                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid',
00337                         'config' => Array (
00338                                 'type' => 'group',
00339                                 'internal_type' => 'db',
00340                                         'allowed' => 'pages',
00341                                 'size' => '1',
00342                                 'maxitems' => '1',
00343                                 'minitems' => '0',
00344                                 'show_thumbs' => '1'
00345                         )
00346                 ),
00347                 'keywords' => Array (
00348                         'exclude' => 1,
00349                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.keywords',
00350                         'config' => Array (
00351                                 'type' => 'text',
00352                                 'cols' => '40',
00353                                 'rows' => '3'
00354                         )
00355                 ),
00356                 'description' => Array (
00357                         'exclude' => 1,
00358                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
00359                         'config' => Array (
00360                                 'type' => 'input',
00361                                 'size' => '40',
00362                                 'eval' => 'trim'
00363                         )
00364                 ),
00365                 'abstract' => Array (
00366                         'exclude' => 1,
00367                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.abstract',
00368                         'config' => Array (
00369                                 'type' => 'text',
00370                                 'cols' => '40',
00371                                 'rows' => '3'
00372                         )
00373                 ),
00374                 'author' => Array (
00375                         'exclude' => 1,
00376                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
00377                         'config' => Array (
00378                                 'type' => 'input',
00379                                 'size' => '20',
00380                                 'eval' => 'trim',
00381                                 'max' => '80'
00382                         )
00383                 ),
00384                 'author_email' => Array (
00385                         'exclude' => 1,
00386                         'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
00387                         'config' => Array (
00388                                 'type' => 'input',
00389                                 'size' => '20',
00390                                 'eval' => 'trim',
00391                                 'max' => '80',
00392                                 'softref' => 'email[subst]'
00393                         )
00394                 ),
00395                 'media' => Array (
00396                         'exclude' => 1,
00397                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.media',
00398                         'config' => Array (
00399                                 'type' => 'group',
00400                                 'internal_type' => 'file',
00401                                 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
00402                                 'max_size' => '2000',
00403                                 'uploadfolder' => 'uploads/media',
00404                                 'show_thumbs' => '1',
00405                                 'size' => '3',
00406                                 'maxitems' => '5',
00407                                 'minitems' => '0'
00408                         )
00409                 ),
00410                 'is_siteroot' => Array (
00411                         'exclude' => 1,
00412                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.is_siteroot',
00413                         'config' => Array (
00414                                 'type' => 'check'
00415                         )
00416                 ),
00417                 'mount_pid_ol' => Array (
00418                         'exclude' => 1,
00419                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid_ol',
00420                         'config' => Array (
00421                                 'type' => 'check'
00422                         )
00423                 ),
00424                 'module' => Array (
00425                         'exclude' => 1,
00426                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.module',
00427                         'config' => Array (
00428                                 'type' => 'select',
00429                                 'items' => Array (
00430                                         Array('', ''),
00431                                         Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.1', 'shop'),
00432                                         Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.2', 'board'),
00433                                         Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.3', 'news'),
00434                                         Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.4', 'fe_users'),
00435                                         Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.6', 'approve')
00436                                 ),
00437                                 'default' => ''
00438                         )
00439                 ),
00440                 'fe_login_mode' => Array (
00441                         'exclude' => 1,
00442                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode',
00443                         'config' => Array (
00444                                 'type' => 'select',
00445                                 'items' => Array (
00446                                         Array('', 0),
00447                                         Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.disable', 1),
00448                                         Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.enable', 2),
00449                                 )
00450                         )
00451                 ),
00452                 'l18n_cfg' => Array (
00453                         'exclude' => 1,
00454                         'label' => 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg',
00455                         'config' => Array (
00456                                 'type' => 'check',
00457                                 'items' => Array (
00458                                         Array('LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.1', ''),
00459                                         Array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.2', ''),
00460                                 ),
00461                         )
00462                 ),
00463         ));
00464 
00465                 // Add columns to info-display list.
00466         $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
00467 
00468                 // Setting main palette
00469         $TCA['pages']['ctrl']['mainpalette']='1,15';
00470 
00471                 // Totally overriding all type-settings:
00472         $TCA['pages']['types'] = Array (
00473                 '1' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
00474                 '2' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
00475                 '3' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, url;;;;3-3-3, urltype, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
00476                 '4' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide, shortcut;;;;3-3-3, shortcut_mode, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg'),
00477                 '5' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
00478                 '7' => Array('showitem' => 'hidden;;;;1-1-1, doktype;;2;button, title;;3;;2-2-2, subtitle, nav_hide, nav_title, --div--, mount_pid;;;;3-3-3, mount_pid_ol, media;;;;4-4-4, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, fe_login_mode, module, content_from_pid'),
00479                 '199' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2, TSconfig;;6;nowrap;5-5-5, storage_pid;;7'),
00480                 '254' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;LLL:EXT:lang/locallang_general.php:LGL.title;;;2-2-2, --div--, TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module'),
00481                 '255' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2')
00482         );
00483                 // Merging palette settings:
00484                 // t3lib_div::array_merge() MUST be used - otherwise the keys will be re-numbered!
00485         $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],Array(
00486                 '1' => Array('showitem' => 'starttime,endtime,extendToSubpages'),
00487                 '15' => Array('showitem' => 'fe_group'),
00488                 '2' => Array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
00489                 '3' => Array('showitem' => 'alias, target, no_cache, cache_timeout'),
00490                 '5' => Array('showitem' => 'author,author_email'),
00491         ));
00492 
00493 
00494 
00495 
00496 
00497 
00498 // ******************************************************************
00499 // This is the standard TypoScript content table, tt_content
00500 // ******************************************************************
00501 $TCA['tt_content'] = Array (
00502         'ctrl' => Array (
00503                 'label' => 'header',
00504                 'label_alt' => 'subheader,bodytext',
00505                 'sortby' => 'sorting',
00506                 'tstamp' => 'tstamp',
00507                 'title' => 'LLL:EXT:cms/locallang_tca.php:tt_content',
00508                 'delete' => 'deleted',
00509                 'versioningWS' => TRUE,
00510                 'versioning_followPages' => TRUE,
00511                 'origUid' => 't3_origuid',
00512                 'type' => 'CType',
00513                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00514                 'copyAfterDuplFields' => 'colPos,sys_language_uid',
00515                 'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
00516                 'shadowColumnsForNewPlaceholders' => 'sys_language_uid,l18n_parent,colPos,header',
00517                 'transOrigPointerField' => 'l18n_parent',
00518                 'transOrigDiffSourceField' => 'l18n_diffsource',
00519                 'languageField' => 'sys_language_uid',
00520                 'enablecolumns' => Array (
00521                         'disabled' => 'hidden',
00522                         'starttime' => 'starttime',
00523                         'endtime' => 'endtime',
00524                         'fe_group' => 'fe_group',
00525                 ),
00526                 'typeicon_column' => 'CType',
00527                 'typeicons' => Array (
00528                         'header' => 'tt_content_header.gif',
00529                         'textpic' => 'tt_content_textpic.gif',
00530                         'image' => 'tt_content_image.gif',
00531                         'bullets' => 'tt_content_bullets.gif',
00532                         'table' => 'tt_content_table.gif',
00533                         'splash' => 'tt_content_news.gif',
00534                         'uploads' => 'tt_content_uploads.gif',
00535                         'multimedia' => 'tt_content_mm.gif',
00536                         'menu' => 'tt_content_menu.gif',
00537                         'list' => 'tt_content_list.gif',
00538                         'mailform' => 'tt_content_form.gif',
00539                         'search' => 'tt_content_search.gif',
00540                         'login' => 'tt_content_login.gif',
00541                         'shortcut' => 'tt_content_shortcut.gif',
00542                         'script' => 'tt_content_script.gif',
00543                         'div' => 'tt_content_div.gif',
00544                         'html' => 'tt_content_html.gif'
00545                 ),
00546                 'mainpalette' => '1,15',
00547                 'thumbnail' => 'image',
00548                 'requestUpdate' => 'list_type',
00549                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
00550         )
00551 );
00552 
00553 // ******************************************************************
00554 // fe_users
00555 // ******************************************************************
00556 $TCA['fe_users'] = Array (
00557         'ctrl' => Array (
00558                 'label' => 'username',
00559                 'tstamp' => 'tstamp',
00560                 'crdate' => 'crdate',
00561                 'cruser_id' => 'cruser_id',
00562                 'fe_cruser_id' => 'fe_cruser_id',
00563                 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_users',
00564                 'delete' => 'deleted',
00565                 'mainpalette' => '1',
00566                 'enablecolumns' => Array (
00567                         'disabled' => 'disable',
00568                         'starttime' => 'starttime',
00569                         'endtime' => 'endtime'
00570                 ),
00571                 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
00572                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00573         ),
00574         'feInterface' => Array (
00575                 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
00576         )
00577 );
00578 
00579 // ******************************************************************
00580 // fe_groups
00581 // ******************************************************************
00582 $TCA['fe_groups'] = Array (
00583         'ctrl' => Array (
00584                 'label' => 'title',
00585                 'tstamp' => 'tstamp',
00586                 'delete' => 'deleted',
00587                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00588                 'enablecolumns' => Array (
00589                         'disabled' => 'hidden'
00590                 ),
00591                 'title' => 'LLL:EXT:cms/locallang_tca.php:fe_groups',
00592                 'useColumnsForDefaultValues' => 'lockToDomain',
00593                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00594         )
00595 );
00596 
00597 // ******************************************************************
00598 // sys_domain
00599 // ******************************************************************
00600 $TCA['sys_domain'] = Array (
00601         'ctrl' => Array (
00602                 'label' => 'domainName',
00603                 'tstamp' => 'tstamp',
00604                 'sortby' => 'sorting',
00605                 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_domain',
00606                 'iconfile' => 'domain.gif',
00607                 'enablecolumns' => Array (
00608                         'disabled' => 'hidden'
00609                 ),
00610                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00611         )
00612 );
00613 
00614 // ******************************************************************
00615 // pages_language_overlay
00616 // ******************************************************************
00617 $TCA['pages_language_overlay'] = Array (
00618         'ctrl' => Array (
00619                 'label' => 'title',
00620                 'tstamp' => 'tstamp',
00621                 'title' => 'LLL:EXT:cms/locallang_tca.php:pages_language_overlay',
00622                 'versioningWS' => TRUE,
00623                 'versioning_followPages' => TRUE,
00624                 'origUid' => 't3_origuid',
00625                 'crdate' => 'crdate',
00626                 'cruser_id' => 'cruser_id',
00627                 'delete' => 'deleted',
00628                 'enablecolumns' => Array (
00629                         'disabled' => 'hidden',
00630                         'starttime' => 'starttime',
00631                         'endtime' => 'endtime'
00632                 ),
00633                 'transOrigPointerField' => 'pid',
00634                 'transOrigPointerTable' => 'pages',
00635                 'transOrigDiffSourceField' => 'l18n_diffsource',
00636                 'shadowColumnsForNewPlaceholders' => 'sys_language_uid,title',
00637                 'languageField' => 'sys_language_uid',
00638                 'mainpalette' => 1,
00639                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00640         )
00641 );
00642 
00643 
00644 // ******************************************************************
00645 // sys_template
00646 // ******************************************************************
00647 $TCA['sys_template'] = Array (
00648         'ctrl' => Array (
00649                 'label' => 'title',
00650                 'tstamp' => 'tstamp',
00651                 'sortby' => 'sorting',
00652                 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00653                 'title' => 'LLL:EXT:cms/locallang_tca.php:sys_template',
00654                 'versioningWS' => TRUE,
00655                 'origUid' => 't3_origuid',
00656                 'crdate' => 'crdate',
00657                 'cruser_id' => 'cruser_id',
00658                 'delete' => 'deleted',
00659                 'adminOnly' => 1,       // Only admin, if any
00660                 'iconfile' => 'template.gif',
00661                 'thumbnail' => 'resources',
00662                 'enablecolumns' => Array (
00663                         'disabled' => 'hidden',
00664                         'starttime' => 'starttime',
00665                         'endtime' => 'endtime'
00666                 ),
00667                 'typeicon_column' => 'root',
00668                 'typeicons' => Array (
00669                         '0' => 'template_add.gif'
00670                 ),
00671                 'mainpalette' => '1',
00672                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00673         )
00674 );
00675 
00676 // ******************************************************************
00677 // static_template
00678 // ******************************************************************
00679 $TCA['static_template'] = Array (
00680         'ctrl' => Array (
00681                 'label' => 'title',
00682                 'tstamp' => 'tstamp',
00683                 'title' => 'LLL:EXT:cms/locallang_tca.php:static_template',
00684                 'readOnly' => 1,        // This should always be true, as it prevents the static templates from being altered
00685                 'adminOnly' => 1,       // Only admin, if any
00686                 'rootLevel' => 1,
00687                 'is_static' => 1,
00688                 'default_sortby' => 'ORDER BY title',
00689                 'crdate' => 'crdate',
00690                 'iconfile' => 'template_standard.gif',
00691                 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00692         )
00693 );
00694 
00695 ?>