00001 <?php
00002 # TYPO3 SVN ID: $Id: ext_tables.php 3722 2008-05-26 08:53:53Z flyguide $
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.xml: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.xml:mod_tx_cms_webinfo_lang'
00021 );
00022 }
00023
00024
00025
00026
00027
00028
00029 if (TYPO3_MODE=='BE') {
00030
00031 $ICON_TYPES = array();
00032 }
00033
00034
00035
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 '6' => array(
00047 'type' => 'web',
00048 'icon' => 'be_users_section.gif',
00049 'allowedTables' => '*'
00050 ),
00051 '7' => array(
00052 'icon' => 'pages_mountpoint.gif'
00053 ),
00054 '199' => array(
00055 'type' => 'sys',
00056 'icon' => 'spacer_icon.gif',
00057 )
00058 ),$PAGES_TYPES);
00059
00060
00061 t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain');
00062
00063
00064 array_splice(
00065 $TCA['pages']['columns']['doktype']['config']['items'],
00066 1,
00067 0,
00068 array(
00069 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.4', '6', 'i/be_users_section.gif'),
00070 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.link', '--div--'),
00071 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.2', '4', 'i/pages_shortcut.gif'),
00072 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.5', '7', 'i/pages_mountpoint.gif'),
00073 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.8', '3', 'i/pages_link.gif'),
00074 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.special', '--div--')
00075 )
00076 );
00077 array_splice(
00078 $TCA['pages']['columns']['doktype']['config']['items'],
00079 10,
00080 0,
00081 array(
00082 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.7', '199', 'i/spacer_icon.gif')
00083 )
00084 );
00085 array_unshift(
00086 $TCA['pages']['columns']['doktype']['config']['items'],
00087 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.page', '--div--')
00088 );
00089
00090
00091 $TCA['pages']['ctrl']['enablecolumns'] = array (
00092 'disabled' => 'hidden',
00093 'starttime' => 'starttime',
00094 'endtime' => 'endtime',
00095 'fe_group' => 'fe_group',
00096 );
00097
00098
00099 $TCA['pages']['ctrl']['dividers2tabs'] = 1;
00100
00101
00102 $TCA['pages']['ctrl']['useColumnsForDefaultValues'].=',fe_group,hidden';
00103 $TCA['pages']['ctrl']['transForeignTable'] = 'pages_language_overlay';
00104
00105
00106 $TCA['pages']['columns'] = array_merge($TCA['pages']['columns'],array(
00107 'hidden' => array (
00108 'exclude' => 1,
00109 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden',
00110 'config' => array (
00111 'type' => 'check',
00112 'default' => '1'
00113 )
00114 ),
00115 'starttime' => array (
00116 'exclude' => 1,
00117 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
00118 'config' => array (
00119 'type' => 'input',
00120 'size' => '8',
00121 'max' => '20',
00122 'eval' => 'date',
00123 'checkbox' => '0',
00124 'default' => '0'
00125 )
00126 ),
00127 'endtime' => array (
00128 'exclude' => 1,
00129 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
00130 'config' => array (
00131 'type' => 'input',
00132 'size' => '8',
00133 'max' => '20',
00134 'eval' => 'date',
00135 'checkbox' => '0',
00136 'default' => '0',
00137 'range' => array (
00138 'upper' => mktime(0,0,0,12,31,2020),
00139 )
00140 )
00141 ),
00142 'layout' => array (
00143 'exclude' => 1,
00144 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.layout',
00145 'config' => array (
00146 'type' => 'select',
00147 'items' => array (
00148 array('LLL:EXT:lang/locallang_general.xml:LGL.normal', '0'),
00149 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.1', '1'),
00150 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.2', '2'),
00151 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.3', '3')
00152 ),
00153 'default' => '0'
00154 )
00155 ),
00156 'fe_group' => array (
00157 'exclude' => 1,
00158 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
00159 'config' => array (
00160 'type' => 'select',
00161 'size' => 5,
00162 'maxitems' => 20,
00163 'items' => array (
00164 array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
00165 array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
00166 array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--')
00167 ),
00168 'exclusiveKeys' => '-1,-2',
00169 'foreign_table' => 'fe_groups',
00170 )
00171 ),
00172 'extendToSubpages' => array (
00173 'exclude' => 1,
00174 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.extendToSubpages',
00175 'config' => array (
00176 'type' => 'check'
00177 )
00178 ),
00179 'nav_title' => array (
00180 'exclude' => 1,
00181 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_title',
00182 'config' => array (
00183 'type' => 'input',
00184 'size' => '30',
00185 'max' => '255',
00186 'checkbox' => '',
00187 'eval' => 'trim'
00188 )
00189 ),
00190 'nav_hide' => array (
00191 'exclude' => 1,
00192 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_hide',
00193 'config' => array (
00194 'type' => 'check'
00195 )
00196 ),
00197 'subtitle' => array (
00198 'exclude' => 1,
00199 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.subtitle',
00200 'config' => array (
00201 'type' => 'input',
00202 'size' => '30',
00203 'max' => '255',
00204 'eval' => ''
00205 )
00206 ),
00207 'target' => array (
00208 'exclude' => 1,
00209 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.target',
00210 'config' => array (
00211 'type' => 'input',
00212 'size' => '7',
00213 'max' => '20',
00214 'eval' => 'trim',
00215 'checkbox' => ''
00216 )
00217 ),
00218 'alias' => array (
00219 'displayCond' => 'VERSION:IS:false',
00220 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.alias',
00221 'config' => array (
00222 'type' => 'input',
00223 'size' => '10',
00224 'max' => '32',
00225 'eval' => 'nospace,alphanum_x,lower,unique',
00226 'softref' => 'notify'
00227 )
00228 ),
00229 'url' => array (
00230 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url',
00231 'config' => array (
00232 'type' => 'input',
00233 'size' => '25',
00234 'max' => '255',
00235 'eval' => 'trim,required',
00236 'softref' => 'url'
00237 )
00238 ),
00239 'urltype' => array (
00240 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
00241 'config' => array (
00242 'type' => 'select',
00243 'items' => array (
00244 array('', '0'),
00245 array('http:
00246 array('https:
00247 array('ftp:
00248 array('mailto:', '3')
00249 ),
00250 'default' => '1'
00251 )
00252 ),
00253 'lastUpdated' => array (
00254 'exclude' => 1,
00255 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.lastUpdated',
00256 'config' => array (
00257 'type' => 'input',
00258 'size' => '12',
00259 'max' => '20',
00260 'eval' => 'datetime',
00261 'checkbox' => '0',
00262 'default' => '0'
00263 )
00264 ),
00265 'newUntil' => array (
00266 'exclude' => 1,
00267 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.newUntil',
00268 'config' => array (
00269 'type' => 'input',
00270 'size' => '8',
00271 'max' => '20',
00272 'eval' => 'date',
00273 'checkbox' => '0',
00274 'default' => '0'
00275 )
00276 ),
00277 'cache_timeout' => array (
00278 'exclude' => 1,
00279 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout',
00280 'config' => array (
00281 'type' => 'select',
00282 'items' => array (
00283 array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
00284 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.1', 60),
00285 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.2', 300),
00286 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.3', 900),
00287 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.4', 1800),
00288 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.5', 3600),
00289 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.6', 14400),
00290 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.7', 86400),
00291 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.8', 172800),
00292 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.9', 604800),
00293 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.10', 2678400)
00294 ),
00295 'default' => '0'
00296 )
00297 ),
00298 'no_cache' => array (
00299 'exclude' => 1,
00300 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_cache',
00301 'config' => array (
00302 'type' => 'check'
00303 )
00304 ),
00305 'no_search' => array (
00306 'exclude' => 1,
00307 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_search',
00308 'config' => array (
00309 'type' => 'check'
00310 )
00311 ),
00312 'shortcut' => array (
00313 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page',
00314 'config' => array (
00315 'type' => 'group',
00316 'internal_type' => 'db',
00317 'allowed' => 'pages',
00318 'size' => '3',
00319 'maxitems' => '1',
00320 'minitems' => '0',
00321 'show_thumbs' => '1'
00322 )
00323 ),
00324 'shortcut_mode' => array (
00325 'exclude' => 1,
00326 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode',
00327 'config' => array (
00328 'type' => 'select',
00329 'items' => array (
00330 array('', 0),
00331 array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.1', 1),
00332 array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.2', 2),
00333 ),
00334 'default' => '0'
00335 )
00336 ),
00337 'content_from_pid' => array (
00338 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.content_from_pid',
00339 'config' => array (
00340 'type' => 'group',
00341 'internal_type' => 'db',
00342 'allowed' => 'pages',
00343 'size' => '1',
00344 'maxitems' => '1',
00345 'minitems' => '0',
00346 'show_thumbs' => '1'
00347 )
00348 ),
00349 'mount_pid' => array (
00350 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid',
00351 'config' => array (
00352 'type' => 'group',
00353 'internal_type' => 'db',
00354 'allowed' => 'pages',
00355 'size' => '1',
00356 'maxitems' => '1',
00357 'minitems' => '0',
00358 'show_thumbs' => '1'
00359 )
00360 ),
00361 'keywords' => array (
00362 'exclude' => 1,
00363 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.keywords',
00364 'config' => array (
00365 'type' => 'text',
00366 'cols' => '40',
00367 'rows' => '3'
00368 )
00369 ),
00370 'description' => array (
00371 'exclude' => 1,
00372 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description',
00373 'config' => array (
00374 'type' => 'text',
00375 'cols' => '40',
00376 'rows' => '3'
00377 )
00378 ),
00379 'abstract' => array (
00380 'exclude' => 1,
00381 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.abstract',
00382 'config' => array (
00383 'type' => 'text',
00384 'cols' => '40',
00385 'rows' => '3'
00386 )
00387 ),
00388 'author' => array (
00389 'exclude' => 1,
00390 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.author',
00391 'config' => array (
00392 'type' => 'input',
00393 'size' => '20',
00394 'eval' => 'trim',
00395 'max' => '80'
00396 )
00397 ),
00398 'author_email' => array (
00399 'exclude' => 1,
00400 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email',
00401 'config' => array (
00402 'type' => 'input',
00403 'size' => '20',
00404 'eval' => 'trim',
00405 'max' => '80',
00406 'softref' => 'email[subst]'
00407 )
00408 ),
00409 'media' => array (
00410 'exclude' => 1,
00411 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.media',
00412 'config' => array (
00413 'type' => 'group',
00414 'internal_type' => 'file',
00415 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
00416 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
00417 'uploadfolder' => 'uploads/media',
00418 'show_thumbs' => '1',
00419 'size' => '3',
00420 'maxitems' => '5',
00421 'minitems' => '0'
00422 )
00423 ),
00424 'is_siteroot' => array (
00425 'exclude' => 1,
00426 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.is_siteroot',
00427 'config' => array (
00428 'type' => 'check'
00429 )
00430 ),
00431 'mount_pid_ol' => array (
00432 'exclude' => 1,
00433 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol',
00434 'config' => array (
00435 'type' => 'check'
00436 )
00437 ),
00438 'module' => array (
00439 'exclude' => 1,
00440 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.module',
00441 'config' => array (
00442 'type' => 'select',
00443 'items' => array (
00444 array('', ''),
00445 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.1', 'shop'),
00446 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.2', 'board'),
00447 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.3', 'news'),
00448 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.4', 'fe_users'),
00449 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.6', 'approve')
00450 ),
00451 'default' => ''
00452 )
00453 ),
00454 'fe_login_mode' => array (
00455 'exclude' => 1,
00456 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode',
00457 'config' => array (
00458 'type' => 'select',
00459 'items' => array (
00460 array('', 0),
00461 array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disable', 1),
00462 array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.enable', 2),
00463 )
00464 )
00465 ),
00466 'l18n_cfg' => array (
00467 'exclude' => 1,
00468 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg',
00469 'config' => array (
00470 'type' => 'check',
00471 'items' => array (
00472 array('LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.1', ''),
00473 array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2', ''),
00474 ),
00475 )
00476 ),
00477 ));
00478
00479
00480 $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
00481
00482
00483
00484 $TCA['pages']['types'] = array (
00485
00486 '1' => array('showitem' =>
00487 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
00488 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
00489 --palette--;LLL:EXT:lang/locallang_general.xml:LGL.author;5;;3-3-3, abstract, keywords, description,
00490 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00491 media,
00492 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00493 TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
00494 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00495 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
00496 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00497 '),
00498
00499 '3' => array('showitem' =>
00500 'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide,
00501 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.url,
00502 url;;;;3-3-3, urltype,
00503 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00504 media,
00505 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00506 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
00507 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00508 starttime, endtime, fe_group, extendToSubpages,
00509 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00510 '),
00511
00512 '4' => array('showitem' =>
00513 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
00514 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.shortcut,
00515 shortcut;;;;3-3-3, shortcut_mode,
00516 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00517 media,
00518 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00519 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
00520 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00521 starttime, endtime, fe_group, extendToSubpages,
00522 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00523 '),
00524
00525 '5' => array('showitem' =>
00526 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
00527 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00528 media,
00529 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00530 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
00531 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00532 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
00533 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00534 '),
00535
00536 '7' => array('showitem' =>
00537 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
00538 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.mount,
00539 mount_pid;;;;3-3-3, mount_pid_ol,
00540 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00541 media,
00542 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00543 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
00544 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00545 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
00546 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00547 '),
00548
00549 '199' => array('showitem' =>
00550 'doktype;;2;button;1-1-1, hidden, title,
00551 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00552 TSconfig;;6;nowrap;5-5-5, storage_pid;;7,
00553 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00554 '),
00555
00556 '254' => array('showitem' =>
00557 'doktype;;2;button;1-1-1, hidden, title;LLL:EXT:lang/locallang_general.xml:LGL.title,
00558 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00559 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module,
00560 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00561 '),
00562
00563 '255' => array('showitem' =>
00564 'doktype;;2;button;1-1-1, hidden, title,
00565 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00566 ')
00567 );
00568
00569
00570
00571 $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],array(
00572 '1' => array('showitem' => 'starttime, endtime, extendToSubpages'),
00573 '2' => array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
00574 '3' => array('showitem' => 'alias, target, no_cache, cache_timeout'),
00575 '5' => array('showitem' => 'author, author_email', 'canNotCollapse' => 1)
00576 ));
00577
00578
00579
00580
00581 if (!t3lib_div::compat_version('4.2')) {
00582
00583 array_splice(
00584 $TCA['pages']['columns']['doktype']['config']['items'],
00585 2,
00586 0,
00587 array(
00588 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.0', '2', 'i/pages.gif'),
00589 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.3', '5', 'i/pages_notinmenu.gif'),
00590 )
00591 );
00592
00593 $TCA['pages']['types'][1] = array(
00594
00595 'showitem' =>
00596 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
00597 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00598 starttime, endtime, fe_group, extendToSubpages,
00599 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00600 TSconfig;;6;nowrap;4-4-4, storage_pid;;7, l18n_cfg,
00601 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00602 ');
00603
00604 $TCA['pages']['types'][2] = array(
00605 'showitem' =>
00606 'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
00607 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
00608 abstract;;5;;3-3-3, keywords, description,
00609 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
00610 media,
00611 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
00612 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
00613 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
00614 TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
00615 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
00616 ');
00617 }
00618
00619
00620
00621
00622 $TCA['tt_content'] = array (
00623 'ctrl' => array (
00624 'label' => 'header',
00625 'label_alt' => 'subheader,bodytext',
00626 'sortby' => 'sorting',
00627 'tstamp' => 'tstamp',
00628 'crdate' => 'crdate',
00629 'cruser_id' => 'cruser_id',
00630 'title' => 'LLL:EXT:cms/locallang_tca.xml:tt_content',
00631 'delete' => 'deleted',
00632 'versioningWS' => 2,
00633 'versioning_followPages' => true,
00634 'origUid' => 't3_origuid',
00635 'type' => 'CType',
00636 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
00637 'copyAfterDuplFields' => 'colPos,sys_language_uid',
00638 'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
00639 'shadowColumnsForNewPlaceholders' => 'colPos',
00640 'transOrigPointerField' => 'l18n_parent',
00641 'transOrigDiffSourceField' => 'l18n_diffsource',
00642 'languageField' => 'sys_language_uid',
00643 'enablecolumns' => array (
00644 'disabled' => 'hidden',
00645 'starttime' => 'starttime',
00646 'endtime' => 'endtime',
00647 'fe_group' => 'fe_group',
00648 ),
00649 'typeicon_column' => 'CType',
00650 'typeicons' => array (
00651 'header' => 'tt_content_header.gif',
00652 'textpic' => 'tt_content_textpic.gif',
00653 'image' => 'tt_content_image.gif',
00654 'bullets' => 'tt_content_bullets.gif',
00655 'table' => 'tt_content_table.gif',
00656 'splash' => 'tt_content_news.gif',
00657 'uploads' => 'tt_content_uploads.gif',
00658 'multimedia' => 'tt_content_mm.gif',
00659 'menu' => 'tt_content_menu.gif',
00660 'list' => 'tt_content_list.gif',
00661 'mailform' => 'tt_content_form.gif',
00662 'search' => 'tt_content_search.gif',
00663 'login' => 'tt_content_login.gif',
00664 'shortcut' => 'tt_content_shortcut.gif',
00665 'script' => 'tt_content_script.gif',
00666 'div' => 'tt_content_div.gif',
00667 'html' => 'tt_content_html.gif'
00668 ),
00669 'mainpalette' => '15',
00670 'thumbnail' => 'image',
00671 'requestUpdate' => 'list_type,rte_enabled',
00672 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php',
00673 'dividers2tabs' => 1
00674 )
00675 );
00676
00677
00678
00679
00680 $TCA['fe_users'] = array (
00681 'ctrl' => array (
00682 'label' => 'username',
00683 'tstamp' => 'tstamp',
00684 'crdate' => 'crdate',
00685 'cruser_id' => 'cruser_id',
00686 'fe_cruser_id' => 'fe_cruser_id',
00687 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_users',
00688 'delete' => 'deleted',
00689 'enablecolumns' => array (
00690 'disabled' => 'disable',
00691 'starttime' => 'starttime',
00692 'endtime' => 'endtime'
00693 ),
00694 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
00695 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
00696 'dividers2tabs' => 1
00697 ),
00698 'feInterface' => array (
00699 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
00700 )
00701 );
00702
00703
00704
00705
00706 $TCA['fe_groups'] = array (
00707 'ctrl' => array (
00708 'label' => 'title',
00709 'tstamp' => 'tstamp',
00710 'crdate' => 'crdate',
00711 'cruser_id' => 'cruser_id',
00712 'delete' => 'deleted',
00713 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
00714 'enablecolumns' => array (
00715 'disabled' => 'hidden'
00716 ),
00717 'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups',
00718 'useColumnsForDefaultValues' => 'lockToDomain',
00719 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
00720 'dividers2tabs' => 1
00721 )
00722 );
00723
00724
00725
00726
00727 $TCA['sys_domain'] = array (
00728 'ctrl' => array (
00729 'label' => 'domainName',
00730 'tstamp' => 'tstamp',
00731 'crdate' => 'crdate',
00732 'cruser_id' => 'cruser_id',
00733 'sortby' => 'sorting',
00734 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain',
00735 'iconfile' => 'domain.gif',
00736 'enablecolumns' => array (
00737 'disabled' => 'hidden'
00738 ),
00739 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00740 )
00741 );
00742
00743
00744
00745
00746 $TCA['pages_language_overlay'] = array (
00747 'ctrl' => array (
00748 'label' => 'title',
00749 'tstamp' => 'tstamp',
00750 'title' => 'LLL:EXT:cms/locallang_tca.xml:pages_language_overlay',
00751 'versioningWS' => true,
00752 'versioning_followPages' => true,
00753 'origUid' => 't3_origuid',
00754 'crdate' => 'crdate',
00755 'cruser_id' => 'cruser_id',
00756 'delete' => 'deleted',
00757 'enablecolumns' => array (
00758 'disabled' => 'hidden',
00759 'starttime' => 'starttime',
00760 'endtime' => 'endtime'
00761 ),
00762 'transOrigPointerField' => 'pid',
00763 'transOrigPointerTable' => 'pages',
00764 'transOrigDiffSourceField' => 'l18n_diffsource',
00765 'shadowColumnsForNewPlaceholders' => 'title',
00766 'languageField' => 'sys_language_uid',
00767 'mainpalette' => 1,
00768 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00769 )
00770 );
00771
00772
00773
00774
00775
00776 $TCA['sys_template'] = array (
00777 'ctrl' => array (
00778 'label' => 'title',
00779 'tstamp' => 'tstamp',
00780 'sortby' => 'sorting',
00781 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
00782 'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template',
00783 'versioningWS' => true,
00784 'origUid' => 't3_origuid',
00785 'crdate' => 'crdate',
00786 'cruser_id' => 'cruser_id',
00787 'delete' => 'deleted',
00788 'adminOnly' => 1,
00789 'iconfile' => 'template.gif',
00790 'thumbnail' => 'resources',
00791 'enablecolumns' => array (
00792 'disabled' => 'hidden',
00793 'starttime' => 'starttime',
00794 'endtime' => 'endtime'
00795 ),
00796 'typeicon_column' => 'root',
00797 'typeicons' => array (
00798 '0' => 'template_add.gif'
00799 ),
00800 'dividers2tabs' => 1,
00801 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00802 )
00803 );
00804
00805
00806
00807
00808 $TCA['static_template'] = array (
00809 'ctrl' => array (
00810 'label' => 'title',
00811 'tstamp' => 'tstamp',
00812 'title' => 'LLL:EXT:cms/locallang_tca.xml:static_template',
00813 'readOnly' => 1,
00814 'adminOnly' => 1,
00815 'rootLevel' => 1,
00816 'is_static' => 1,
00817 'default_sortby' => 'ORDER BY title',
00818 'crdate' => 'crdate',
00819 'iconfile' => 'template_standard.gif',
00820 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
00821 )
00822 );
00823
00824 ?>