[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/typo3conf/ -> temp_CACHED_ps50cc_ext_tables.php (source)

   1  <?php
   2  ###########################
   3  ## EXTENSION: cms
   4  ## FILE:      /var/www/typo3/typo3/sysext/cms/ext_tables.php
   5  ###########################
   6  
   7  $_EXTKEY = 'cms';
   8  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
   9  
  10  ?><?php
  11  # TYPO3 CVS ID: $Id: ext_tables.php 2332 2007-05-09 22:56:41Z tkahler $
  12  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
  13  
  14  if (TYPO3_MODE=='BE')    {
  15      t3lib_extMgm::addModule('web','layout','top',t3lib_extMgm::extPath($_EXTKEY).'layout/');
  16      t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_layout','EXT:cms/locallang_csh_weblayout.xml');
  17      t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:cms/locallang_csh_webinfo.xml');
  18  
  19      t3lib_extMgm::insertModuleFunction(
  20          'web_info',
  21          'tx_cms_webinfo_page',
  22          t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo.php',
  23          'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_page'
  24      );
  25      t3lib_extMgm::insertModuleFunction(
  26          'web_info',
  27          'tx_cms_webinfo_lang',
  28          t3lib_extMgm::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo_lang.php',
  29          'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_lang'
  30      );
  31  }
  32  
  33  
  34  // ******************************************************************
  35  // Extend 'pages'-table
  36  // ******************************************************************
  37  
  38  if (TYPO3_MODE=='BE')    {
  39      // Setting ICON_TYPES (obsolete by the removal of the plugin_mgm extension)
  40      $ICON_TYPES = Array();
  41  }
  42  
  43      // Adding pages_types:
  44          // t3lib_div::array_merge() MUST be used!
  45      $PAGES_TYPES = t3lib_div::array_merge(array(
  46          '3' => Array(
  47              'icon' => 'pages_link.gif'
  48          ),
  49          '4' => Array(
  50              'icon' => 'pages_shortcut.gif'
  51          ),
  52          '5' => Array(
  53              'icon' => 'pages_notinmenu.gif'
  54          ),
  55          '7' => Array(
  56              'icon' => 'pages_mountpoint.gif'
  57          ),
  58          '6' => Array(
  59              'type' => 'web',
  60              'icon' => 'be_users_section.gif',
  61              'allowedTables' => '*'
  62          ),
  63          '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
  64              'type' => 'sys',
  65              'icon' => 'spacer_icon.gif',
  66          )
  67      ),$PAGES_TYPES);
  68  
  69      // Add allowed records to pages:
  70      t3lib_extMgm::allowTableOnStandardPages('pages_language_overlay,tt_content,sys_template,sys_domain');
  71  
  72      // Merging in CMS doktypes:
  73      array_splice(
  74          $TCA['pages']['columns']['doktype']['config']['items'],
  75          1,
  76          0,
  77          Array(
  78              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.0', '2'),
  79              Array('LLL:EXT:lang/locallang_general.php:LGL.external', '3'),
  80              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2', '4'),
  81              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.3', '5'),
  82              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4', '6'),
  83              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5', '7'),
  84              Array('-----', '--div--'),
  85              Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7', '199')
  86          )
  87      );
  88  
  89      // Setting enablecolumns:
  90      $TCA['pages']['ctrl']['enablecolumns'] = Array (
  91          'disabled' => 'hidden',
  92          'starttime' => 'starttime',
  93          'endtime' => 'endtime',
  94          'fe_group' => 'fe_group',
  95      );
  96  
  97      // Adding default value columns:
  98      $TCA['pages']['ctrl']['useColumnsForDefaultValues'].=',fe_group,hidden';
  99      $TCA['pages']['ctrl']['transForeignTable'] = 'pages_language_overlay';
 100  
 101      // Adding new columns:
 102      $TCA['pages']['columns'] = array_merge($TCA['pages']['columns'],Array(
 103          'hidden' => Array (
 104              'exclude' => 1,
 105              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.hidden',
 106              'config' => Array (
 107                  'type' => 'check',
 108                  'default' => '1'
 109              )
 110          ),
 111          'starttime' => Array (
 112              'exclude' => 1,
 113              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
 114              'config' => Array (
 115                  'type' => 'input',
 116                  'size' => '8',
 117                  'max' => '20',
 118                  'eval' => 'date',
 119                  'checkbox' => '0',
 120                  'default' => '0'
 121              )
 122          ),
 123          'endtime' => Array (
 124              'exclude' => 1,
 125              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
 126              'config' => Array (
 127                  'type' => 'input',
 128                  'size' => '8',
 129                  'max' => '20',
 130                  'eval' => 'date',
 131                  'checkbox' => '0',
 132                  'default' => '0',
 133                  'range' => Array (
 134                      'upper' => mktime(0,0,0,12,31,2020),
 135                  )
 136              )
 137          ),
 138          'layout' => Array (
 139              'exclude' => 1,
 140              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
 141              'config' => Array (
 142                  'type' => 'select',
 143                  'items' => Array (
 144                      Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
 145                      Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.1', '1'),
 146                      Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.2', '2'),
 147                      Array('LLL:EXT:cms/locallang_tca.php:pages.layout.I.3', '3')
 148                  ),
 149                  'default' => '0'
 150              )
 151          ),
 152          'fe_group' => Array (
 153              'exclude' => 1,
 154              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
 155              'config' => Array (
 156                  'type' => 'select',
 157                  'size' => 5,
 158                  'maxitems' => 20,
 159                  'items' => Array (
 160                      Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
 161                      Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
 162                      Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
 163                  ),
 164                  'exclusiveKeys' => '-1,-2',
 165                  'foreign_table' => 'fe_groups',
 166              )
 167          ),
 168          'extendToSubpages' => Array (
 169              'exclude' => 1,
 170              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.extendToSubpages',
 171              'config' => Array (
 172                  'type' => 'check'
 173              )
 174          ),
 175          'nav_title' => Array (
 176              'exclude' => 1,
 177              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_title',
 178              'config' => Array (
 179                  'type' => 'input',
 180                  'size' => '30',
 181                  'max' => '256',
 182                  'checkbox' => '',
 183                  'eval' => 'trim'
 184              )
 185          ),
 186          'nav_hide' => Array (
 187              'exclude' => 1,
 188              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.nav_hide',
 189              'config' => Array (
 190                  'type' => 'check'
 191              )
 192          ),
 193          'subtitle' => Array (
 194              'exclude' => 1,
 195              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.subtitle',
 196              'config' => Array (
 197                  'type' => 'input',
 198                  'size' => '30',
 199                  'max' => '256',
 200                  'eval' => ''
 201              )
 202          ),
 203          'target' => Array (
 204              'exclude' => 1,
 205              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.target',
 206              'config' => Array (
 207                  'type' => 'input',
 208                  'size' => '7',
 209                  'max' => '20',
 210                  'eval' => 'trim',
 211                  'checkbox' => ''
 212              )
 213          ),
 214          'alias' => Array (
 215              'displayCond' => 'VERSION:IS:false',
 216              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.alias',
 217              'config' => Array (
 218                  'type' => 'input',
 219                  'size' => '10',
 220                  'max' => '32',
 221                  'eval' => 'nospace,alphanum_x,lower,unique',
 222                  'softref' => 'notify'
 223              )
 224          ),
 225          'url' => Array (
 226              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.url',
 227              'config' => Array (
 228                  'type' => 'input',
 229                  'size' => '25',
 230                  'max' => '256',
 231                  'eval' => 'trim,required',
 232                  'softref' => 'url'
 233              )
 234          ),
 235          'urltype' => Array (
 236              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
 237              'config' => Array (
 238                  'type' => 'select',
 239                  'items' => Array (
 240                      Array('', '0'),
 241                      Array('http://', '1'),
 242                      Array('https://', '4'),
 243                      Array('ftp://', '2'),
 244                      Array('mailto:', '3')
 245                  ),
 246                  'default' => '1'
 247              )
 248          ),
 249          'lastUpdated' => Array (
 250              'exclude' => 1,
 251              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.lastUpdated',
 252              'config' => Array (
 253                  'type' => 'input',
 254                  'size' => '12',
 255                  'max' => '20',
 256                  'eval' => 'datetime',
 257                  'checkbox' => '0',
 258                  'default' => '0'
 259              )
 260          ),
 261          'newUntil' => Array (
 262              'exclude' => 1,
 263              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.newUntil',
 264              'config' => Array (
 265                  'type' => 'input',
 266                  'size' => '8',
 267                  'max' => '20',
 268                  'eval' => 'date',
 269                  'checkbox' => '0',
 270                  'default' => '0'
 271              )
 272          ),
 273          'cache_timeout' => Array (
 274              'exclude' => 1,
 275              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.cache_timeout',
 276              'config' => Array (
 277                  'type' => 'select',
 278                  'items' => Array (
 279                      Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
 280                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.1', 60),
 281                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.2', 5*60),
 282                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.3', 15*60),
 283                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.4', 30*60),
 284                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.5', 60*60),
 285                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.6', 4*60*60),
 286                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.7', 24*60*60),
 287                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.8', 2*24*60*60),
 288                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.9', 7*24*60*60),
 289                      Array('LLL:EXT:cms/locallang_tca.php:pages.cache_timeout.I.10', 31*24*60*60)
 290                  ),
 291                  'default' => '0'
 292              )
 293          ),
 294          'no_cache' => Array (
 295              'exclude' => 1,
 296              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_cache',
 297              'config' => Array (
 298                  'type' => 'check'
 299              )
 300          ),
 301          'no_search' => Array (
 302              'exclude' => 1,
 303              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.no_search',
 304              'config' => Array (
 305                  'type' => 'check'
 306              )
 307          ),
 308          'shortcut' => Array (
 309              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.shortcut_page',
 310              'config' => Array (
 311                  'type' => 'group',
 312                  'internal_type' => 'db',
 313                  'allowed' => 'pages',
 314                  'size' => '3',
 315                  'maxitems' => '1',
 316                  'minitems' => '0',
 317                  'show_thumbs' => '1'
 318              )
 319          ),
 320          'shortcut_mode' => Array (
 321              'exclude' => 1,
 322              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode',
 323              'config' => Array (
 324                  'type' => 'select',
 325                  'items' => Array (
 326                      Array('', 0),
 327                      Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.1', 1),
 328                      Array('LLL:EXT:cms/locallang_tca.php:pages.shortcut_mode.I.2', 2),
 329                  ),
 330                  'default' => '0'
 331              )
 332          ),
 333          'content_from_pid' => Array (
 334              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.content_from_pid',
 335              'config' => Array (
 336                  'type' => 'group',
 337                  'internal_type' => 'db',
 338                      'allowed' => 'pages',
 339                  'size' => '1',
 340                  'maxitems' => '1',
 341                  'minitems' => '0',
 342                  'show_thumbs' => '1'
 343              )
 344          ),
 345          'mount_pid' => Array (
 346              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid',
 347              'config' => Array (
 348                  'type' => 'group',
 349                  'internal_type' => 'db',
 350                      'allowed' => 'pages',
 351                  'size' => '1',
 352                  'maxitems' => '1',
 353                  'minitems' => '0',
 354                  'show_thumbs' => '1'
 355              )
 356          ),
 357          'keywords' => Array (
 358              'exclude' => 1,
 359              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.keywords',
 360              'config' => Array (
 361                  'type' => 'text',
 362                  'cols' => '40',
 363                  'rows' => '3'
 364              )
 365          ),
 366          'description' => Array (
 367              'exclude' => 1,
 368              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
 369              'config' => Array (
 370                  'type' => 'input',
 371                  'size' => '40',
 372                  'eval' => 'trim'
 373              )
 374          ),
 375          'abstract' => Array (
 376              'exclude' => 1,
 377              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.abstract',
 378              'config' => Array (
 379                  'type' => 'text',
 380                  'cols' => '40',
 381                  'rows' => '3'
 382              )
 383          ),
 384          'author' => Array (
 385              'exclude' => 1,
 386              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
 387              'config' => Array (
 388                  'type' => 'input',
 389                  'size' => '20',
 390                  'eval' => 'trim',
 391                  'max' => '80'
 392              )
 393          ),
 394          'author_email' => Array (
 395              'exclude' => 1,
 396              'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
 397              'config' => Array (
 398                  'type' => 'input',
 399                  'size' => '20',
 400                  'eval' => 'trim',
 401                  'max' => '80',
 402                  'softref' => 'email[subst]'
 403              )
 404          ),
 405          'media' => Array (
 406              'exclude' => 1,
 407              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.media',
 408              'config' => Array (
 409                  'type' => 'group',
 410                  'internal_type' => 'file',
 411                  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
 412                  'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
 413                  'uploadfolder' => 'uploads/media',
 414                  'show_thumbs' => '1',
 415                  'size' => '3',
 416                  'maxitems' => '5',
 417                  'minitems' => '0'
 418              )
 419          ),
 420          'is_siteroot' => Array (
 421              'exclude' => 1,
 422              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.is_siteroot',
 423              'config' => Array (
 424                  'type' => 'check'
 425              )
 426          ),
 427          'mount_pid_ol' => Array (
 428              'exclude' => 1,
 429              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.mount_pid_ol',
 430              'config' => Array (
 431                  'type' => 'check'
 432              )
 433          ),
 434          'module' => Array (
 435              'exclude' => 1,
 436              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.module',
 437              'config' => Array (
 438                  'type' => 'select',
 439                  'items' => Array (
 440                      Array('', ''),
 441                      Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.1', 'shop'),
 442                      Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.2', 'board'),
 443                      Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.3', 'news'),
 444                      Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.4', 'fe_users'),
 445                      Array('LLL:EXT:cms/locallang_tca.php:pages.module.I.6', 'approve')
 446                  ),
 447                  'default' => ''
 448              )
 449          ),
 450          'fe_login_mode' => Array (
 451              'exclude' => 1,
 452              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode',
 453              'config' => Array (
 454                  'type' => 'select',
 455                  'items' => Array (
 456                      Array('', 0),
 457                      Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.disable', 1),
 458                      Array('LLL:EXT:cms/locallang_tca.php:pages.fe_login_mode.enable', 2),
 459                  )
 460              )
 461          ),
 462          'l18n_cfg' => Array (
 463              'exclude' => 1,
 464              'label' => 'LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg',
 465              'config' => Array (
 466                  'type' => 'check',
 467                  'items' => Array (
 468                      Array('LLL:EXT:cms/locallang_tca.php:pages.l18n_cfg.I.1', ''),
 469                      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', ''),
 470                  ),
 471              )
 472          ),
 473      ));
 474  
 475          // Add columns to info-display list.
 476      $TCA['pages']['interface']['showRecordFieldList'].=',alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout';
 477  
 478          // Setting main palette
 479      $TCA['pages']['ctrl']['mainpalette']='1,15';
 480  
 481          // Totally overriding all type-settings:
 482      $TCA['pages']['types'] = Array (
 483          '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'),
 484          '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'),
 485          '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'),
 486          '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'),
 487          '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'),
 488          '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'),
 489          '199' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2, TSconfig;;6;nowrap;5-5-5, storage_pid;;7'),
 490          '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'),
 491          '255' => Array('showitem' => 'hidden;;;;1-1-1, doktype, title;;;;2-2-2')
 492      );
 493          // Merging palette settings:
 494          // t3lib_div::array_merge() MUST be used - otherwise the keys will be re-numbered!
 495      $TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],Array(
 496          '1' => Array('showitem' => 'starttime,endtime,extendToSubpages'),
 497          '15' => Array('showitem' => 'fe_group'),
 498          '2' => Array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
 499          '3' => Array('showitem' => 'alias, target, no_cache, cache_timeout'),
 500          '5' => Array('showitem' => 'author,author_email'),
 501      ));
 502  
 503  
 504  
 505  
 506  
 507  
 508  // ******************************************************************
 509  // This is the standard TypoScript content table, tt_content
 510  // ******************************************************************
 511  $TCA['tt_content'] = Array (
 512      'ctrl' => Array (
 513          'label' => 'header',
 514          'label_alt' => 'subheader,bodytext',
 515          'sortby' => 'sorting',
 516          'tstamp' => 'tstamp',
 517          'title' => 'LLL:EXT:cms/locallang_tca.php:tt_content',
 518          'delete' => 'deleted',
 519          'versioningWS' => TRUE,
 520          'versioning_followPages' => TRUE,
 521          'origUid' => 't3_origuid',
 522          'type' => 'CType',
 523          'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
 524          'copyAfterDuplFields' => 'colPos,sys_language_uid',
 525          'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
 526          'shadowColumnsForNewPlaceholders' => 'colPos',
 527          'transOrigPointerField' => 'l18n_parent',
 528          'transOrigDiffSourceField' => 'l18n_diffsource',
 529          'languageField' => 'sys_language_uid',
 530          'enablecolumns' => Array (
 531              'disabled' => 'hidden',
 532              'starttime' => 'starttime',
 533              'endtime' => 'endtime',
 534              'fe_group' => 'fe_group',
 535          ),
 536          'typeicon_column' => 'CType',
 537          'typeicons' => Array (
 538              'header' => 'tt_content_header.gif',
 539              'textpic' => 'tt_content_textpic.gif',
 540              'image' => 'tt_content_image.gif',
 541              'bullets' => 'tt_content_bullets.gif',
 542              'table' => 'tt_content_table.gif',
 543              'splash' => 'tt_content_news.gif',
 544              'uploads' => 'tt_content_uploads.gif',
 545              'multimedia' => 'tt_content_mm.gif',
 546              'menu' => 'tt_content_menu.gif',
 547              'list' => 'tt_content_list.gif',
 548              'mailform' => 'tt_content_form.gif',
 549              'search' => 'tt_content_search.gif',
 550              'login' => 'tt_content_login.gif',
 551              'shortcut' => 'tt_content_shortcut.gif',
 552              'script' => 'tt_content_script.gif',
 553              'div' => 'tt_content_div.gif',
 554              'html' => 'tt_content_html.gif'
 555          ),
 556          'mainpalette' => '1,15',
 557          'thumbnail' => 'image',
 558          'requestUpdate' => 'list_type',
 559          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
 560      )
 561  );
 562  
 563  // ******************************************************************
 564  // fe_users
 565  // ******************************************************************
 566  $TCA['fe_users'] = Array (
 567      'ctrl' => Array (
 568          'label' => 'username',
 569          'tstamp' => 'tstamp',
 570          'crdate' => 'crdate',
 571          'cruser_id' => 'cruser_id',
 572          'fe_cruser_id' => 'fe_cruser_id',
 573          'title' => 'LLL:EXT:cms/locallang_tca.php:fe_users',
 574          'delete' => 'deleted',
 575          'mainpalette' => '1',
 576          'enablecolumns' => Array (
 577              'disabled' => 'disable',
 578              'starttime' => 'starttime',
 579              'endtime' => 'endtime'
 580          ),
 581          'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
 582          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 583      ),
 584      'feInterface' => Array (
 585          'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
 586      )
 587  );
 588  
 589  // ******************************************************************
 590  // fe_groups
 591  // ******************************************************************
 592  $TCA['fe_groups'] = Array (
 593      'ctrl' => Array (
 594          'label' => 'title',
 595          'tstamp' => 'tstamp',
 596          'delete' => 'deleted',
 597          'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
 598          'enablecolumns' => Array (
 599              'disabled' => 'hidden'
 600          ),
 601          'title' => 'LLL:EXT:cms/locallang_tca.php:fe_groups',
 602          'useColumnsForDefaultValues' => 'lockToDomain',
 603          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 604      )
 605  );
 606  
 607  // ******************************************************************
 608  // sys_domain
 609  // ******************************************************************
 610  $TCA['sys_domain'] = Array (
 611      'ctrl' => Array (
 612          'label' => 'domainName',
 613          'tstamp' => 'tstamp',
 614          'sortby' => 'sorting',
 615          'title' => 'LLL:EXT:cms/locallang_tca.php:sys_domain',
 616          'iconfile' => 'domain.gif',
 617          'enablecolumns' => Array (
 618              'disabled' => 'hidden'
 619          ),
 620          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 621      )
 622  );
 623  
 624  // ******************************************************************
 625  // pages_language_overlay
 626  // ******************************************************************
 627  $TCA['pages_language_overlay'] = Array (
 628      'ctrl' => Array (
 629          'label' => 'title',
 630          'tstamp' => 'tstamp',
 631          'title' => 'LLL:EXT:cms/locallang_tca.php:pages_language_overlay',
 632          'versioningWS' => TRUE,
 633          'versioning_followPages' => TRUE,
 634          'origUid' => 't3_origuid',
 635          'crdate' => 'crdate',
 636          'cruser_id' => 'cruser_id',
 637          'delete' => 'deleted',
 638          'enablecolumns' => Array (
 639              'disabled' => 'hidden',
 640              'starttime' => 'starttime',
 641              'endtime' => 'endtime'
 642          ),
 643          'transOrigPointerField' => 'pid',
 644          'transOrigPointerTable' => 'pages',
 645          'transOrigDiffSourceField' => 'l18n_diffsource',
 646          'shadowColumnsForNewPlaceholders' => 'title',
 647          'languageField' => 'sys_language_uid',
 648          'mainpalette' => 1,
 649          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 650      )
 651  );
 652  
 653  
 654  // ******************************************************************
 655  // sys_template
 656  // ******************************************************************
 657  $TCA['sys_template'] = Array (
 658      'ctrl' => Array (
 659          'label' => 'title',
 660          'tstamp' => 'tstamp',
 661          'sortby' => 'sorting',
 662          'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
 663          'title' => 'LLL:EXT:cms/locallang_tca.php:sys_template',
 664          'versioningWS' => TRUE,
 665          'origUid' => 't3_origuid',
 666          'crdate' => 'crdate',
 667          'cruser_id' => 'cruser_id',
 668          'delete' => 'deleted',
 669          'adminOnly' => 1,    // Only admin, if any
 670          'iconfile' => 'template.gif',
 671          'thumbnail' => 'resources',
 672          'enablecolumns' => Array (
 673              'disabled' => 'hidden',
 674              'starttime' => 'starttime',
 675              'endtime' => 'endtime'
 676          ),
 677          'typeicon_column' => 'root',
 678          'typeicons' => Array (
 679              '0' => 'template_add.gif'
 680          ),
 681          'mainpalette' => '1',
 682          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 683      )
 684  );
 685  
 686  // ******************************************************************
 687  // static_template
 688  // ******************************************************************
 689  $TCA['static_template'] = Array (
 690      'ctrl' => Array (
 691          'label' => 'title',
 692          'tstamp' => 'tstamp',
 693          'title' => 'LLL:EXT:cms/locallang_tca.php:static_template',
 694          'readOnly' => 1,    // This should always be true, as it prevents the static templates from being altered
 695          'adminOnly' => 1,    // Only admin, if any
 696          'rootLevel' => 1,
 697          'is_static' => 1,
 698          'default_sortby' => 'ORDER BY title',
 699          'crdate' => 'crdate',
 700          'iconfile' => 'template_standard.gif',
 701          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
 702      )
 703  );
 704  
 705  ?><?php
 706  ###########################
 707  ## EXTENSION: version
 708  ## FILE:      /var/www/typo3/typo3/sysext/version/ext_tables.php
 709  ###########################
 710  
 711  $_EXTKEY = 'version';
 712  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 713  
 714  ?><?php
 715  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 716  
 717  if (TYPO3_MODE=='BE')    {
 718      $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
 719          'name' => 'tx_version_cm1',
 720          'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_version_cm1.php'
 721      );
 722  
 723      t3lib_extMgm::addModule('web','txversionM1','',t3lib_extMgm::extPath($_EXTKEY).'cm1/');
 724  }
 725  ?><?php
 726  ###########################
 727  ## EXTENSION: sv
 728  ## FILE:      /var/www/typo3/typo3/sysext/sv/ext_tables.php
 729  ###########################
 730  
 731  $_EXTKEY = 'sv';
 732  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 733  
 734  ?><?php
 735  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 736  
 737  // normal services should be added here
 738  
 739  ?><?php
 740  ###########################
 741  ## EXTENSION: context_help
 742  ## FILE:      /var/www/typo3/typo3/sysext/context_help/ext_tables.php
 743  ###########################
 744  
 745  $_EXTKEY = 'context_help';
 746  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 747  
 748  ?><?php
 749  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 750  
 751  t3lib_extMgm::addLLrefForTCAdescr('fe_groups','EXT:context_help/locallang_csh_fe_groups.xml');
 752  t3lib_extMgm::addLLrefForTCAdescr('fe_users','EXT:context_help/locallang_csh_fe_users.xml');
 753  t3lib_extMgm::addLLrefForTCAdescr('pages','EXT:context_help/locallang_csh_pages.xml');
 754  t3lib_extMgm::addLLrefForTCAdescr('pages_language_overlay','EXT:context_help/locallang_csh_pageslol.xml');
 755  t3lib_extMgm::addLLrefForTCAdescr('static_template','EXT:context_help/locallang_csh_statictpl.xml');
 756  t3lib_extMgm::addLLrefForTCAdescr('sys_domain','EXT:context_help/locallang_csh_sysdomain.xml');
 757  t3lib_extMgm::addLLrefForTCAdescr('sys_template','EXT:context_help/locallang_csh_systmpl.xml');
 758  t3lib_extMgm::addLLrefForTCAdescr('tt_content','EXT:context_help/locallang_csh_ttcontent.xml');
 759  ?><?php
 760  ###########################
 761  ## EXTENSION: extra_page_cm_options
 762  ## FILE:      /var/www/typo3/typo3/sysext/extra_page_cm_options/ext_tables.php
 763  ###########################
 764  
 765  $_EXTKEY = 'extra_page_cm_options';
 766  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 767  
 768  ?><?php
 769  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 770  
 771  if (TYPO3_MODE=='BE')    {
 772      $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
 773          'name' => 'tx_extrapagecmoptions',
 774          'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_extrapagecmoptions.php'
 775      );
 776  }
 777  ?><?php
 778  ###########################
 779  ## EXTENSION: impexp
 780  ## FILE:      /var/www/typo3/typo3/sysext/impexp/ext_tables.php
 781  ###########################
 782  
 783  $_EXTKEY = 'impexp';
 784  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 785  
 786  ?><?php
 787  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 788  
 789  if (TYPO3_MODE=='BE')    {
 790      $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][]=array(
 791          'name' => 'tx_impexp_clickmenu',
 792          'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php'
 793      );
 794      t3lib_extMgm::addModulePath('xMOD_tximpexp',t3lib_extMgm::extPath($_EXTKEY).'app/');
 795  
 796      t3lib_extMgm::insertModuleFunction(
 797          'user_task',
 798          'tx_impexp_modfunc1',
 799          t3lib_extMgm::extPath($_EXTKEY).'modfunc1/class.tx_impexp_modfunc1.php',
 800          'LLL:EXT:impexp/app/locallang.xml:moduleFunction.tx_impexp_modfunc1'
 801      );
 802  
 803      t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml');
 804  }
 805  ?><?php
 806  ###########################
 807  ## EXTENSION: sys_note
 808  ## FILE:      /var/www/typo3/typo3/sysext/sys_note/ext_tables.php
 809  ###########################
 810  
 811  $_EXTKEY = 'sys_note';
 812  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 813  
 814  ?><?php
 815  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 816  
 817  if (TYPO3_MODE=='BE')    {
 818      $TCA['sys_note'] = Array (
 819          'ctrl' => Array (
 820              'label' => 'subject',
 821              'default_sortby' => 'ORDER BY crdate',
 822              'tstamp' => 'tstamp',
 823              'crdate' => 'crdate',
 824              'cruser_id' => 'cruser',
 825              'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
 826              'delete' => 'deleted',
 827              'title' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note',
 828              'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
 829          ),
 830          'interface' => Array (
 831              'showRecordFieldList' => 'category,subject,message,author,email,personal'
 832          ),
 833          'columns' => Array (
 834              'category' => Array (
 835                  'label' => 'LLL:EXT:lang/locallang_general.php:LGL.category',
 836                  'config' => Array (
 837                      'type' => 'select',
 838                      'items' => Array (
 839                          Array('', '0'),
 840                          Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.1', '1'),
 841                          Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.2', '3'),
 842                          Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.3', '4'),
 843                          Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.4', '2')
 844                      ),
 845                      'default' => '0'
 846                  )
 847              ),
 848              'subject' => Array (
 849                  'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.subject',
 850                  'config' => Array (
 851                      'type' => 'input',
 852                      'size' => '40',
 853                      'max' => '256'
 854                  )
 855              ),
 856              'message' => Array (
 857                  'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.message',
 858                  'config' => Array (
 859                      'type' => 'text',
 860                      'cols' => '40',
 861                      'rows' => '15'
 862                  )
 863              ),
 864              'author' => Array (
 865                  'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
 866                  'config' => Array (
 867                      'type' => 'input',
 868                      'size' => '20',
 869                      'eval' => 'trim',
 870                      'max' => '80'
 871                  )
 872              ),
 873              'email' => Array (
 874                  'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
 875                  'config' => Array (
 876                      'type' => 'input',
 877                      'size' => '20',
 878                      'eval' => 'trim',
 879                      'max' => '80'
 880                  )
 881              ),
 882              'personal' => Array (
 883                  'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.personal',
 884                  'config' => Array (
 885                      'type' => 'check'
 886                  )
 887              )
 888          ),
 889          'types' => Array (
 890              '0' => Array('showitem' => 'category;;;;2-2-2, author, email, personal, subject;;;;3-3-3, message')
 891          )
 892      );
 893  
 894      t3lib_extMgm::allowTableOnStandardPages('sys_note');
 895  }
 896  
 897  t3lib_extMgm::addLLrefForTCAdescr('sys_note','EXT:sys_note/locallang_csh_sysnote.xml');
 898  ?><?php
 899  ###########################
 900  ## EXTENSION: tstemplate
 901  ## FILE:      /var/www/typo3/typo3/sysext/tstemplate/ext_tables.php
 902  ###########################
 903  
 904  $_EXTKEY = 'tstemplate';
 905  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 906  
 907  ?><?php
 908  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 909  
 910  if (TYPO3_MODE=='BE')    t3lib_extMgm::addModule('web','ts','',t3lib_extMgm::extPath($_EXTKEY).'ts/');
 911  ?><?php
 912  ###########################
 913  ## EXTENSION: tstemplate_ceditor
 914  ## FILE:      /var/www/typo3/typo3/sysext/tstemplate_ceditor/ext_tables.php
 915  ###########################
 916  
 917  $_EXTKEY = 'tstemplate_ceditor';
 918  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 919  
 920  ?><?php
 921  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 922  
 923  if (TYPO3_MODE=='BE')    {
 924      t3lib_extMgm::insertModuleFunction(
 925          'web_ts',
 926          'tx_tstemplateceditor',
 927          t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateceditor.php',
 928          'Constant Editor'
 929      );
 930  }
 931  ?><?php
 932  ###########################
 933  ## EXTENSION: tstemplate_info
 934  ## FILE:      /var/www/typo3/typo3/sysext/tstemplate_info/ext_tables.php
 935  ###########################
 936  
 937  $_EXTKEY = 'tstemplate_info';
 938  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 939  
 940  ?><?php
 941  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 942  
 943  if (TYPO3_MODE=='BE')    {
 944      t3lib_extMgm::insertModuleFunction(
 945          'web_ts',
 946          'tx_tstemplateinfo',
 947          t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateinfo.php',
 948          'Info/Modify'
 949      );
 950  }
 951  ?><?php
 952  ###########################
 953  ## EXTENSION: tstemplate_objbrowser
 954  ## FILE:      /var/www/typo3/typo3/sysext/tstemplate_objbrowser/ext_tables.php
 955  ###########################
 956  
 957  $_EXTKEY = 'tstemplate_objbrowser';
 958  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 959  
 960  ?><?php
 961  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 962  
 963  if (TYPO3_MODE=='BE')    {
 964      t3lib_extMgm::insertModuleFunction(
 965          'web_ts',
 966          'tx_tstemplateobjbrowser',
 967          t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateobjbrowser.php',
 968          'TypoScript Object Browser'
 969      );
 970  }
 971  ?><?php
 972  ###########################
 973  ## EXTENSION: tstemplate_analyzer
 974  ## FILE:      /var/www/typo3/typo3/sysext/tstemplate_analyzer/ext_tables.php
 975  ###########################
 976  
 977  $_EXTKEY = 'tstemplate_analyzer';
 978  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 979  
 980  ?><?php
 981  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
 982  
 983  if (TYPO3_MODE=='BE')    {
 984      t3lib_extMgm::insertModuleFunction(
 985          'web_ts',
 986          'tx_tstemplateanalyzer',
 987          t3lib_extMgm::extPath($_EXTKEY).'class.tx_tstemplateanalyzer.php',
 988          'Template Analyzer'
 989      );
 990  }
 991  ?><?php
 992  ###########################
 993  ## EXTENSION: func_wizards
 994  ## FILE:      /var/www/typo3/typo3/sysext/func_wizards/ext_tables.php
 995  ###########################
 996  
 997  $_EXTKEY = 'func_wizards';
 998  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
 999  
1000  ?><?php
1001  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1002  
1003  if (TYPO3_MODE=='BE')    {
1004      t3lib_extMgm::insertModuleFunction(
1005          'web_func',
1006          'tx_funcwizards_webfunc',
1007          t3lib_extMgm::extPath($_EXTKEY).'class.tx_funcwizards_webfunc.php',
1008          'LLL:EXT:func_wizards/locallang.php:mod_wizards'
1009      );
1010      t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:func_wizards/locallang_csh.xml');
1011  }
1012  ?><?php
1013  ###########################
1014  ## EXTENSION: wizard_crpages
1015  ## FILE:      /var/www/typo3/typo3/sysext/wizard_crpages/ext_tables.php
1016  ###########################
1017  
1018  $_EXTKEY = 'wizard_crpages';
1019  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1020  
1021  ?><?php
1022  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1023  
1024  if (TYPO3_MODE=='BE')    {
1025      t3lib_extMgm::insertModuleFunction(
1026          'web_func',
1027          'tx_wizardcrpages_webfunc_2',
1028          t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardcrpages_webfunc_2.php',
1029          'LLL:EXT:wizard_crpages/locallang.php:wiz_crMany',
1030          'wiz'
1031      );
1032      t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_crpages/locallang_csh.xml');
1033  }
1034  ?><?php
1035  ###########################
1036  ## EXTENSION: wizard_sortpages
1037  ## FILE:      /var/www/typo3/typo3/sysext/wizard_sortpages/ext_tables.php
1038  ###########################
1039  
1040  $_EXTKEY = 'wizard_sortpages';
1041  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1042  
1043  ?><?php
1044  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1045  
1046  if (TYPO3_MODE=='BE')    {
1047      t3lib_extMgm::insertModuleFunction(
1048          'web_func',
1049          'tx_wizardsortpages_webfunc_2',
1050          t3lib_extMgm::extPath($_EXTKEY).'class.tx_wizardsortpages_webfunc_2.php',
1051          'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort',
1052          'wiz'
1053      );
1054      t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_func','EXT:wizard_sortpages/locallang_csh.xml');
1055  }
1056  ?><?php
1057  ###########################
1058  ## EXTENSION: lowlevel
1059  ## FILE:      /var/www/typo3/typo3/sysext/lowlevel/ext_tables.php
1060  ###########################
1061  
1062  $_EXTKEY = 'lowlevel';
1063  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1064  
1065  ?><?php
1066  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1067  
1068  if (TYPO3_MODE=='BE')    {
1069      t3lib_extMgm::addModule('tools','dbint','',t3lib_extMgm::extPath($_EXTKEY).'dbint/');
1070      t3lib_extMgm::addModule('tools','config','',t3lib_extMgm::extPath($_EXTKEY).'config/');
1071  
1072  /*
1073      t3lib_extMgm::insertModuleFunction(
1074          'web_func',
1075          'tx_lowlevel_cleaner',
1076          t3lib_extMgm::extPath($_EXTKEY).'class.tx_lowlevel_cleaner.php',
1077          'Cleaner',
1078          'function',
1079          'online'
1080      );
1081  */
1082  }
1083  ?><?php
1084  ###########################
1085  ## EXTENSION: install
1086  ## FILE:      /var/www/typo3/typo3/sysext/install/ext_tables.php
1087  ###########################
1088  
1089  $_EXTKEY = 'install';
1090  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1091  
1092  ?><?php
1093  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1094  
1095  if (TYPO3_MODE=='BE')    t3lib_extMgm::addModule('tools','install','',t3lib_extMgm::extPath($_EXTKEY).'mod/');
1096  ?><?php
1097  ###########################
1098  ## EXTENSION: belog
1099  ## FILE:      /var/www/typo3/typo3/sysext/belog/ext_tables.php
1100  ###########################
1101  
1102  $_EXTKEY = 'belog';
1103  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1104  
1105  ?><?php
1106  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1107  
1108  if (TYPO3_MODE=='BE')    {
1109      t3lib_extMgm::addModule('tools','log','',t3lib_extMgm::extPath($_EXTKEY).'mod/');
1110      t3lib_extMgm::insertModuleFunction(
1111          'web_info',
1112          'tx_belog_webinfo',
1113          t3lib_extMgm::extPath($_EXTKEY).'class.tx_belog_webinfo.php',
1114          'Log'
1115      );
1116  }
1117  ?><?php
1118  ###########################
1119  ## EXTENSION: beuser
1120  ## FILE:      /var/www/typo3/typo3/sysext/beuser/ext_tables.php
1121  ###########################
1122  
1123  $_EXTKEY = 'beuser';
1124  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1125  
1126  ?><?php
1127  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1128  
1129  if (TYPO3_MODE=='BE')    {
1130      t3lib_extMgm::addModule('tools','beuser','top',t3lib_extMgm::extPath($_EXTKEY).'mod/');
1131  
1132      $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
1133          'name' => 'tx_beuser',
1134          'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_beuser.php'
1135      );
1136  }
1137  ?><?php
1138  ###########################
1139  ## EXTENSION: aboutmodules
1140  ## FILE:      /var/www/typo3/typo3/sysext/aboutmodules/ext_tables.php
1141  ###########################
1142  
1143  $_EXTKEY = 'aboutmodules';
1144  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1145  
1146  ?><?php
1147  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1148  
1149  if (TYPO3_MODE=='BE')    t3lib_extMgm::addModule('help','aboutmodules','top',t3lib_extMgm::extPath($_EXTKEY).'mod/');
1150  ?><?php
1151  ###########################
1152  ## EXTENSION: setup
1153  ## FILE:      /var/www/typo3/typo3/sysext/setup/ext_tables.php
1154  ###########################
1155  
1156  $_EXTKEY = 'setup';
1157  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1158  
1159  ?><?php
1160  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1161  
1162  if (TYPO3_MODE=='BE')    {
1163      t3lib_extMgm::addModule('user','setup','after:task',t3lib_extMgm::extPath($_EXTKEY).'mod/');
1164      t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:setup/locallang_csh_mod.xml');
1165  }
1166  ?><?php
1167  ###########################
1168  ## EXTENSION: taskcenter
1169  ## FILE:      /var/www/typo3/typo3/sysext/taskcenter/ext_tables.php
1170  ###########################
1171  
1172  $_EXTKEY = 'taskcenter';
1173  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1174  
1175  ?><?php
1176  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1177  
1178  if (TYPO3_MODE=='BE')    t3lib_extMgm::addModule('user','task','top',t3lib_extMgm::extPath($_EXTKEY).'task/');
1179  ?><?php
1180  ###########################
1181  ## EXTENSION: info_pagetsconfig
1182  ## FILE:      /var/www/typo3/typo3/sysext/info_pagetsconfig/ext_tables.php
1183  ###########################
1184  
1185  $_EXTKEY = 'info_pagetsconfig';
1186  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1187  
1188  ?><?php
1189  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1190  
1191  if (TYPO3_MODE=='BE')    {
1192      t3lib_extMgm::insertModuleFunction(
1193          'web_info',
1194          'tx_infopagetsconfig_webinfo',
1195          t3lib_extMgm::extPath($_EXTKEY).'class.tx_infopagetsconfig_webinfo.php',
1196          'LLL:EXT:info_pagetsconfig/locallang.php:mod_pagetsconfig'
1197      );
1198  }
1199  
1200  t3lib_extMgm::addLLrefForTCAdescr('_MOD_web_info','EXT:info_pagetsconfig/locallang_csh_webinfo.xml');
1201  
1202  ?><?php
1203  ###########################
1204  ## EXTENSION: viewpage
1205  ## FILE:      /var/www/typo3/typo3/sysext/viewpage/ext_tables.php
1206  ###########################
1207  
1208  $_EXTKEY = 'viewpage';
1209  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1210  
1211  ?><?php
1212  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1213  
1214  if (TYPO3_MODE=='BE')    t3lib_extMgm::addModule('web','view','after:layout',t3lib_extMgm::extPath($_EXTKEY).'view/');
1215  ?><?php
1216  ###########################
1217  ## EXTENSION: rtehtmlarea
1218  ## FILE:      /var/www/typo3/typo3/sysext/rtehtmlarea/ext_tables.php
1219  ###########################
1220  
1221  $_EXTKEY = 'rtehtmlarea';
1222  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1223  
1224  ?><?php
1225  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1226  
1227      // Add static template for enabling the Click-enlarge feature
1228  if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableClickEnlarge']) {
1229      t3lib_extMgm::addStaticFile($_EXTKEY,'static/clickenlarge/','Clickenlarge Rendering');
1230  }
1231  
1232      $TCA['tx_rtehtmlarea_acronym'] = Array (
1233      'ctrl' => Array (
1234          'title' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym',
1235          'label' => 'term',
1236          'default_sortby' => 'ORDER BY term',
1237          'sortby' => 'sorting',
1238          'rootLevel' => 1,
1239          'delete' => 'deleted',
1240          'enablecolumns' => Array (
1241              'disabled' => 'hidden',
1242              'starttime' => 'starttime',
1243              'endtime' => 'endtime',
1244          ),
1245          'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
1246          'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'htmlarea/skins/default/images/Acronym/ed_acronym.gif',
1247          )
1248      );
1249       
1250      t3lib_extMgm::allowTableOnStandardPages('tx_rtehtmlarea_acronym');
1251  ?><?php
1252  ###########################
1253  ## EXTENSION: css_styled_content
1254  ## FILE:      /var/www/typo3/typo3/sysext/css_styled_content/ext_tables.php
1255  ###########################
1256  
1257  $_EXTKEY = 'css_styled_content';
1258  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1259  
1260  ?><?php
1261  # TYPO3 CVS ID: $Id: ext_tables.php 937 2005-12-26 23:59:37Z kurfuerst $
1262  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1263  
1264      // add flexform
1265  t3lib_extMgm::addPiFlexFormValue('default', 'FILE:EXT:css_styled_content/flexform_ds.xml');
1266  t3lib_extMgm::addToAllTCAtypes('tt_content','pi_flexform;;;;1-1-1','table');
1267  
1268  t3lib_extMgm::addStaticFile($_EXTKEY,'static/','CSS Styled Content');
1269  ?><?php
1270  ###########################
1271  ## EXTENSION: t3skin
1272  ## FILE:      /var/www/typo3/typo3/sysext/t3skin/ext_tables.php
1273  ###########################
1274  
1275  $_EXTKEY = 't3skin';
1276  $_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
1277  
1278  ?><?php
1279  if (!defined ('TYPO3_MODE'))     die ('Access denied.');
1280  
1281  // require_once(t3lib_extMgm::extPath('t3skin').'debuglib.php');
1282  
1283  if (TYPO3_MODE=='BE')    {
1284  
1285      $presetSkinImgs = is_array($TBE_STYLES['skinImg']) ? $TBE_STYLES['skinImg'] : array();    // Means, support for other extensions to add own icons...
1286  
1287      /**
1288       * Setting up backend styles and colors
1289       */
1290      $TBE_STYLES['mainColors'] = Array (    // Always use #xxxxxx color definitions!
1291      'bgColor' => '#FFFFFF',            // Light background color
1292      'bgColor2' => '#FEFEFE',        // Steel-blue
1293      'bgColor3' => '#F1F3F5',        // dok.color
1294      'bgColor4' => '#E6E9EB',        // light tablerow background, brownish
1295      'bgColor5' => '#F8F9FB',        // light tablerow background, greenish
1296      'bgColor6' => '#E6E9EB',        // light tablerow background, yellowish, for section headers. Light.
1297      'hoverColor' => '#FF0000',
1298      'navFrameHL' => '#F8F9FB'
1299      );
1300  
1301      $TBE_STYLES['colorschemes'][0]='-|class-main1,-|class-main2,-|class-main3,-|class-main4,-|class-main5';
1302      $TBE_STYLES['colorschemes'][1]='-|class-main11,-|class-main12,-|class-main13,-|class-main14,-|class-main15';
1303      $TBE_STYLES['colorschemes'][2]='-|class-main21,-|class-main22,-|class-main23,-|class-main24,-|class-main25';
1304      $TBE_STYLES['colorschemes'][3]='-|class-main31,-|class-main32,-|class-main33,-|class-main34,-|class-main35';
1305      $TBE_STYLES['colorschemes'][4]='-|class-main41,-|class-main42,-|class-main43,-|class-main44,-|class-main45';
1306      $TBE_STYLES['colorschemes'][5]='-|class-main51,-|class-main52,-|class-main53,-|class-main54,-|class-main55';
1307  
1308      $TBE_STYLES['styleschemes'][0]['all'] = 'CLASS: formField';
1309      $TBE_STYLES['styleschemes'][1]['all'] = 'CLASS: formField1';
1310      $TBE_STYLES['styleschemes'][2]['all'] = 'CLASS: formField2';
1311      $TBE_STYLES['styleschemes'][3]['all'] = 'CLASS: formField3';
1312      $TBE_STYLES['styleschemes'][4]['all'] = 'CLASS: formField4';
1313      $TBE_STYLES['styleschemes'][5]['all'] = 'CLASS: formField5';
1314  
1315      $TBE_STYLES['styleschemes'][0]['check'] = 'CLASS: checkbox';
1316      $TBE_STYLES['styleschemes'][1]['check'] = 'CLASS: checkbox';
1317      $TBE_STYLES['styleschemes'][2]['check'] = 'CLASS: checkbox';
1318      $TBE_STYLES['styleschemes'][3]['check'] = 'CLASS: checkbox';
1319      $TBE_STYLES['styleschemes'][4]['check'] = 'CLASS: checkbox';
1320      $TBE_STYLES['styleschemes'][5]['check'] = 'CLASS: checkbox';
1321  
1322      $TBE_STYLES['styleschemes'][0]['radio'] = 'CLASS: radio';
1323      $TBE_STYLES['styleschemes'][1]['radio'] = 'CLASS: radio';
1324      $TBE_STYLES['styleschemes'][2]['radio'] = 'CLASS: radio';
1325      $TBE_STYLES['styleschemes'][3]['radio'] = 'CLASS: radio';
1326      $TBE_STYLES['styleschemes'][4]['radio'] = 'CLASS: radio';
1327      $TBE_STYLES['styleschemes'][5]['radio'] = 'CLASS: radio';
1328  
1329      $TBE_STYLES['styleschemes'][0]['select'] = 'CLASS: select';
1330      $TBE_STYLES['styleschemes'][1]['select'] = 'CLASS: select';
1331      $TBE_STYLES['styleschemes'][2]['select'] = 'CLASS: select';
1332      $TBE_STYLES['styleschemes'][3]['select'] = 'CLASS: select';
1333      $TBE_STYLES['styleschemes'][4]['select'] = 'CLASS: select';
1334      $TBE_STYLES['styleschemes'][5]['select'] = 'CLASS: select';
1335  
1336      $TBE_STYLES['borderschemes'][0]= array('','','','wrapperTable');
1337      $TBE_STYLES['borderschemes'][1]= array('','','','wrapperTable1');
1338      $TBE_STYLES['borderschemes'][2]= array('','','','wrapperTable2');
1339      $TBE_STYLES['borderschemes'][3]= array('','','','wrapperTable3');
1340      $TBE_STYLES['borderschemes'][4]= array('','','','wrapperTable4');
1341      $TBE_STYLES['borderschemes'][5]= array('','','','wrapperTable5');
1342  
1343  
1344  
1345      // Setting the relative path to the extension in temp. variable:
1346      $temp_eP = t3lib_extMgm::extRelPath($_EXTKEY);
1347  
1348      // Setting login box image rotation folder:
1349      $TBE_STYLES['loginBoxImage_rotationFolder'] = $temp_eP.'images/login/';
1350      $TBE_STYLES['loginBoxImage_author']['loginimage_4_1.jpg'] = 'Photo by Ture Andersen (www.tureandersen.dk)';
1351      #$TBE_STYLES['loginBoxImage_rotationFolder'] = '';
1352  
1353      // Setting up stylesheets (See template() constructor!)
1354      #    $TBE_STYLES['stylesheet'] = $temp_eP.'stylesheets/stylesheet.css';                // Alternative stylesheet to the default "typo3/stylesheet.css" stylesheet.
1355      #    $TBE_STYLES['stylesheet2'] = $temp_eP.'stylesheets/stylesheet.css';                                        // Additional stylesheet (not used by default).  Set BEFORE any in-document styles
1356      $TBE_STYLES['styleSheetFile_post'] = $temp_eP.'stylesheets/stylesheet_post.css';                                // Additional stylesheet. Set AFTER any in-document styles
1357      #    $TBE_STYLES['inDocStyles_TBEstyle'] = '* {text-align: right;}';                                        // Additional default in-document styles.
1358  
1359      // Alternative dimensions for frameset sizes:
1360      $TBE_STYLES['dims']['leftMenuFrameW']=140;        // Left menu frame width
1361      $TBE_STYLES['dims']['topFrameH']=45;            // Top frame heigth
1362      $TBE_STYLES['dims']['shortcutFrameH']=35;        // Shortcut frame height
1363      $TBE_STYLES['dims']['selMenuFrame']=200;        // Width of the selector box menu frame
1364      $TBE_STYLES['dims']['navFrameWidth']=260;        // Default navigation frame width
1365  
1366      $TBE_STYLES['border'] = $temp_eP.'noborder.html';
1367  
1368      // Setting roll-over background color for click menus:
1369      // Notice, this line uses the the 'scriptIDindex' feature to override another value in this array (namely $TBE_STYLES['mainColors']['bgColor5']), for a specific script "typo3/alt_clickmenu.php"
1370      $TBE_STYLES['scriptIDindex']['typo3/alt_clickmenu.php']['mainColors']['bgColor5']='#F8F9FB';
1371  
1372      // Setting up auto detection of alternative icons:
1373      $TBE_STYLES['skinImgAutoCfg']=array(
1374      'absDir' => t3lib_extMgm::extPath($_EXTKEY).'icons/',
1375      'relDir' => t3lib_extMgm::extRelPath($_EXTKEY).'icons/',
1376      'forceFileExtension' => 'gif',    // Force to look for PNG alternatives...
1377      #        'scaleFactor' => 2/3,    // Scaling factor, default is 1
1378      );
1379  
1380      // Manual setting up of alternative icons. This is mainly for module icons which has a special prefix:
1381      $TBE_STYLES['skinImg'] = array_merge($presetSkinImgs, array (
1382      'gfx/ol/blank.gif' => array('clear.gif','width="14" height="14"'),
1383      'MOD:web/website.gif'  => array($temp_eP.'icons/module_web.gif','width="24" height="24"'),
1384      'MOD:web_layout/layout.gif'  => array($temp_eP.'icons/module_web_layout.gif','width="24" height="24"'),
1385      'MOD:web_view/view.gif'  => array($temp_eP.'icons/module_web_view.gif','width="24" height="24"'),
1386      'MOD:web_list/list.gif'  => array($temp_eP.'icons/module_web_list.gif','width="24" height="24"'),
1387      'MOD:web_info/info.gif'  => array($temp_eP.'icons/module_web_info.gif','width="24" height="24"'),
1388      'MOD:web_perm/perm.gif'  => array($temp_eP.'icons/module_web_perms.gif','width="24" height="24"'),
1389      'MOD:web_perm/legend.gif'  => array($temp_eP.'icons/legend.gif','width="24" height="24"'),
1390      'MOD:web_func/func.gif'  => array($temp_eP.'icons/module_web_func.gif','width="24" height="24"'),
1391      'MOD:web_ts/ts1.gif'  => array($temp_eP.'icons/module_web_ts.gif','width="24" height="24"'),
1392      'MOD:web_modules/modules.gif' => array($temp_eP.'icons/module_web_modules.gif','width="24" height="24"'),
1393      'MOD:file/file.gif'  => array($temp_eP.'icons/module_file.gif','width="22" height="24"'),
1394      'MOD:file_list/list.gif'  => array($temp_eP.'icons/module_file_list.gif','width="22" height="24"'),
1395      'MOD:file_images/images.gif'  => array($temp_eP.'icons/module_file_images.gif','width="22" height="22"'),
1396      'MOD:doc/document.gif'  => array($temp_eP.'icons/module_doc.gif','width="22" height="22"'),
1397      'MOD:user/user.gif'  => array($temp_eP.'icons/module_user.gif','width="22" height="22"'),
1398      'MOD:user_task/task.gif'  => array($temp_eP.'icons/module_user_taskcenter.gif','width="22" height="22"'),
1399      'MOD:user_setup/setup.gif'  => array($temp_eP.'icons/module_user_setup.gif','width="22" height="22"'),
1400      'MOD:tools/tool.gif'  => array($temp_eP.'icons/module_tools.gif','width="25" height="24"'),
1401      'MOD:tools_beuser/beuser.gif'  => array($temp_eP.'icons/module_tools_user.gif','width="24" height="24"'),
1402      'MOD:tools_em/em.gif'  => array($temp_eP.'icons/module_tools_em.gif','width="24" height="24"'),
1403      'MOD:tools_em/install.gif'  => array($temp_eP.'icons/module_tools_em.gif','width="24" height="24"'),
1404      'MOD:tools_dbint/db.gif'  => array($temp_eP.'icons/module_tools_dbint.gif','width="25" height="24"'),
1405      'MOD:tools_config/config.gif'  => array($temp_eP.'icons/module_tools_config.gif','width="24" height="24"'),
1406      'MOD:tools_install/install.gif'  => array($temp_eP.'icons/module_tools_install.gif','width="24" height="24"'),
1407      'MOD:tools_log/log.gif'  => array($temp_eP.'icons/module_tools_log.gif','width="24" height="24"'),
1408      'MOD:tools_txphpmyadmin/thirdparty_db.gif'  => array($temp_eP.'icons/module_tools_phpmyadmin.gif','width="24" height="24"'),
1409      'MOD:tools_isearch/isearch.gif' => array($temp_eP.'icons/module_tools_isearch.gif','width="24" height="24"'),
1410      'MOD:help/help.gif'  => array($temp_eP.'icons/module_help.gif','width="23" height="24"'),
1411      'MOD:help_about/info.gif'  => array($temp_eP.'icons/module_help_about.gif','width="25" height="24"'),
1412      'MOD:help_aboutmodules/aboutmodules.gif'  => array($temp_eP.'icons/module_help_aboutmodules.gif','width="24" height="24"'),
1413      ));
1414  
1415      // Adding icon for photomarathon extensions' backend module, if enabled:
1416      if (t3lib_extMgm::isloaded('user_photomarathon'))    {
1417          $TBE_STYLES['skinImg']['MOD:web_uphotomarathon/tab_icon.gif'] = array($temp_eP.'icons/ext/user_photomarathon/tab_icon.gif','width="24" height="24"');
1418      }
1419      // Adding icon for templavoila extensions' backend module, if enabled:
1420      if (t3lib_extMgm::isloaded('templavoila'))    {
1421          $TBE_STYLES['skinImg']['MOD:web_txtemplavoilaM1/moduleicon.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
1422          $TBE_STYLES['skinImg']['MOD:web_txtemplavoilaM2/moduleicon.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
1423      }
1424      // Adding icon for extension manager' backend module, if enabled:
1425      $TBE_STYLES['skinImg']['MOD:tools_em/install.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
1426      $TBE_STYLES['skinImg']['MOD:tools_em/uninstall.gif'] = array($temp_eP.'icons/ext/templavoila/mod1/moduleicon.gif','width="22" height="22"');
1427  
1428      //print_a($TBE_STYLES,2);
1429  }
1430  ?>


Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics