Index: typo3/sysext/cms/ext_tables.php
===================================================================
--- typo3/sysext/cms/ext_tables.php	(revision 2741)
+++ typo3/sysext/cms/ext_tables.php	(working copy)
@@ -642,7 +642,7 @@
 		'mainpalette' => '1,15',
 		'thumbnail' => 'image',
 		'requestUpdate' => 'list_type,rte_enabled',
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/tt_content.php'
 	)
 );
 
@@ -665,7 +665,7 @@
 			'endtime' => 'endtime'
 		),
 		'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/fe_users.php'
 	),
 	'feInterface' => array (
 		'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
@@ -686,7 +686,7 @@
 		),
 		'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups',
 		'useColumnsForDefaultValues' => 'lockToDomain',
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/fe_groups.php'
 	)
 );
 
@@ -703,7 +703,7 @@
 		'enablecolumns' => array (
 			'disabled' => 'hidden'
 		),
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/sys_domain.php'
 	)
 );
 
@@ -732,7 +732,7 @@
 		'shadowColumnsForNewPlaceholders' => 'title',
 		'languageField' => 'sys_language_uid',
 		'mainpalette' => 1,
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/pages_language_overlay.php'
 	)
 );
 
@@ -765,7 +765,7 @@
 			'0' => 'template_add.gif'
 		),
 		'mainpalette' => '1',
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/sys_template.php'
 	)
 );
 
@@ -784,7 +784,7 @@
 		'default_sortby' => 'ORDER BY title',
 		'crdate' => 'crdate',
 		'iconfile' => 'template_standard.gif',
-		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca/static_template.php'
 	)
 );
 
Index: typo3/sysext/cms/tca/fe_groups.php
===================================================================
--- typo3/sysext/cms/tca/fe_groups.php	(revision 0)
+++ typo3/sysext/cms/tca/fe_groups.php	(revision 0)
@@ -0,0 +1,120 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the fe_groups-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+// ******************************************************************
+// fe_groups
+//
+// FrontEnd usergroups - Membership of these determines access to elements
+// ******************************************************************
+$TCA['fe_groups'] = Array (
+	'ctrl' => $TCA['fe_groups']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'title,hidden,subgroup,lockToDomain,description'
+	),
+	'columns' => Array (
+		'hidden' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		),
+		'title' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.title',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'max' => '50',
+				'eval' => 'trim,required'
+			)
+		),
+		'subgroup' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.subgroup',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'fe_groups',
+				'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title',
+				'size' => 4,
+				'autoSizeMax' => 10,
+				'minitems' => 0,
+				'maxitems' => 20
+			)
+		),
+		'lockToDomain' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.lockToDomain',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '50',
+				'checkbox' => ''
+			)
+		),
+		'description' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 5,
+				'cols' => 48
+			)
+		),
+		'TSconfig' => Array (
+			'exclude' => 1,
+			'label' => 'TSconfig:',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '40',
+				'rows' => '5',
+				'wizards' => Array(
+					'_PADDING' => 4,
+					'0' => Array(
+#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
+						'title' => 'TSconfig QuickReference',
+						'script' => 'wizard_tsconfig.php?mode=fe_users',
+						'icon' => 'wizard_tsconfig.gif',
+						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
+					)
+				),
+				'softref' => 'TSconfig'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		)
+	),
+	'types' => Array (
+		'0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,lockToDomain,description;;;;3-3-3, --div--, TSconfig;;;;5-5-5, subgroup;;;;6-6-6')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/sys_template.php
===================================================================
--- typo3/sysext/cms/tca/sys_template.php	(revision 0)
+++ typo3/sysext/cms/tca/sys_template.php	(revision 0)
@@ -0,0 +1,286 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the sys_template-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+// ******************************************************************
+// sys_template
+// ******************************************************************
+$TCA['sys_template'] = Array (
+	'ctrl' => $TCA['sys_template']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'title,clear,root,include_static,basedOn,nextLevel,resources,sitetitle,description,hidden,starttime,endtime'
+	),
+	'columns' => Array (
+		'title' => Array (
+			'label' => 'Template title:',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '25',
+				'max' => '256',
+				'eval' => 'required'
+			)
+		),
+		'hidden' => Array (
+			'label' => 'Deactivated:',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		),
+		'starttime' => Array (
+			'label' => 'Start:',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0'
+			)
+		),
+		'endtime' => Array (
+			'label' => 'Stop:',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0',
+				'range' => Array (
+					'upper' => mktime(0,0,0,12,31,2020),
+				)
+			)
+		),
+		'root' => Array (
+			'label' => 'Rootlevel:',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'clear' => Array (
+			'label' => 'Clear:',
+			'config' => Array (
+				'type' => 'check',
+				'items' => Array (
+					Array('Constants', ''),
+					Array('Setup', '')
+				),
+				'cols' => 2
+			)
+		),
+		'sitetitle' => Array (
+			'label' => 'Website title:',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '25',
+				'max' => '256'
+			)
+		),
+		'constants' => Array (
+			'label' => 'Constants:',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '48',
+				'rows' => '10',
+				'wrap' => 'OFF',
+				'softref' => 'TStemplate,email[subst],url[subst]'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'resources' => Array (
+			'label' => 'Resources:',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico,js',
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/tf',
+				'show_thumbs' => '1',
+				'size' => '7',
+				'maxitems' => '100',
+				'minitems' => '0'
+			)
+		),
+		'nextLevel' => Array (
+			'label' => 'Template on next level:',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'db',
+				'allowed' => 'sys_template',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '1',
+				'minitems' => '0',
+				'default' => ''
+			)
+		),
+		'include_static' => Array (
+			'label' => 'Include static:',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'static_template',
+				'foreign_table_where' => 'ORDER BY static_template.title DESC',
+				'size' => 10,
+				'maxitems' => 20,
+				'default' => '',
+			),
+		),
+		'include_static_file' => Array(
+			'label' => 'Include static (from extensions):',
+			'config' => Array (
+				'type' => 'select',
+				'size' => 10,
+				'maxitems' => 20,
+				'items' => Array (
+				),
+				'softref' => 'ext_fileref'
+			)
+		),
+		'basedOn' => Array (
+			'label' => 'Include basis template:',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'db',
+				'allowed' => 'sys_template',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '50',
+				'autoSizeMax' => 10,
+				'minitems' => '0',
+				'default' => '',
+				'wizards' => Array(
+					'_PADDING' => 4,
+					'_VERTICAL' => 1,
+					'edit' => Array(
+						'type' => 'popup',
+						'title' => 'Edit filemount',
+						'script' => 'wizard_edit.php',
+						'popup_onlyOpenIfSelected' => 1,
+						'icon' => 'edit2.gif',
+						'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
+					),
+					'add' => Array(
+						'type' => 'script',
+						'title' => 'Add new basis template',
+						'icon' => 'add.gif',
+						'params' => Array(
+							'table'=>'sys_template',
+							'pid' => '###CURRENT_PID###',
+							'setValue' => 'prepend'
+						),
+						'script' => 'wizard_add.php',
+					)
+				)
+			)
+		),
+		'includeStaticAfterBasedOn' => Array (
+			'label' => 'Include static AFTER basedOn:',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		),
+		'config' => Array (
+			'label' => 'Setup:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 10,
+				'cols' => 48,
+				'wizards' => Array(
+					'_PADDING' => 4,
+					'0' => Array(
+#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
+						'title' => 'TSref online',
+						'script' => 'wizard_tsconfig.php?mode=tsref',
+						'icon' => 'wizard_tsconfig.gif',
+						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
+					)
+				),
+				'wrap' => 'OFF',
+				'softref' => 'TStemplate,email[subst],url[subst]'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'editorcfg' => Array (
+			'label' => 'Backend Editor Configuration:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 4,
+				'cols' => 48,
+				'wrap' => 'OFF'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'description' => Array (
+			'label' => 'Description:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 10,
+				'cols' => 48
+			)
+		),
+		'static_file_mode' => Array (
+			'label' => 'Static template files from T3 Extensions:',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('Default (Include before if Root-flag is set)', '0'),
+					Array('Always include before this template record', '1'),
+					Array('Never include before this template record', '2'),
+				),
+				'default' => '0'
+			)
+		),
+		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
+		't3ver_label' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '30',
+			)
+		),
+	),
+	'types' => Array (
+		'1' => Array('showitem' => 'title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, resources, clear, root, --div--, include_static;;2;;5-5-5, include_static_file;;2, basedOn;;2, static_file_mode, nextLevel, --div--, description;;;;5-5-5, editorcfg')
+	),
+	'palettes' => Array (
+		'1' => Array('showitem' => 'hidden,starttime,endtime'),
+		'2' => Array('showitem' => 'includeStaticAfterBasedOn')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/fe_users.php
===================================================================
--- typo3/sysext/cms/tca/fe_users.php	(revision 0)
+++ typo3/sysext/cms/tca/fe_users.php	(revision 0)
@@ -0,0 +1,276 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the fe_users-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+
+// ******************************************************************
+// fe_users
+//
+// FrontEnd users - login on the website
+// ******************************************************************
+$TCA['fe_users'] = Array (
+	'ctrl' => $TCA['fe_users']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime'
+	),
+	'feInterface' => $TCA['fe_users']['feInterface'],
+	'columns' => Array (
+		'username' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.username',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'max' => '50',
+				'eval' => 'nospace,lower,uniqueInPid,required'
+			)
+		),
+		'password' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.password',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '10',
+				'max' => '40',
+				'eval' => 'nospace,required,password'
+			)
+		),
+		'usergroup' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.usergroup',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'fe_groups',
+				'size' => '3',
+				'minitems' => '1',
+				'maxitems' => '50'
+			)
+		),
+		'lockToDomain' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.lockToDomain',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '50',
+				'checkbox' => '',
+				'softref' => 'substitute'
+			)
+		),
+		'name' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.name',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '40',
+				'eval' => 'trim',
+				'max' => '80'
+			)
+		),
+		'address' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.address',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '20',
+				'rows' => '3'
+			)
+		),
+		'telephone' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.phone',
+			'config' => Array (
+				'type' => 'input',
+				'eval' => 'trim',
+				'size' => '20',
+				'max' => '20'
+			)
+		),
+		'fax' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fax',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '20'
+			)
+		),
+		'email' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '40',
+				'eval' => 'trim',
+				'max' => '80'
+			)
+		),
+		'title' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title_person',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '40'
+			)
+		),
+		'zip' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.zip',
+			'config' => Array (
+				'type' => 'input',
+				'eval' => 'trim',
+				'size' => '10',
+				'max' => '10'
+			)
+		),
+		'city' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.city',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '50'
+			)
+		),
+		'country' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.country',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '40'
+			)
+		),
+		'www' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.www',
+			'config' => Array (
+				'type' => 'input',
+				'eval' => 'trim',
+				'size' => '20',
+				'max' => '80'
+			)
+		),
+		'company' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.company',
+			'config' => Array (
+				'type' => 'input',
+				'eval' => 'trim',
+				'size' => '20',
+				'max' => '80'
+			)
+		),
+		'image' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.image',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/pics',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '6',
+				'minitems' => '0'
+			)
+		),
+		'disable' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'starttime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'default' => '0',
+				'checkbox' => '0'
+			)
+		),
+		'endtime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0',
+				'range' => Array (
+					'upper' => mktime(0,0,0,12,31,2020),
+				)
+			)
+		),
+		'TSconfig' => Array (
+			'exclude' => 1,
+			'label' => 'TSconfig:',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '40',
+				'rows' => '5',
+				'wizards' => Array(
+					'_PADDING' => 4,
+					'0' => Array(
+#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
+						'title' => 'TSconfig QuickReference',
+						'script' => 'wizard_tsconfig.php?mode=fe_users',
+						'icon' => 'wizard_tsconfig.gif',
+						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
+					)
+				),
+				'softref' => 'TSconfig'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		)
+	),
+	'types' => Array (
+		'0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, --div--, name;;2;;3-3-3, address, zip, city, country, telephone, fax, email, www, image;;;;4-4-4, --div--, TSconfig;;;;5-5-5')
+	),
+	'palettes' => Array (
+		'1' => Array('showitem' => 'disable, starttime, endtime'),
+		'2' => Array('showitem' => 'title,company')
+	)
+);
+
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/tt_content.php
===================================================================
--- typo3/sysext/cms/tca/tt_content.php	(revision 0)
+++ typo3/sysext/cms/tca/tt_content.php	(revision 0)
@@ -0,0 +1,1041 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the tt_content-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+$TCA['tt_content'] = Array (
+	'ctrl' => $TCA['tt_content']['ctrl'],
+	'interface' => Array (
+		'always_description' => 0,
+		'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'
+	),
+	'columns' => Array (
+		'CType' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.standard', '--div--'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.0', 'header', 'i/tt_content_header.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.1', 'text', 'i/tt_content.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.2', 'textpic', 'i/tt_content_textpic.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.3', 'image', 'i/tt_content_image.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.lists', '--div--'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.4', 'bullets', 'i/tt_content_bullets.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.5', 'table', 'i/tt_content_table.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.6', 'uploads', 'i/tt_content_uploads.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.forms', '--div--'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.8', 'mailform', 'i/tt_content_form.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.9', 'search', 'i/tt_content_search.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.10', 'login', 'i/tt_content_login.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.special', '--div--'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.7', 'multimedia', 'i/tt_content_mm.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.11', 'splash', 'i/tt_content_news.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.12', 'menu', 'i/tt_content_menu.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.13', 'shortcut', 'i/tt_content_shortcut.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.14', 'list', 'i/tt_content_list.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.15', 'script', 'i/tt_content_script.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.16', 'div', 'i/tt_content_div.gif'),
+					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.17', 'html', 'i/tt_content_html.gif')
+				),
+				'default' => 'text',
+				'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
+				'authMode_enforce' => 'strict',
+				'iconsInOptionTags' => 1,
+				'noIconsBelowSelect' => 1,
+			)
+		),
+		'hidden' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'starttime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0'
+			)
+		),
+		'endtime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0',
+				'range' => Array (
+					'upper' => mktime(0,0,0,12,31,2020),
+				)
+			)
+		),
+		'fe_group' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
+			'config' => Array (
+				'type' => 'select',
+				'size' => 5,
+				'maxitems' => 20,
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
+					Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
+					Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
+				),
+				'exclusiveKeys' => '-1,-2',
+				'foreign_table' => 'fe_groups'
+			)
+		),
+		'sys_language_uid' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'sys_language',
+				'foreign_table_where' => 'ORDER BY sys_language.title',
+				'items' => Array(
+					Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
+				)
+			)
+		),
+		'l18n_parent' => Array (
+			'displayCond' => 'FIELD:sys_language_uid:>:0',
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', 0),
+				),
+				'foreign_table' => 'tt_content',
+				'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)',
+			)
+		),
+		'layout' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.3', '3')
+				),
+				'default' => '0'
+			)
+		),
+		'colPos' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:colPos',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.0', '1'),
+					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.3', '3')
+				),
+				'default' => '0'
+			)
+		),
+		'date' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:date',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0'
+			)
+		),
+		'header' => Array (
+			'l10n_mode' => 'prefixLangTitle',
+			'l10n_cat' => 'text',
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
+			'config' => Array (
+				'type' => 'input',
+				'max' => '256'
+			)
+		),
+		'header_position' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
+				),
+				'default' => ''
+			)
+		),
+		'header_link' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:header_link',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '15',
+				'max' => '256',
+				'checkbox' => '',
+				'eval' => 'trim',
+				'wizards' => Array(
+					'_PADDING' => 2,
+					'link' => Array(
+						'type' => 'popup',
+						'title' => 'Link',
+						'icon' => 'link_popup.gif',
+						'script' => 'browse_links.php?mode=wizard',
+						'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+					)
+				),
+				'softref' => 'typolink'
+			)
+		),
+		'header_layout' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.3', '3'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.4', '4'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.5', '5'),
+					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.6', '100')
+				),
+				'default' => '0'
+			)
+		),
+		'subheader' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '256',
+				'softref' => 'email[subst]'
+			)
+		),
+		'bodytext' => Array (
+			'l10n_mode' => 'prefixLangTitle',
+			'l10n_cat' => 'text',
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '48',
+				'rows' => '5',
+				'wizards' => Array(
+					'_PADDING' => 4,
+					'RTE' => Array(
+						'notNewRecords' => 1,
+						'RTEonly' => 1,
+						'type' => 'script',
+						'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
+						'icon' => 'wizard_rte2.gif',
+						'script' => 'wizard_rte.php',
+					),
+					'table' => Array(
+						'notNewRecords' => 1,
+						'enableByTypeConfig' => 1,
+						'type' => 'script',
+						'title' => 'Table wizard',
+						'icon' => 'wizard_table.gif',
+						'script' => 'wizard_table.php',
+						'params' => array('xmlOutput' => 0)
+					),
+					'forms' => Array(
+						'notNewRecords' => 1,
+						'enableByTypeConfig' => 1,
+						'type' => 'script',
+#						'hideParent' => array('rows' => 4),
+						'title' => 'Forms wizard',
+						'icon' => 'wizard_forms.gif',
+						'script' => 'wizard_forms.php?special=formtype_mail',
+						'params' => array('xmlOutput' => 0)
+					)
+				),
+				'softref' => 'typolink_tag,images,email[subst],url'
+			)
+		),
+		'text_align' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.1', 'center'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.2', 'right'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.3', 'left')
+				),
+				'default' => ''
+			)
+		),
+		'text_face' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_face',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
+					Array('Times', '1'),
+					Array('Verdana', '2'),
+					Array('Arial', '3')
+				),
+				'default' => '0'
+			)
+		),
+		'text_size' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_size',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.3', '3'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.4', '4'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.5', '5'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.6', '10'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.7', '11')
+				),
+				'default' => '0'
+			)
+		),
+		'text_color' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_color',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.3', '200'),
+					Array('-----','--div--'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.5', '240'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.6', '241'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.7', '242'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.8', '243'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.9', '244'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.10', '245'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.11', '246'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.12', '247'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.13', '248'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.14', '249'),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.15', '250')
+				),
+				'default' => '0'
+			)
+		),
+		'text_properties' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_properties',
+			'config' => Array (
+				'type' => 'check',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.0', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.1', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.2', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.3', '')
+				),
+				'cols' => 4
+			)
+		),
+		'image' => Array (
+#			'l10n_mode' => 'mergeIfNotBlank',
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/pics',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '200',
+				'minitems' => '0',
+				'autoSizeMax' => 40,
+			)
+		),
+		'imagewidth' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '4',
+				'max' => '4',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '999',
+					'lower' => '25'
+				),
+				'default' => 0
+			)
+		),
+		'imageheight' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '4',
+				'max' => '4',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '700',
+					'lower' => '25'
+				),
+				'default' => 0
+			)
+		),
+		'imageorient' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageorient',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.0', 0, 'selicons/above_center.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.1', 1, 'selicons/above_right.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.2', 2, 'selicons/above_left.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.3', 8, 'selicons/below_center.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.4', 9, 'selicons/below_right.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.5', 10, 'selicons/below_left.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.6', 17, 'selicons/intext_right.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.7', 18, 'selicons/intext_left.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.8', '--div--'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.9', 25, 'selicons/intext_right_nowrap.gif'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.10', 26, 'selicons/intext_left_nowrap.gif')
+				),
+				'selicon_cols' => 6,
+				'default' => '8',
+				'iconsInOptionTags' => 1,
+			)
+		),
+		'imageborder' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageborder',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'image_noRows' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_noRows',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'image_link' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_link',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '15',
+				'max' => '256',
+				'checkbox' => '',
+				'eval' => 'trim',
+				'wizards' => Array(
+					'_PADDING' => 2,
+					'link' => Array(
+						'type' => 'popup',
+						'title' => 'Link',
+						'icon' => 'link_popup.gif',
+						'script' => 'browse_links.php?mode=wizard',
+						'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+					)
+				),
+				'softref' => 'typolink[linkList]'
+			)
+		),
+		'image_zoom' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_zoom',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'image_effects' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_effects',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.0', 0),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.1', 1),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.2', 2),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.3', 3),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.4', 10),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.5', 11),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.6', 20),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.7', 23),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.8', 25),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.9', 26)
+				)
+			)
+		),
+		'image_frames' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_frames',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.0', 0),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.1', 1),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.2', 2),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.3', 3),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.4', 4),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.5', 5),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.6', 6),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.7', 7),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.8', 8)
+				)
+			)
+		),
+		'image_compression' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_compression',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.1', 1),
+					Array('GIF/256', 10),
+					Array('GIF/128', 11),
+					Array('GIF/64', 12),
+					Array('GIF/32', 13),
+					Array('GIF/16', 14),
+					Array('GIF/8', 15),
+					Array('PNG', 39),
+					Array('PNG/256', 30),
+					Array('PNG/128', 31),
+					Array('PNG/64', 32),
+					Array('PNG/32', 33),
+					Array('PNG/16', 34),
+					Array('PNG/8', 35),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.15', 21),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.16', 22),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.17', 24),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.18', 26),
+					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.19', 28)
+				)
+			)
+		),
+		'imagecols' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecols',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('1', 0),
+					Array('2', 2),
+					Array('3', 3),
+					Array('4', 4),
+					Array('5', 5),
+					Array('6', 6),
+					Array('7', 7),
+					Array('8', 8)
+				),
+				'default' => 0
+			)
+		),
+		'imagecaption' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.caption',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '30',
+				'rows' => '3',
+				'softref' => 'typolink_tag,images,email[subst],url'
+			)
+		),
+		'imagecaption_position' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', ''),
+					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.1', 'center'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.2', 'right'),
+					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.3', 'left')
+				),
+				'default' => ''
+			)
+		),
+		'altText' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_altText',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '30',
+				'rows' => '3'
+			)
+		),
+		'titleText' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_titleText',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '30',
+				'rows' => '3'
+			)
+		),
+		'longdescURL' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_longdescURL',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '30',
+				'rows' => '3'
+			)
+		),
+		'cols' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:cols',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:cols.I.0', '0'),
+					Array('1', '1'),
+					Array('2', '2'),
+					Array('3', '3'),
+					Array('4', '4'),
+					Array('5', '5'),
+					Array('6', '6'),
+					Array('7', '7'),
+					Array('8', '8'),
+					Array('9', '9')
+				),
+				'default' => '0'
+			)
+		),
+		'pages' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.startingpoint',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'db',
+					'allowed' => 'pages',
+				'size' => '3',
+				'maxitems' => '22',
+				'minitems' => '0',
+				'show_thumbs' => '1'
+			)
+		),
+		'recursive' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.recursive',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.3', '3'),
+					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.4', '4'),
+					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.5', '250')
+				),
+				'default' => '0'
+			)
+		),
+		'menu_type' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:menu_type',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.0', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.2', '4'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.3', '7'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.4', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.5', '3'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.6', '5'),
+					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.7', '6')
+				),
+				'default' => '0'
+			)
+		),
+		'list_type' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:list_type',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('','')
+				),
+				'default' => '',
+				'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
+			)
+		),
+		'select_key' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'max' => '80',
+				'eval' => 'trim'
+			)
+		),
+		'table_bgColor' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_bgColor',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.3', '200'),
+					Array('-----','--div--'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.5', '240'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.6', '241'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.7', '242'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.8', '243'),
+					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.9', '244')
+				),
+				'default' => '0'
+			)
+		),
+		'table_border' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_border',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '3',
+				'max' => '3',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '20',
+					'lower' => '0'
+				),
+				'default' => 0
+			)
+		),
+		'table_cellspacing' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '3',
+				'max' => '3',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '200',
+					'lower' => '0'
+				),
+				'default' => 0
+			)
+		),
+		'table_cellpadding' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '3',
+				'max' => '3',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '200',
+					'lower' => '0'
+				),
+				'default' => 0
+			)
+		),
+		'media' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => '',	// Must be empty for disallowed to work.
+				'disallowed' => 'php,php3',
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/media',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '10',
+				'minitems' => '0'
+			)
+		),
+		'multimedia' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3',
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/media',
+				'size' => '2',
+				'maxitems' => '1',
+				'minitems' => '0'
+			)
+		),
+		'filelink_size' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:filelink_size',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'records' => Array (
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:records',
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'db',
+				'allowed' => 'tt_content',
+				'size' => '5',
+				'maxitems' => '200',
+				'minitems' => '0',
+				'show_thumbs' => '1'
+			)
+		),
+		'spaceBefore' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceBefore',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '3',
+				'max' => '3',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '50',
+					'lower' => '0'
+				),
+				'default' => 0
+			)
+		),
+		'spaceAfter' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceAfter',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '3',
+				'max' => '3',
+				'eval' => 'int',
+				'checkbox' => '0',
+				'range' => Array (
+					'upper' => '50',
+					'lower' => '0'
+				),
+				'default' => 0
+			)
+		),
+		'section_frame' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:section_frame',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.2', '5'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.3', '6'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.4', '10'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.5', '11'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.6', '12'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.7', '20'),
+					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.8', '21')
+				),
+				'default' => '0'
+			)
+		),
+		'splash_layout' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:splash_layout',
+			'config' => Array (
+				'type' => 'select',
+				'items' => Array (
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
+					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.1', '1'),
+					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.2', '2'),
+					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.3', '3'),
+					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.4', '--div--'),
+					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.5', '20'),
+				),
+				'default' => '0'
+			)
+		),
+		'sectionIndex' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:sectionIndex',
+			'config' => Array (
+				'type' => 'check',
+				'default' => 1
+			)
+		),
+		'linkToTop' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
+			'config' => Array (
+				'type' => 'check'
+			)
+		),
+		'rte_enabled' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
+			'config' => Array (
+				'type' => 'check',
+				'showIfRTE' => 1
+			)
+		),
+		'pi_flexform' => array(
+			'l10n_display' => 'hideDiff',
+			'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
+			'config' => Array (
+				'type' => 'flex',
+				'ds_pointerField' => 'list_type',
+				'ds' => array(
+					'default' => '
+						<T3DataStructure>
+						  <ROOT>
+						    <type>array</type>
+						    <el>
+								<!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely  -->
+						      <xmlTitle>
+								<TCEforms>
+									<label>The Title:</label>
+									<config>
+										<type>input</type>
+										<size>48</size>
+									</config>
+								</TCEforms>
+						      </xmlTitle>
+						    </el>
+						  </ROOT>
+						</T3DataStructure>
+					',
+				)
+			)
+		),
+		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
+		'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
+		't3ver_label' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '30',
+			)
+		),
+	),
+	'types' => Array (
+		'1' => 	Array('showitem' => 'CType'),
+		'header' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, subheader;;8'),
+		'text' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties'),
+		'textpic' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties, --div--, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
+			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
+			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
+			imagecaption;;5,
+			altText;;;;1-1-1,titleText,longdescURL'),
+		'rte' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;;nowrap:richtext[*]:rte_transform[mode=ts_images-ts_reglinks];3-3-3'),
+		'image' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
+			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
+			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
+			 imagecaption;;5,
+			 altText;;;;1-1-1,titleText,longdescURL'),
+		'bullets' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties'),
+		'table' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;10;button;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties'),
+		'splash' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, splash_layout, bodytext;;;;3-3-3, image;;6'),
+		'uploads' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, media;;;;5-5-5,
+			select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
+			layout;;10;button, filelink_size,
+			imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap'),
+		'multimedia' =>	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, multimedia;;;;5-5-5, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap'),
+		'script' =>		Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, select_key;;;;5-5-5, pages;;12, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
+			imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script'),
+		'menu' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, menu_type;;;;5-5-5, pages'),
+		'mailform' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
+			bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];5-5-5,
+			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
+			subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform'),
+		'search' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
+			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search;;;5-5-5'),
+		'login' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
+			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login;;;5-5-5'),
+		'shortcut' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, records;;;;5-5-5, layout'),
+		'list' => 		Array(
+							'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, --div--, list_type;;;;5-5-5, layout, select_key, pages;;12',
+							'subtype_value_field' => 'list_type',
+							'subtypes_excludelist' => Array(
+								'' => 'layout,select_key,pages',	// When no plugin is selected.
+								'3' => 'layout',
+//								'4' => 'layout',	// List type forum
+								'2' => 'layout',
+								'5' => 'layout',
+								'9' => 'layout',
+								'0' => 'layout',
+								'6' => 'layout',
+								'7' => 'layout',
+								'1' => 'layout',
+								'8' => 'layout',
+								'11' => 'layout',
+								'20' => 'layout',
+								'21' => 'layout'
+							)
+						),
+		'div' => 		Array('showitem' => 'CType;;14;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2'),
+		'html' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
+			bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap;3-3-3')
+	),
+	'palettes' => Array (
+		'1' => Array('showitem' => 'hidden, starttime, endtime'),
+		'15' => Array('showitem' => 'fe_group'),
+		'2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
+		'3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
+		'4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex, linkToTop'),
+		'5' => Array('showitem' => 'imagecaption_position'),
+		'6' => Array('showitem' => 'imagewidth,image_link'),
+		'7' => Array('showitem' => 'image_link, image_zoom'),
+		'8' => Array('showitem' => 'layout'),
+		'9' => Array('showitem' => 'text_align,text_face,text_size,text_color'),
+		'10' => Array('showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'),
+		'11' => Array('showitem' => 'image_compression, image_effects, image_frames'),
+		'12' => Array('showitem' => 'recursive'),
+		'13' => Array('showitem' => 'imageheight'),
+		'14' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/static_template.php
===================================================================
--- typo3/sysext/cms/tca/static_template.php	(revision 0)
+++ typo3/sysext/cms/tca/static_template.php	(revision 0)
@@ -0,0 +1,106 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the static-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+// ******************************************************************
+// static_template
+// ******************************************************************
+$TCA['static_template'] = Array (
+	'ctrl' => $TCA['static_template']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'title,include_static,description'
+	),
+	'columns' => Array (
+		'title' => Array (
+			'label' => 'Template title:',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '25',
+				'max' => '256',
+				'eval' => 'required'
+			)
+		),
+		'constants' => Array (
+			'label' => 'Constants:',
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '48',
+				'rows' => '10',
+				'wrap' => 'OFF'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'include_static' => Array (
+			'label' => 'Include static:',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'static_template',
+				'foreign_table_where' => 'ORDER BY static_template.title',
+				'size' => 10,
+				'maxitems' => 20,
+				'default' => ''
+			)
+		),
+		'config' => Array (
+			'label' => 'Setup:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 10,
+				'cols' => 48,
+				'wrap' => 'OFF'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'editorcfg' => Array (
+			'label' => 'Backend Editor Configuration:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 4,
+				'cols' => 48,
+				'wrap' => 'OFF'
+			),
+			'defaultExtras' => 'fixed-font : enable-tab',
+		),
+		'description' => Array (
+			'label' => 'Description:',
+			'config' => Array (
+				'type' => 'text',
+				'rows' => 10,
+				'cols' => 48
+			)
+		)
+	),
+	'types' => Array (
+		'1' => Array('showitem' => 'title;;;;2-2-2, constants;;;;3-3-3, config, include_static;;;;5-5-5, description;;;;5-5-5, editorcfg')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/pages_language_overlay.php
===================================================================
--- typo3/sysext/cms/tca/pages_language_overlay.php	(revision 0)
+++ typo3/sysext/cms/tca/pages_language_overlay.php	(revision 0)
@@ -0,0 +1,204 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the pages_language_overlay-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+// ******************************************************************
+// pages_language_overlay
+// ******************************************************************
+$TCA['pages_language_overlay'] = Array (
+	'ctrl' => $TCA['pages_language_overlay']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'
+	),
+	'columns' => Array (
+		'hidden' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		),
+		'starttime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0'
+			)
+		),
+		'endtime' => Array (
+			'exclude' => 1,
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '8',
+				'max' => '20',
+				'eval' => 'date',
+				'checkbox' => '0',
+				'default' => '0',
+				'range' => Array (
+					'upper' => mktime(0,0,0,12,31,2020),
+				)
+			)
+		),
+		'title' => Array (
+			'l10n_mode' => 'prefixLangTitle',
+			'label' => $TCA['pages']['columns']['title']['label'],
+			'l10n_cat' => 'text',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '256',
+				'eval' => 'required'
+			)
+		),
+		'subtitle' => Array (
+			'exclude' => 1,
+			'l10n_cat' => 'text',
+			'label' => $TCA['pages']['columns']['subtitle']['label'],
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '256',
+				'eval' => ''
+			)
+		),
+		'nav_title' => Array (
+			'exclude' => 1,
+			'l10n_cat' => 'text',
+			'label' => $TCA['pages']['columns']['nav_title']['label'],
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '256',
+				'checkbox' => '',
+				'eval' => 'trim'
+			)
+		),
+		'keywords' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['keywords']['label'],
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '40',
+				'rows' => '3'
+			)
+		),
+		'description' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['description']['label'],
+			'config' => Array (
+				'type' => 'input',
+				'size' => '40',
+				'eval' => 'trim'
+			)
+		),
+		'abstract' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['abstract']['label'],
+			'config' => Array (
+				'type' => 'text',
+				'cols' => '40',
+				'rows' => '3'
+			)
+		),
+		'author' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['author']['label'],
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '80'
+			)
+		),
+		'author_email' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['author_email']['label'],
+			'config' => Array (
+				'type' => 'input',
+				'size' => '20',
+				'eval' => 'trim',
+				'max' => '80'
+			)
+		),
+		'media' => Array (
+			'exclude' => 1,
+			'label' => $TCA['pages']['columns']['media']['label'],
+			'config' => Array (
+				'type' => 'group',
+				'internal_type' => 'file',
+				'allowed' => $TCA['pages']['columns']['media']['config']['allowed'],
+				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
+				'uploadfolder' => 'uploads/media',
+				'show_thumbs' => '1',
+				'size' => '3',
+				'maxitems' => '5',
+				'minitems' => '0'
+			)
+		),
+		'sys_language_uid' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
+			'config' => Array (
+				'type' => 'select',
+				'foreign_table' => 'sys_language',
+				'foreign_table_where' => 'ORDER BY sys_language.title',
+				'items' => Array(
+					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
+				)
+			)
+		),
+		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
+		'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
+		't3ver_label' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '30',
+				'max' => '30',
+			)
+		),
+	),
+	'types' => Array (
+		'0' => Array('showitem' => 'hidden;;;;1-1-1, sys_language_uid, title;;;;2-2-2, subtitle, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4')
+	),
+	'palettes' => Array (
+		'1' => Array('showitem' => 'starttime,endtime'),
+		'5' => Array('showitem' => 'author,author_email')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tca/sys_domain.php
===================================================================
--- typo3/sysext/cms/tca/sys_domain.php	(revision 0)
+++ typo3/sysext/cms/tca/sys_domain.php	(revision 0)
@@ -0,0 +1,89 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*  A copy is found in the textfile GPL.txt and important notices to the license
+*  from the author is found in LICENSE.txt distributed with these scripts.
+*
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Dynamic configuation of the sys_domain-table
+ *
+ * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
+ */
+
+// ******************************************************************
+// sys_domain
+// ******************************************************************
+$TCA['sys_domain'] = Array (
+	'ctrl' => $TCA['sys_domain']['ctrl'],
+	'interface' => Array (
+		'showRecordFieldList' => 'hidden,domainName,redirectTo'
+	),
+	'columns' => Array (
+		'domainName' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.domainName',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '35',
+				'max' => '80',
+				'eval' => 'required,unique,lower,trim',
+				'softref' => 'substitute'
+			),
+		),
+		'redirectTo' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.redirectTo',
+			'config' => Array (
+				'type' => 'input',
+				'size' => '35',
+				'max' => '120',
+				'checkbox' => '',
+				'default' => '',
+				'eval' => 'trim',
+				'softref' => 'substitute'
+			),
+		),
+		'hidden' => Array (
+			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		),
+		'prepend_params' => Array (
+			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.prepend_params',
+			'exclude' => 1,
+			'config' => Array (
+				'type' => 'check',
+				'default' => '0'
+			)
+		)
+	),
+	'types' => Array (
+		'1' => Array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params')
+	),
+	'palettes' => Array (
+		'1' => Array('showitem' => 'redirectTo')
+	)
+);
+?>
\ No newline at end of file
Index: typo3/sysext/cms/tbl_tt_content.php
===================================================================
--- typo3/sysext/cms/tbl_tt_content.php	(revision 2741)
+++ typo3/sysext/cms/tbl_tt_content.php	(working copy)
@@ -1,1048 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  All rights reserved
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*  A copy is found in the textfile GPL.txt and important notices to the license
-*  from the author is found in LICENSE.txt distributed with these scripts.
-*
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-/**
- * Dynamic configuation of the tt_content table
- * This gets it's own file because it's so huge and central to typical TYPO3 use.
- *
- * $Id$
- *
- * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
- */
-
-
-
-$TCA['tt_content'] = Array (
-	'ctrl' => $TCA['tt_content']['ctrl'],
-	'interface' => Array (
-		'always_description' => 0,
-		'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'
-	),
-	'columns' => Array (
-		'CType' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.standard', '--div--'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.0', 'header', 'i/tt_content_header.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.1', 'text', 'i/tt_content.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.2', 'textpic', 'i/tt_content_textpic.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.3', 'image', 'i/tt_content_image.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.lists', '--div--'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.4', 'bullets', 'i/tt_content_bullets.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.5', 'table', 'i/tt_content_table.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.6', 'uploads', 'i/tt_content_uploads.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.forms', '--div--'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.8', 'mailform', 'i/tt_content_form.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.9', 'search', 'i/tt_content_search.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.10', 'login', 'i/tt_content_login.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.div.special', '--div--'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.7', 'multimedia', 'i/tt_content_mm.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.11', 'splash', 'i/tt_content_news.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.12', 'menu', 'i/tt_content_menu.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.13', 'shortcut', 'i/tt_content_shortcut.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.14', 'list', 'i/tt_content_list.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.15', 'script', 'i/tt_content_script.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.16', 'div', 'i/tt_content_div.gif'),
-					array('LLL:EXT:cms/locallang_ttc.xml:CType.I.17', 'html', 'i/tt_content_html.gif')
-				),
-				'default' => 'text',
-				'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
-				'authMode_enforce' => 'strict',
-				'iconsInOptionTags' => 1,
-				'noIconsBelowSelect' => 1,
-			)
-		),
-		'hidden' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'starttime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0'
-			)
-		),
-		'endtime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0',
-				'range' => Array (
-					'upper' => mktime(0,0,0,12,31,2020),
-				)
-			)
-		),
-		'fe_group' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
-			'config' => Array (
-				'type' => 'select',
-				'size' => 5,
-				'maxitems' => 20,
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.hide_at_login', -1),
-					Array('LLL:EXT:lang/locallang_general.php:LGL.any_login', -2),
-					Array('LLL:EXT:lang/locallang_general.php:LGL.usergroups', '--div--')
-				),
-				'exclusiveKeys' => '-1,-2',
-				'foreign_table' => 'fe_groups'
-			)
-		),
-		'sys_language_uid' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'sys_language',
-				'foreign_table_where' => 'ORDER BY sys_language.title',
-				'items' => Array(
-					Array('LLL:EXT:lang/locallang_general.php:LGL.allLanguages',-1),
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
-				)
-			)
-		),
-		'l18n_parent' => Array (
-			'displayCond' => 'FIELD:sys_language_uid:>:0',
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.l18n_parent',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', 0),
-				),
-				'foreign_table' => 'tt_content',
-				'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)',
-			)
-		),
-		'layout' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.layout',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:layout.I.3', '3')
-				),
-				'default' => '0'
-			)
-		),
-		'colPos' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:colPos',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.0', '1'),
-					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:colPos.I.3', '3')
-				),
-				'default' => '0'
-			)
-		),
-		'date' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:date',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0'
-			)
-		),
-		'header' => Array (
-			'l10n_mode' => 'prefixLangTitle',
-			'l10n_cat' => 'text',
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
-			'config' => Array (
-				'type' => 'input',
-				'max' => '256'
-			)
-		),
-		'header_position' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.1', 'center'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.2', 'right'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_position.I.3', 'left')
-				),
-				'default' => ''
-			)
-		),
-		'header_link' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:header_link',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '15',
-				'max' => '256',
-				'checkbox' => '',
-				'eval' => 'trim',
-				'wizards' => Array(
-					'_PADDING' => 2,
-					'link' => Array(
-						'type' => 'popup',
-						'title' => 'Link',
-						'icon' => 'link_popup.gif',
-						'script' => 'browse_links.php?mode=wizard',
-						'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
-					)
-				),
-				'softref' => 'typolink'
-			)
-		),
-		'header_layout' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.normal', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.3', '3'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.4', '4'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.5', '5'),
-					Array('LLL:EXT:cms/locallang_ttc.php:header_layout.I.6', '100')
-				),
-				'default' => '0'
-			)
-		),
-		'subheader' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.subheader',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '256',
-				'softref' => 'email[subst]'
-			)
-		),
-		'bodytext' => Array (
-			'l10n_mode' => 'prefixLangTitle',
-			'l10n_cat' => 'text',
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '48',
-				'rows' => '5',
-				'wizards' => Array(
-					'_PADDING' => 4,
-					'RTE' => Array(
-						'notNewRecords' => 1,
-						'RTEonly' => 1,
-						'type' => 'script',
-						'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
-						'icon' => 'wizard_rte2.gif',
-						'script' => 'wizard_rte.php',
-					),
-					'table' => Array(
-						'notNewRecords' => 1,
-						'enableByTypeConfig' => 1,
-						'type' => 'script',
-						'title' => 'Table wizard',
-						'icon' => 'wizard_table.gif',
-						'script' => 'wizard_table.php',
-						'params' => array('xmlOutput' => 0)
-					),
-					'forms' => Array(
-						'notNewRecords' => 1,
-						'enableByTypeConfig' => 1,
-						'type' => 'script',
-#						'hideParent' => array('rows' => 4),
-						'title' => 'Forms wizard',
-						'icon' => 'wizard_forms.gif',
-						'script' => 'wizard_forms.php?special=formtype_mail',
-						'params' => array('xmlOutput' => 0)
-					)
-				),
-				'softref' => 'typolink_tag,images,email[subst],url'
-			)
-		),
-		'text_align' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.1', 'center'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.2', 'right'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_align.I.3', 'left')
-				),
-				'default' => ''
-			)
-		),
-		'text_face' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_face',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
-					Array('Times', '1'),
-					Array('Verdana', '2'),
-					Array('Arial', '3')
-				),
-				'default' => '0'
-			)
-		),
-		'text_size' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_size',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.3', '3'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.4', '4'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.5', '5'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.6', '10'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_size.I.7', '11')
-				),
-				'default' => '0'
-			)
-		),
-		'text_color' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_color',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.3', '200'),
-					Array('-----','--div--'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.5', '240'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.6', '241'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.7', '242'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.8', '243'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.9', '244'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.10', '245'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.11', '246'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.12', '247'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.13', '248'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.14', '249'),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_color.I.15', '250')
-				),
-				'default' => '0'
-			)
-		),
-		'text_properties' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:text_properties',
-			'config' => Array (
-				'type' => 'check',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.0', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.1', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.2', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:text_properties.I.3', '')
-				),
-				'cols' => 4
-			)
-		),
-		'image' => Array (
-#			'l10n_mode' => 'mergeIfNotBlank',
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/pics',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '200',
-				'minitems' => '0',
-				'autoSizeMax' => 40,
-			)
-		),
-		'imagewidth' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagewidth',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '4',
-				'max' => '4',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '999',
-					'lower' => '25'
-				),
-				'default' => 0
-			)
-		),
-		'imageheight' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '4',
-				'max' => '4',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '700',
-					'lower' => '25'
-				),
-				'default' => 0
-			)
-		),
-		'imageorient' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageorient',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.0', 0, 'selicons/above_center.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.1', 1, 'selicons/above_right.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.2', 2, 'selicons/above_left.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.3', 8, 'selicons/below_center.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.4', 9, 'selicons/below_right.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.5', 10, 'selicons/below_left.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.6', 17, 'selicons/intext_right.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.7', 18, 'selicons/intext_left.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.8', '--div--'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.9', 25, 'selicons/intext_right_nowrap.gif'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imageorient.I.10', 26, 'selicons/intext_left_nowrap.gif')
-				),
-				'selicon_cols' => 6,
-				'default' => '8',
-				'iconsInOptionTags' => 1,
-			)
-		),
-		'imageborder' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imageborder',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'image_noRows' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_noRows',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'image_link' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_link',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '15',
-				'max' => '256',
-				'checkbox' => '',
-				'eval' => 'trim',
-				'wizards' => Array(
-					'_PADDING' => 2,
-					'link' => Array(
-						'type' => 'popup',
-						'title' => 'Link',
-						'icon' => 'link_popup.gif',
-						'script' => 'browse_links.php?mode=wizard',
-						'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
-					)
-				),
-				'softref' => 'typolink[linkList]'
-			)
-		),
-		'image_zoom' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_zoom',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'image_effects' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_effects',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.0', 0),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.1', 1),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.2', 2),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.3', 3),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.4', 10),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.5', 11),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.6', 20),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.7', 23),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.8', 25),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_effects.I.9', 26)
-				)
-			)
-		),
-		'image_frames' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_frames',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.0', 0),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.1', 1),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.2', 2),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.3', 3),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.4', 4),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.5', 5),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.6', 6),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.7', 7),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_frames.I.8', 8)
-				)
-			)
-		),
-		'image_compression' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_compression',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', 0),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.1', 1),
-					Array('GIF/256', 10),
-					Array('GIF/128', 11),
-					Array('GIF/64', 12),
-					Array('GIF/32', 13),
-					Array('GIF/16', 14),
-					Array('GIF/8', 15),
-					Array('PNG', 39),
-					Array('PNG/256', 30),
-					Array('PNG/128', 31),
-					Array('PNG/64', 32),
-					Array('PNG/32', 33),
-					Array('PNG/16', 34),
-					Array('PNG/8', 35),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.15', 21),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.16', 22),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.17', 24),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.18', 26),
-					Array('LLL:EXT:cms/locallang_ttc.php:image_compression.I.19', 28)
-				)
-			)
-		),
-		'imagecols' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecols',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('1', 0),
-					Array('2', 2),
-					Array('3', 3),
-					Array('4', 4),
-					Array('5', 5),
-					Array('6', 6),
-					Array('7', 7),
-					Array('8', 8)
-				),
-				'default' => 0
-			)
-		),
-		'imagecaption' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.caption',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '30',
-				'rows' => '3',
-				'softref' => 'typolink_tag,images,email[subst],url'
-			)
-		),
-		'imagecaption_position' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', ''),
-					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.1', 'center'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.2', 'right'),
-					Array('LLL:EXT:cms/locallang_ttc.php:imagecaption_position.I.3', 'left')
-				),
-				'default' => ''
-			)
-		),
-		'altText' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_altText',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '30',
-				'rows' => '3'
-			)
-		),
-		'titleText' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_titleText',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '30',
-				'rows' => '3'
-			)
-		),
-		'longdescURL' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:image_longdescURL',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '30',
-				'rows' => '3'
-			)
-		),
-		'cols' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:cols',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:cols.I.0', '0'),
-					Array('1', '1'),
-					Array('2', '2'),
-					Array('3', '3'),
-					Array('4', '4'),
-					Array('5', '5'),
-					Array('6', '6'),
-					Array('7', '7'),
-					Array('8', '8'),
-					Array('9', '9')
-				),
-				'default' => '0'
-			)
-		),
-		'pages' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.startingpoint',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'db',
-					'allowed' => 'pages',
-				'size' => '3',
-				'maxitems' => '22',
-				'minitems' => '0',
-				'show_thumbs' => '1'
-			)
-		),
-		'recursive' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.recursive',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.3', '3'),
-					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.4', '4'),
-					Array('LLL:EXT:cms/locallang_ttc.php:recursive.I.5', '250')
-				),
-				'default' => '0'
-			)
-		),
-		'menu_type' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:menu_type',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.0', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.2', '4'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.3', '7'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.4', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.5', '3'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.6', '5'),
-					Array('LLL:EXT:cms/locallang_ttc.php:menu_type.I.7', '6')
-				),
-				'default' => '0'
-			)
-		),
-		'list_type' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:list_type',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('','')
-				),
-				'default' => '',
-				'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
-			)
-		),
-		'select_key' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'max' => '80',
-				'eval' => 'trim'
-			)
-		),
-		'table_bgColor' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_bgColor',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.3', '200'),
-					Array('-----','--div--'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.5', '240'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.6', '241'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.7', '242'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.8', '243'),
-					Array('LLL:EXT:cms/locallang_ttc.php:table_bgColor.I.9', '244')
-				),
-				'default' => '0'
-			)
-		),
-		'table_border' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_border',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '3',
-				'max' => '3',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '20',
-					'lower' => '0'
-				),
-				'default' => 0
-			)
-		),
-		'table_cellspacing' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '3',
-				'max' => '3',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '200',
-					'lower' => '0'
-				),
-				'default' => 0
-			)
-		),
-		'table_cellpadding' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '3',
-				'max' => '3',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '200',
-					'lower' => '0'
-				),
-				'default' => 0
-			)
-		),
-		'media' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => '',	// Must be empty for disallowed to work.
-				'disallowed' => 'php,php3',
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/media',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '10',
-				'minitems' => '0'
-			)
-		),
-		'multimedia' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3',
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/media',
-				'size' => '2',
-				'maxitems' => '1',
-				'minitems' => '0'
-			)
-		),
-		'filelink_size' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:filelink_size',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'records' => Array (
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:records',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'db',
-				'allowed' => 'tt_content',
-				'size' => '5',
-				'maxitems' => '200',
-				'minitems' => '0',
-				'show_thumbs' => '1'
-			)
-		),
-		'spaceBefore' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceBefore',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '3',
-				'max' => '3',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '50',
-					'lower' => '0'
-				),
-				'default' => 0
-			)
-		),
-		'spaceAfter' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:spaceAfter',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '3',
-				'max' => '3',
-				'eval' => 'int',
-				'checkbox' => '0',
-				'range' => Array (
-					'upper' => '50',
-					'lower' => '0'
-				),
-				'default' => 0
-			)
-		),
-		'section_frame' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:section_frame',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.2', '5'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.3', '6'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.4', '10'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.5', '11'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.6', '12'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.7', '20'),
-					Array('LLL:EXT:cms/locallang_ttc.php:section_frame.I.8', '21')
-				),
-				'default' => '0'
-			)
-		),
-		'splash_layout' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:splash_layout',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value', '0'),
-					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.1', '1'),
-					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.2', '2'),
-					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.3', '3'),
-					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.4', '--div--'),
-					Array('LLL:EXT:cms/locallang_ttc.php:splash_layout.I.5', '20'),
-				),
-				'default' => '0'
-			)
-		),
-		'sectionIndex' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:sectionIndex',
-			'config' => Array (
-				'type' => 'check',
-				'default' => 1
-			)
-		),
-		'linkToTop' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'rte_enabled' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
-			'config' => Array (
-				'type' => 'check',
-				'showIfRTE' => 1
-			)
-		),
-		'pi_flexform' => array(
-			'l10n_display' => 'hideDiff',
-			'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
-			'config' => Array (
-				'type' => 'flex',
-				'ds_pointerField' => 'list_type',
-				'ds' => array(
-					'default' => '
-						<T3DataStructure>
-						  <ROOT>
-						    <type>array</type>
-						    <el>
-								<!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely  -->
-						      <xmlTitle>
-								<TCEforms>
-									<label>The Title:</label>
-									<config>
-										<type>input</type>
-										<size>48</size>
-									</config>
-								</TCEforms>
-						      </xmlTitle>
-						    </el>
-						  </ROOT>
-						</T3DataStructure>
-					',
-				)
-			)
-		),
-		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
-		'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
-		't3ver_label' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '30',
-			)
-		),
-	),
-	'types' => Array (
-		'1' => 	Array('showitem' => 'CType'),
-		'header' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, subheader;;8'),
-		'text' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties'),
-		'textpic' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties, --div--, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
-			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
-			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
-			imagecaption;;5,
-			altText;;;;1-1-1,titleText,longdescURL'),
-		'rte' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;;nowrap:richtext[*]:rte_transform[mode=ts_images-ts_reglinks];3-3-3'),
-		'image' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, image;;;;4-4-4, imageorient;;2, imagewidth;;13,
-			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
-			--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
-			 imagecaption;;5,
-			 altText;;;;1-1-1,titleText,longdescURL'),
-		'bullets' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties'),
-		'table' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, layout;;10;button;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties'),
-		'splash' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, splash_layout, bodytext;;;;3-3-3, image;;6'),
-		'uploads' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, media;;;;5-5-5,
-			select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
-			layout;;10;button, filelink_size,
-			imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap'),
-		'multimedia' =>	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, multimedia;;;;5-5-5, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap'),
-		'script' =>		Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, select_key;;;;5-5-5, pages;;12, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
-			imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script'),
-		'menu' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, menu_type;;;;5-5-5, pages'),
-		'mailform' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
-			bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];5-5-5,
-			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
-			subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform'),
-		'search' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
-			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search;;;5-5-5'),
-		'login' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2,
-			pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login;;;5-5-5'),
-		'shortcut' => 	Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, records;;;;5-5-5, layout'),
-		'list' => 		Array(
-							'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, --div--, list_type;;;;5-5-5, layout, select_key, pages;;12',
-							'subtype_value_field' => 'list_type',
-							'subtypes_excludelist' => Array(
-								'' => 'layout,select_key,pages',	// When no plugin is selected.
-								'3' => 'layout',
-//								'4' => 'layout',	// List type forum
-								'2' => 'layout',
-								'5' => 'layout',
-								'9' => 'layout',
-								'0' => 'layout',
-								'6' => 'layout',
-								'7' => 'layout',
-								'1' => 'layout',
-								'8' => 'layout',
-								'11' => 'layout',
-								'20' => 'layout',
-								'21' => 'layout'
-							)
-						),
-		'div' => 		Array('showitem' => 'CType;;14;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2'),
-		'html' => 		Array('showitem' => 'CType;;4;button;1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
-			bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap;3-3-3')
-	),
-	'palettes' => Array (
-		'1' => Array('showitem' => 'hidden, starttime, endtime'),
-		'15' => Array('showitem' => 'fe_group'),
-		'2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
-		'3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
-		'4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex, linkToTop'),
-		'5' => Array('showitem' => 'imagecaption_position'),
-		'6' => Array('showitem' => 'imagewidth,image_link'),
-		'7' => Array('showitem' => 'image_link, image_zoom'),
-		'8' => Array('showitem' => 'layout'),
-		'9' => Array('showitem' => 'text_align,text_face,text_size,text_color'),
-		'10' => Array('showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'),
-		'11' => Array('showitem' => 'image_compression, image_effects, image_frames'),
-		'12' => Array('showitem' => 'recursive'),
-		'13' => Array('showitem' => 'imageheight'),
-		'14' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos')
-	)
-);
-
-
-
-?>
Index: typo3/sysext/cms/tbl_cms.php
===================================================================
--- typo3/sysext/cms/tbl_cms.php	(revision 2741)
+++ typo3/sysext/cms/tbl_cms.php	(working copy)
@@ -1,939 +0,0 @@
-<?php
-/***************************************************************
-*  Copyright notice
-*
-*  (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
-*  All rights reserved
-*
-*  This script is part of the TYPO3 project. The TYPO3 project is
-*  free software; you can redistribute it and/or modify
-*  it under the terms of the GNU General Public License as published by
-*  the Free Software Foundation; either version 2 of the License, or
-*  (at your option) any later version.
-*
-*  The GNU General Public License can be found at
-*  http://www.gnu.org/copyleft/gpl.html.
-*  A copy is found in the textfile GPL.txt and important notices to the license
-*  from the author is found in LICENSE.txt distributed with these scripts.
-*
-*
-*  This script is distributed in the hope that it will be useful,
-*  but WITHOUT ANY WARRANTY; without even the implied warranty of
-*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-*  GNU General Public License for more details.
-*
-*  This copyright notice MUST APPEAR in all copies of the script!
-***************************************************************/
-/**
- * Dynamic configuation of the system-related tables, typ. sys_* series
- *
- * $Id$
- *
- * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
- */
-
-
-
-
-
-// ******************************************************************
-// fe_users
-//
-// FrontEnd users - login on the website
-// ******************************************************************
-$TCA['fe_users'] = Array (
-	'ctrl' => $TCA['fe_users']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime'
-	),
-	'feInterface' => $TCA['fe_users']['feInterface'],
-	'columns' => Array (
-		'username' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.username',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'max' => '50',
-				'eval' => 'nospace,lower,uniqueInPid,required'
-			)
-		),
-		'password' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.password',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '10',
-				'max' => '40',
-				'eval' => 'nospace,required,password'
-			)
-		),
-		'usergroup' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.usergroup',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'fe_groups',
-				'size' => '3',
-				'minitems' => '1',
-				'maxitems' => '50'
-			)
-		),
-		'lockToDomain' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_users.lockToDomain',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '50',
-				'checkbox' => '',
-				'softref' => 'substitute'
-			)
-		),
-		'name' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.name',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '40',
-				'eval' => 'trim',
-				'max' => '80'
-			)
-		),
-		'address' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.address',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '20',
-				'rows' => '3'
-			)
-		),
-		'telephone' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.phone',
-			'config' => Array (
-				'type' => 'input',
-				'eval' => 'trim',
-				'size' => '20',
-				'max' => '20'
-			)
-		),
-		'fax' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fax',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '20'
-			)
-		),
-		'email' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '40',
-				'eval' => 'trim',
-				'max' => '80'
-			)
-		),
-		'title' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title_person',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '40'
-			)
-		),
-		'zip' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.zip',
-			'config' => Array (
-				'type' => 'input',
-				'eval' => 'trim',
-				'size' => '10',
-				'max' => '10'
-			)
-		),
-		'city' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.city',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '50'
-			)
-		),
-		'country' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.country',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '40'
-			)
-		),
-		'www' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.www',
-			'config' => Array (
-				'type' => 'input',
-				'eval' => 'trim',
-				'size' => '20',
-				'max' => '80'
-			)
-		),
-		'company' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.company',
-			'config' => Array (
-				'type' => 'input',
-				'eval' => 'trim',
-				'size' => '20',
-				'max' => '80'
-			)
-		),
-		'image' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.image',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/pics',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '6',
-				'minitems' => '0'
-			)
-		),
-		'disable' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'starttime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'default' => '0',
-				'checkbox' => '0'
-			)
-		),
-		'endtime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0',
-				'range' => Array (
-					'upper' => mktime(0,0,0,12,31,2020),
-				)
-			)
-		),
-		'TSconfig' => Array (
-			'exclude' => 1,
-			'label' => 'TSconfig:',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '40',
-				'rows' => '5',
-				'wizards' => Array(
-					'_PADDING' => 4,
-					'0' => Array(
-#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
-						'title' => 'TSconfig QuickReference',
-						'script' => 'wizard_tsconfig.php?mode=fe_users',
-						'icon' => 'wizard_tsconfig.gif',
-						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
-					)
-				),
-				'softref' => 'TSconfig'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		)
-	),
-	'types' => Array (
-		'0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, --div--, name;;2;;3-3-3, address, zip, city, country, telephone, fax, email, www, image;;;;4-4-4, --div--, TSconfig;;;;5-5-5')
-	),
-	'palettes' => Array (
-		'1' => Array('showitem' => 'disable, starttime, endtime'),
-		'2' => Array('showitem' => 'title,company')
-	)
-);
-
-
-
-
-
-// ******************************************************************
-// fe_groups
-//
-// FrontEnd usergroups - Membership of these determines access to elements
-// ******************************************************************
-$TCA['fe_groups'] = Array (
-	'ctrl' => $TCA['fe_groups']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'title,hidden,subgroup,lockToDomain,description'
-	),
-	'columns' => Array (
-		'hidden' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		),
-		'title' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.title',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'max' => '50',
-				'eval' => 'trim,required'
-			)
-		),
-		'subgroup' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.subgroup',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'fe_groups',
-				'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title',
-				'size' => 4,
-				'autoSizeMax' => 10,
-				'minitems' => 0,
-				'maxitems' => 20
-			)
-		),
-		'lockToDomain' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:cms/locallang_tca.php:fe_groups.lockToDomain',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '50',
-				'checkbox' => ''
-			)
-		),
-		'description' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 5,
-				'cols' => 48
-			)
-		),
-		'TSconfig' => Array (
-			'exclude' => 1,
-			'label' => 'TSconfig:',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '40',
-				'rows' => '5',
-				'wizards' => Array(
-					'_PADDING' => 4,
-					'0' => Array(
-#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
-						'title' => 'TSconfig QuickReference',
-						'script' => 'wizard_tsconfig.php?mode=fe_users',
-						'icon' => 'wizard_tsconfig.gif',
-						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
-					)
-				),
-				'softref' => 'TSconfig'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		)
-	),
-	'types' => Array (
-		'0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,lockToDomain,description;;;;3-3-3, --div--, TSconfig;;;;5-5-5, subgroup;;;;6-6-6')
-	)
-);
-
-
-
-
-// ******************************************************************
-// sys_domain
-// ******************************************************************
-$TCA['sys_domain'] = Array (
-	'ctrl' => $TCA['sys_domain']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'hidden,domainName,redirectTo'
-	),
-	'columns' => Array (
-		'domainName' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.domainName',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '35',
-				'max' => '80',
-				'eval' => 'required,unique,lower,trim',
-				'softref' => 'substitute'
-			),
-		),
-		'redirectTo' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.redirectTo',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '35',
-				'max' => '120',
-				'checkbox' => '',
-				'default' => '',
-				'eval' => 'trim',
-				'softref' => 'substitute'
-			),
-		),
-		'hidden' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		),
-		'prepend_params' => Array (
-			'label' => 'LLL:EXT:cms/locallang_tca.php:sys_domain.prepend_params',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		)
-	),
-	'types' => Array (
-		'1' => Array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params')
-	),
-	'palettes' => Array (
-		'1' => Array('showitem' => 'redirectTo')
-	)
-);
-
-
-
-
-
-// ******************************************************************
-// pages_language_overlay
-// ******************************************************************
-$TCA['pages_language_overlay'] = Array (
-	'ctrl' => $TCA['pages_language_overlay']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'
-	),
-	'columns' => Array (
-		'hidden' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.hidden',
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		),
-		'starttime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0'
-			)
-		),
-		'endtime' => Array (
-			'exclude' => 1,
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0',
-				'range' => Array (
-					'upper' => mktime(0,0,0,12,31,2020),
-				)
-			)
-		),
-		'title' => Array (
-			'l10n_mode' => 'prefixLangTitle',
-			'label' => $TCA['pages']['columns']['title']['label'],
-			'l10n_cat' => 'text',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '256',
-				'eval' => 'required'
-			)
-		),
-		'subtitle' => Array (
-			'exclude' => 1,
-			'l10n_cat' => 'text',
-			'label' => $TCA['pages']['columns']['subtitle']['label'],
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '256',
-				'eval' => ''
-			)
-		),
-		'nav_title' => Array (
-			'exclude' => 1,
-			'l10n_cat' => 'text',
-			'label' => $TCA['pages']['columns']['nav_title']['label'],
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '256',
-				'checkbox' => '',
-				'eval' => 'trim'
-			)
-		),
-		'keywords' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['keywords']['label'],
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '40',
-				'rows' => '3'
-			)
-		),
-		'description' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['description']['label'],
-			'config' => Array (
-				'type' => 'input',
-				'size' => '40',
-				'eval' => 'trim'
-			)
-		),
-		'abstract' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['abstract']['label'],
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '40',
-				'rows' => '3'
-			)
-		),
-		'author' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['author']['label'],
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '80'
-			)
-		),
-		'author_email' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['author_email']['label'],
-			'config' => Array (
-				'type' => 'input',
-				'size' => '20',
-				'eval' => 'trim',
-				'max' => '80'
-			)
-		),
-		'media' => Array (
-			'exclude' => 1,
-			'label' => $TCA['pages']['columns']['media']['label'],
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => $TCA['pages']['columns']['media']['config']['allowed'],
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/media',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '5',
-				'minitems' => '0'
-			)
-		),
-		'sys_language_uid' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'sys_language',
-				'foreign_table_where' => 'ORDER BY sys_language.title',
-				'items' => Array(
-					Array('LLL:EXT:lang/locallang_general.php:LGL.default_value',0)
-				)
-			)
-		),
-		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
-		'l18n_diffsource' => Array('config'=>array('type'=>'passthrough')),
-		't3ver_label' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '30',
-			)
-		),
-	),
-	'types' => Array (
-		'0' => Array('showitem' => 'hidden;;;;1-1-1, sys_language_uid, title;;;;2-2-2, subtitle, nav_title, --div--, abstract;;5;;3-3-3, keywords, description, media;;;;4-4-4')
-	),
-	'palettes' => Array (
-		'1' => Array('showitem' => 'starttime,endtime'),
-		'5' => Array('showitem' => 'author,author_email')
-	)
-);
-
-
-
-// ******************************************************************
-// sys_template
-// ******************************************************************
-$TCA['sys_template'] = Array (
-	'ctrl' => $TCA['sys_template']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'title,clear,root,include_static,basedOn,nextLevel,resources,sitetitle,description,hidden,starttime,endtime'
-	),
-	'columns' => Array (
-		'title' => Array (
-			'label' => 'Template title:',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '25',
-				'max' => '256',
-				'eval' => 'required'
-			)
-		),
-		'hidden' => Array (
-			'label' => 'Deactivated:',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		),
-		'starttime' => Array (
-			'label' => 'Start:',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0'
-			)
-		),
-		'endtime' => Array (
-			'label' => 'Stop:',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'input',
-				'size' => '8',
-				'max' => '20',
-				'eval' => 'date',
-				'checkbox' => '0',
-				'default' => '0',
-				'range' => Array (
-					'upper' => mktime(0,0,0,12,31,2020),
-				)
-			)
-		),
-		'root' => Array (
-			'label' => 'Rootlevel:',
-			'config' => Array (
-				'type' => 'check'
-			)
-		),
-		'clear' => Array (
-			'label' => 'Clear:',
-			'config' => Array (
-				'type' => 'check',
-				'items' => Array (
-					Array('Constants', ''),
-					Array('Setup', '')
-				),
-				'cols' => 2
-			)
-		),
-		'sitetitle' => Array (
-			'label' => 'Website title:',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '25',
-				'max' => '256'
-			)
-		),
-		'constants' => Array (
-			'label' => 'Constants:',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '48',
-				'rows' => '10',
-				'wrap' => 'OFF',
-				'softref' => 'TStemplate,email[subst],url[subst]'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'resources' => Array (
-			'label' => 'Resources:',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'file',
-				'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico,js',
-				'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
-				'uploadfolder' => 'uploads/tf',
-				'show_thumbs' => '1',
-				'size' => '7',
-				'maxitems' => '100',
-				'minitems' => '0'
-			)
-		),
-		'nextLevel' => Array (
-			'label' => 'Template on next level:',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'db',
-				'allowed' => 'sys_template',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '1',
-				'minitems' => '0',
-				'default' => ''
-			)
-		),
-		'include_static' => Array (
-			'label' => 'Include static:',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'static_template',
-				'foreign_table_where' => 'ORDER BY static_template.title DESC',
-				'size' => 10,
-				'maxitems' => 20,
-				'default' => '',
-			),
-		),
-		'include_static_file' => Array(
-			'label' => 'Include static (from extensions):',
-			'config' => Array (
-				'type' => 'select',
-				'size' => 10,
-				'maxitems' => 20,
-				'items' => Array (
-				),
-				'softref' => 'ext_fileref'
-			)
-		),
-		'basedOn' => Array (
-			'label' => 'Include basis template:',
-			'config' => Array (
-				'type' => 'group',
-				'internal_type' => 'db',
-				'allowed' => 'sys_template',
-				'show_thumbs' => '1',
-				'size' => '3',
-				'maxitems' => '50',
-				'autoSizeMax' => 10,
-				'minitems' => '0',
-				'default' => '',
-				'wizards' => Array(
-					'_PADDING' => 4,
-					'_VERTICAL' => 1,
-					'edit' => Array(
-						'type' => 'popup',
-						'title' => 'Edit filemount',
-						'script' => 'wizard_edit.php',
-						'popup_onlyOpenIfSelected' => 1,
-						'icon' => 'edit2.gif',
-						'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
-					),
-					'add' => Array(
-						'type' => 'script',
-						'title' => 'Add new basis template',
-						'icon' => 'add.gif',
-						'params' => Array(
-							'table'=>'sys_template',
-							'pid' => '###CURRENT_PID###',
-							'setValue' => 'prepend'
-						),
-						'script' => 'wizard_add.php',
-					)
-				)
-			)
-		),
-		'includeStaticAfterBasedOn' => Array (
-			'label' => 'Include static AFTER basedOn:',
-			'exclude' => 1,
-			'config' => Array (
-				'type' => 'check',
-				'default' => '0'
-			)
-		),
-		'config' => Array (
-			'label' => 'Setup:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 10,
-				'cols' => 48,
-				'wizards' => Array(
-					'_PADDING' => 4,
-					'0' => Array(
-#						'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
-						'title' => 'TSref online',
-						'script' => 'wizard_tsconfig.php?mode=tsref',
-						'icon' => 'wizard_tsconfig.gif',
-						'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
-					)
-				),
-				'wrap' => 'OFF',
-				'softref' => 'TStemplate,email[subst],url[subst]'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'editorcfg' => Array (
-			'label' => 'Backend Editor Configuration:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 4,
-				'cols' => 48,
-				'wrap' => 'OFF'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'description' => Array (
-			'label' => 'Description:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 10,
-				'cols' => 48
-			)
-		),
-		'static_file_mode' => Array (
-			'label' => 'Static template files from T3 Extensions:',
-			'config' => Array (
-				'type' => 'select',
-				'items' => Array (
-					Array('Default (Include before if Root-flag is set)', '0'),
-					Array('Always include before this template record', '1'),
-					Array('Never include before this template record', '2'),
-				),
-				'default' => '0'
-			)
-		),
-		'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
-		't3ver_label' => Array (
-			'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '30',
-				'max' => '30',
-			)
-		),
-	),
-	'types' => Array (
-		'1' => Array('showitem' => 'title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, resources, clear, root, --div--, include_static;;2;;5-5-5, include_static_file;;2, basedOn;;2, static_file_mode, nextLevel, --div--, description;;;;5-5-5, editorcfg')
-	),
-	'palettes' => Array (
-		'1' => Array('showitem' => 'hidden,starttime,endtime'),
-		'2' => Array('showitem' => 'includeStaticAfterBasedOn')
-	)
-);
-
-
-
-
-
-// ******************************************************************
-// static_template
-// ******************************************************************
-$TCA['static_template'] = Array (
-	'ctrl' => $TCA['static_template']['ctrl'],
-	'interface' => Array (
-		'showRecordFieldList' => 'title,include_static,description'
-	),
-	'columns' => Array (
-		'title' => Array (
-			'label' => 'Template title:',
-			'config' => Array (
-				'type' => 'input',
-				'size' => '25',
-				'max' => '256',
-				'eval' => 'required'
-			)
-		),
-		'constants' => Array (
-			'label' => 'Constants:',
-			'config' => Array (
-				'type' => 'text',
-				'cols' => '48',
-				'rows' => '10',
-				'wrap' => 'OFF'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'include_static' => Array (
-			'label' => 'Include static:',
-			'config' => Array (
-				'type' => 'select',
-				'foreign_table' => 'static_template',
-				'foreign_table_where' => 'ORDER BY static_template.title',
-				'size' => 10,
-				'maxitems' => 20,
-				'default' => ''
-			)
-		),
-		'config' => Array (
-			'label' => 'Setup:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 10,
-				'cols' => 48,
-				'wrap' => 'OFF'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'editorcfg' => Array (
-			'label' => 'Backend Editor Configuration:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 4,
-				'cols' => 48,
-				'wrap' => 'OFF'
-			),
-			'defaultExtras' => 'fixed-font : enable-tab',
-		),
-		'description' => Array (
-			'label' => 'Description:',
-			'config' => Array (
-				'type' => 'text',
-				'rows' => 10,
-				'cols' => 48
-			)
-		)
-	),
-	'types' => Array (
-		'1' => Array('showitem' => 'title;;;;2-2-2, constants;;;;3-3-3, config, include_static;;;;5-5-5, description;;;;5-5-5, editorcfg')
-	)
-);
-
-
-
-?>
