Added feature #16396: Implement a Grid View + wizard to enable the backend layout...
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tbl_tt_content.php
index 076e279..ba03973 100755 (executable)
@@ -1,22 +1,22 @@
 <?php
 /***************************************************************
 *  Copyright notice
-*  
-*  (c) 1999-2004 Kasper Skaarhoj (kasper@typo3.com)
+*
+*  (c) 1999-2010 Kasper Skårhøj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
-*  This script is part of the TYPO3 project. The TYPO3 project is 
+*  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 
+*  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
 *
 *  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 <kasper@typo3.com>
+ * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 
 
 
-$TCA['tt_content'] = Array (
+$TCA['tt_content'] = array(
        'ctrl' => $TCA['tt_content']['ctrl'],
-       'interface' => Array (
+       '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 (
+       'columns' => array(
+               'CType' => array(
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
+                       'config' => array(
                                'type' => 'select',
-                               'items' => Array (
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.0', 'header'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.1', 'text'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.2', 'textpic'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.3', 'image'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.4', 'bullets'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.5', 'table'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.6', 'uploads'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.7', 'multimedia'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.8', 'mailform'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.9', 'search'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.10', 'login'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.11', 'splash'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.12', 'menu'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.13', 'shortcut'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.14', 'list'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.15', 'script'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.16', 'div'),
-                                       Array('LLL:EXT:cms/locallang_ttc.php:CType.I.17', 'html')
-                               ),
-                               'default' => 'text'
-                       )
-               ),
-               '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 (
+                               '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.18',
+                                               'media',
+                                               '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.xml:LGL.hidden',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:hidden.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'starttime' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
+                       'config' => array(
                                'type' => 'input',
-                               'size' => '8',
+                               'size' => '13',
                                'max' => '20',
                                'eval' => 'date',
                                'checkbox' => '0',
-                               'default' => '0'
-                       )
+                               'default' => '0',
+                       ),
                ),
-               'endtime' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
-                       'config' => Array (
+               'endtime' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
+                       'config' => array(
                                'type' => 'input',
-                               'size' => '8',
+                               'size' => '13',
                                'max' => '20',
                                'eval' => 'date',
                                'checkbox' => '0',
                                'default' => '0',
-                               'range' => Array (
+                               'range' => array(
                                        'upper' => mktime(0,0,0,12,31,2020),
-                                       'lower' => mktime(0,0,0,date('m')-1,date('d'),date('Y'))
-                               )
-                       )
-               ),
-               'fe_group' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.fe_group',
-                       'config' => Array (
-                               'type' => 'select',     
-                               'items' => Array (
-                                       Array('', 0),
-                                       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--')
-                               ),
-                               'foreign_table' => 'fe_groups'
-                       )
-               ),
-               'sys_language_uid' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.language',
-                       'config' => Array (
+                               ),
+                       ),
+               ),
+               'fe_group' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
+                       'config' => array(
+                               'type' => 'select',
+                               'size' => 5,
+                               'maxitems' => 20,
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login',
+                                               -1,
+                                       ),
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.any_login',
+                                               -2,
+                                       ),
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.usergroups',
+                                               '--div--',
+                                       ),
+                               ),
+                               'exclusiveKeys' => '-1,-2',
+                               'foreign_table' => 'fe_groups',
+                               'foreign_table_where' => 'ORDER BY fe_groups.title',
+                       ),
+               ),
+               'sys_language_uid' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml: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)
-                               )
-                       )
-               ),
-               '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 (
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.allLanguages',
+                                               -1,
+                                       ),
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               0,
+                                       ),
+                               ),
+                       ),
+               ),
+               'l18n_parent' => array(
+                       'displayCond' => 'FIELD:sys_language_uid:>:0',
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml: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.xml:LGL.layout',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.normal',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:layout.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:layout.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:layout.I.3',
+                                               '3',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'colPos' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:colPos',
+                       'config' => array(
+                               'type' => 'select',
+                               'itemsProcFunc' => 'EXT:cms/class.tx_cms_be_layout.php:tx_cms_be_layout->colPosListItemProcFunc',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:colPos.I.0',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.normal',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:colPos.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:colPos.I.3',
+                                               '3',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'date' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:date',
+                       'config' => array(
                                'type' => 'input',
-                               'size' => '8',
+                               'size' => '13',
                                'max' => '20',
                                'eval' => 'date',
                                'checkbox' => '0',
-                               'default' => '0'
-                       )
+                               'default' => '0',
+                       ),
                ),
-               'header' => Array (
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:header',
-                       'config' => Array (
+               'header' => array(
+                       'l10n_mode' => 'prefixLangTitle',
+                       'l10n_cat' => 'text',
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:header',
+                       'config' => array(
                                'type' => 'input',
-                               'max' => '256'
-                       )
+                               'size' => '50',
+                               'max' => '256',
+                               'checkbox' => '',
+                       ),
                ),
-               'header_position' => Array (
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:header_position',
-                       'config' => Array (
+               'header_position' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:header_position',
+                       'exclude' => 1,
+                       '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',
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_position.I.1',
+                                               'center',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_position.I.2',
+                                               'right',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_position.I.3',
+                                               'left',
+                                       ),
+                               ),
+                               'default' => '',
+                       ),
+               ),
+               'header_link' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:header_link',
+                       'exclude' => 1,
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '50',
                                'max' => '256',
                                'checkbox' => '',
                                'eval' => 'trim',
-                               'wizards' => Array(
+                               'wizards' => array(
                                        '_PADDING' => 2,
-                                       'link' => Array(
+                                       'link' => array(
                                                'type' => 'popup',
-                                               'title' => 'Link',
+                                               'title' => 'LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel',
                                                'icon' => 'link_popup.gif',
                                                'script' => 'browse_links.php?mode=wizard',
-                                               'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
-                                       )
-                               )
-                       )
-               ),
-               '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 (
+                                               'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1',
+                                       ),
+                               ),
+                               'softref' => 'typolink',
+                       ),
+               ),
+               'header_layout' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.normal',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.3',
+                                               '3',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.4',
+                                               '4',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.5',
+                                               '5',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.6',
+                                               '100',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'subheader' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.subheader',
+                       'config' => array(
                                'type' => 'input',
-                               'size' => '30',
-                               'max' => '256'
-                       )
+                               'size' => '50',
+                               'max' => '256',
+                               'softref' => 'email[subst]',
+                               'checkbox' => '',
+                       ),
                ),
-               'bodytext' => Array (
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.text',
-                       'config' => Array (
+               'bodytext' => array(
+                       'l10n_mode' => 'prefixLangTitle',
+                       'l10n_cat' => 'text',
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.text',
+                       'config' => array(
                                'type' => 'text',
                                'cols' => '48',
                                'rows' => '5',
-                               'wizards' => Array(
+                               'wizards' => array(
                                        '_PADDING' => 4,
-                                       'RTE' => Array(
+                                       '_VALIGN' => 'middle',
+                                       'RTE' => array(
                                                'notNewRecords' => 1,
                                                'RTEonly' => 1,
                                                'type' => 'script',
-                                               'title' => 'LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE',
+                                               'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.RTE',
                                                'icon' => 'wizard_rte2.gif',
                                                'script' => 'wizard_rte.php',
                                        ),
-                                       'table' => Array(
+                                       'table' => array(
                                                'notNewRecords' => 1,
                                                'enableByTypeConfig' => 1,
                                                'type' => 'script',
-                                               'title' => 'Table wizard',
+                                               'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.table',
                                                'icon' => 'wizard_table.gif',
                                                'script' => 'wizard_table.php',
-                                               'params' => array('xmlOutput' => 0)
+                                               'params' => array(
+                                                       'xmlOutput' => 0,
+                                               ),
                                        ),
-                                       'forms' => Array(
+                                       'forms' => array(
                                                'notNewRecords' => 1,
                                                'enableByTypeConfig' => 1,
                                                'type' => 'script',
 #                                              'hideParent' => array('rows' => 4),
-                                               'title' => 'Forms wizard',
+                                               'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.forms',
                                                'icon' => 'wizard_forms.gif',
                                                'script' => 'wizard_forms.php?special=formtype_mail',
-                                               'params' => array('xmlOutput' => 0)
-                                       )
-                               )
-                       )
-               ),
-               'text_align' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:text_align',
-                       'config' => Array (
+                                               'params' => array(
+                                                       'xmlOutput' => 0,
+                                               ),
+                                       ),
+                               ),
+                               'softref' => 'typolink_tag,images,email[subst],url',
+                       ),
+               ),
+               'text_align' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_align',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_align.I.1',
+                                               'center',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_align.I.2',
+                                               'right',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_align.I.3',
+                                               'left',
+                                       ),
+                               ),
+                               'default' => '',
+                       ),
+               ),
+               'text_face' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_face',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml: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.xml:text_size',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.3',
+                                               '3',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.4',
+                                               '4',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.5',
+                                               '5',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.6',
+                                               '10',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_size.I.7',
+                                               '11',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'text_color' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_color',
+                       '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 (
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.3',
+                                               '200',
+                                       ),
+                                       array(
+                                               '-----',
+                                               '--div--',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.5',
+                                               '240',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.6',
+                                               '241',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.7',
+                                               '242',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.8',
+                                               '243',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.9',
+                                               '244',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.10',
+                                               '245',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.11',
+                                               '246',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.12',
+                                               '247',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.13',
+                                               '248',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.14',
+                                               '249',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_color.I.15',
+                                               '250',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'text_properties' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml: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 (
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.images',
-                       'config' => Array (
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.0',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.1',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.2',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.3',
+                                               '',
+                                       ),
+                               ),
+                               'cols' => 4,                    ),
+               ),
+               'image' => array(
+#                      'l10n_mode' => 'mergeIfNotBlank',
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.images',
+                       'config' => array(
                                'type' => 'group',
                                'internal_type' => 'file',
                                'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
-                               'max_size' => '1000',
+                               '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',      
+               'imagewidth' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagewidth',
+                       'config' => array(
+                               'type' => 'input',
                                'size' => '4',
                                'max' => '4',
                                'eval' => 'int',
                                'checkbox' => '0',
-                               'range' => Array (
+                               'range' => array(
                                        'upper' => '999',
-                                       'lower' => '25'
+                                       'lower' => '25',
                                ),
-                               'default' => 0
-                       )
+                               'default' => 0,
+                       ),
                ),
-               'imageheight' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:imageheight',
-                       'config' => Array (
-                               'type' => 'input',      
+               'imageheight' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageheight',
+                       'config' => array(
+                               'type' => 'input',
                                'size' => '4',
                                'max' => '4',
                                'eval' => 'int',
                                'checkbox' => '0',
-                               'range' => Array (
+                               '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')
+                                       'lower' => '25',
+                               ),
+                               'default' => 0,
+                       ),
+               ),
+               'imageorient' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageorient',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.0',
+                                               0,
+                                               'selicons/above_center.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.1',
+                                               1,
+                                               'selicons/above_right.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.2',
+                                               2,
+                                               'selicons/above_left.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.3',
+                                               8,
+                                               'selicons/below_center.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.4',
+                                               9,
+                                               'selicons/below_right.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.5',
+                                               10,
+                                               'selicons/below_left.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.6',
+                                               17,
+                                               'selicons/intext_right.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.7',
+                                               18,
+                                               'selicons/intext_left.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.8',
+                                               '--div--',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.9',
+                                               25,
+                                               'selicons/intext_right_nowrap.gif',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.10',
+                                               26,
+                                               'selicons/intext_left_nowrap.gif',
+                                       ),
                                ),
                                'selicon_cols' => 6,
-                               'default' => '8'
-                       )
-               ),
-               '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',
+                               'default' => '0',
+                               'iconsInOptionTags' => 1,
+                       ),
+               ),
+               'imageborder' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageborder',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:imageborder.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'image_noRows' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_noRows',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:image_noRows.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'image_link' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_link',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '50',
+                               'max' => '51200',
                                'checkbox' => '',
                                'eval' => 'trim',
-                               'wizards' => Array(
+                               'wizards' => array(
                                        '_PADDING' => 2,
-                                       'link' => Array(
+                                       'link' => array(
                                                'type' => 'popup',
-                                               'title' => 'Link',
+                                               'title' => 'LLL:EXT:cms/locallang_ttc.xml:image_link_formlabel',
                                                'icon' => 'link_popup.gif',
                                                'script' => 'browse_links.php?mode=wizard',
-                                               'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
-                                       )
-                               )
-                       )
-               ),
-               '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 (
+                                               '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.xml:image_zoom',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:image_zoom.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'image_effects' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_effects',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.0',
+                                               0,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.1',
+                                               1,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.2',
+                                               2,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.3',
+                                               3,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.4',
+                                               10,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.5',
+                                               11,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.6',
+                                               20,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.7',
+                                               23,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.8',
+                                               25,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.9',
+                                               26,
+                                       ),
+                               ),
+                       ),
+               ),
+               'image_frames' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_frames',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.0',
+                                               0,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.1',
+                                               1,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.2',
+                                               2,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.3',
+                                               3,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.4',
+                                               4,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.5',
+                                               5,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.6',
+                                               6,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.7',
+                                               7,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.8',
+                                               8,
+                                       ),
+                               ),
+                       ),
+               ),
+               'image_compression' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_compression',
+                       '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 (
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               0,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml: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.xml:image_compression.I.15',
+                                               21,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.16',
+                                               22,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.17',
+                                               24,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.18',
+                                               26,
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.19',
+                                               28,
+                                       ),
+                               ),
+                       ),
+               ),
+               'imagecols' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagecols',
+                       '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 (
+                               'items' => array(
+                                       array(
+                                               '1',
+                                               1,
+                                       ),
+                                       array(
+                                               '2',
+                                               2,
+                                       ),
+                                       array(
+                                               '3',
+                                               3,
+                                       ),
+                                       array(
+                                               '4',
+                                               4,
+                                       ),
+                                       array(
+                                               '5',
+                                               5,
+                                       ),
+                                       array(
+                                               '6',
+                                               6,
+                                       ),
+                                       array(
+                                               '7',
+                                               7,
+                                       ),
+                                       array(
+                                               '8',
+                                               8,
+                                       ),
+                               ),
+                               'default' => 1,
+                       ),
+               ),
+               'imagecaption' => array(
+                       'label' => 'LLL:EXT:lang/locallang_general.xml: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.xml:imagecaption_position',
+                       '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 (
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.1',
+                                               'center',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.2',
+                                               'right',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.3',
+                                               'left',
+                                       ),
+                               ),
+                               'default' => '',
+                       ),
+               ),
+               'altText' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_altText',
+                       'config' => array(
                                'type' => 'text',
                                'cols' => '30',
-                               'rows' => '3'
-                       )
+                               'rows' => '3',
+                       ),
                ),
-               'imagecaption_position' => Array (
+               'titleText' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:imagecaption_position',
-                       'config' => Array (
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_titleText',
+                       'config' => array(
+                               'type' => 'text',
+                               'cols' => '30',
+                               'rows' => '3',
+                       ),
+               ),
+               'longdescURL' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_longdescURL',
+                       'config' => array(
+                               'type' => 'text',
+                               'cols' => '30',
+                               'rows' => '3',
+                       ),
+               ),
+               'cols' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:cols',
+                       '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' => ''
-                       )
-               ),
-               '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 (
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml: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.xml:LGL.startingpoint',
+                       'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
-                                       'allowed' => 'pages',
+                               '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 (      
-                               ),
-                               'default' => '0'
-                       )
-               ),
-               'select_key' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:lang/locallang_general.php:LGL.code',
-                       'config' => Array (
-                               'type' => 'input',              
-                               'size' => '20',
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
+               ),
+               'recursive' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.recursive',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:recursive.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:recursive.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:recursive.I.3',
+                                               '3',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:recursive.I.4',
+                                               '4',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:recursive.I.5',
+                                               '250',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'menu_type' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:menu_type',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.0',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.2',
+                                               '4',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.3',
+                                               '7',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.4',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.5',
+                                               '3',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.6',
+                                               '5',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.7',
+                                               '6',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'list_type' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:list_type',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '',
+                                               '',
+                                       ),
+                               ),
+                               'default' => '',
+                               'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
+                               'iconsInOptionTags' => 1,
+                               'noIconsBelowSelect' => 1,
+                       ),
+               ),
+               'select_key' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.code',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '50',
                                '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',      
+                               'eval' => 'trim',
+                       ),
+               ),
+               'table_bgColor' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.3',
+                                               '200',
+                                       ),
+                                       array(
+                                               '-----',
+                                               '--div--',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.5',
+                                               '240',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.6',
+                                               '241',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.7',
+                                               '242',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.8',
+                                               '243',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.9',
+                                               '244',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'table_border' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_border',
+                       'config' => array(
+                               'type' => 'input',
                                'size' => '3',
                                'max' => '3',
                                'eval' => 'int',
                                'checkbox' => '0',
-                               'range' => Array (
+                               'range' => array(
                                        'upper' => '20',
-                                       'lower' => '0'
+                                       'lower' => '0',
                                ),
-                               'default' => 0
-                       )
+                               'default' => 0,
+                       ),
                ),
-               'table_cellspacing' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellspacing',
-                       'config' => Array (
-                               'type' => 'input',      
+               'table_cellspacing' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellspacing',
+                       'config' => array(
+                               'type' => 'input',
                                'size' => '3',
                                'max' => '3',
                                'eval' => 'int',
                                'checkbox' => '0',
-                               'range' => Array (
+                               'range' => array(
                                        'upper' => '200',
-                                       'lower' => '0'
+                                       'lower' => '0',
                                ),
-                               'default' => 0
-                       )
+                               'default' => 0,
+                       ),
                ),
-               'table_cellpadding' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:table_cellpadding',
-                       'config' => Array (
-                               'type' => 'input',      
+               'table_cellpadding' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellpadding',
+                       'config' => array(
+                               'type' => 'input',
                                'size' => '3',
                                'max' => '3',
                                'eval' => 'int',
                                'checkbox' => '0',
-                               'range' => Array (
+                               'range' => array(
                                        'upper' => '200',
-                                       'lower' => '0'
+                                       'lower' => '0',
                                ),
-                               'default' => 0
-                       )
+                               'default' => 0,
+                       ),
                ),
-               'media' => Array (
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:media',
-                       'config' => Array (
+               'media' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:media',
+                       'config' => array(
                                'type' => 'group',
                                'internal_type' => 'file',
                                'allowed' => '',        // Must be empty for disallowed to work.
-                               'disallowed' => 'php,php3',
-                               'max_size' => '10000',
+                               'disallowed' => PHP_EXTENSIONS_DEFAULT,
+                               'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
                                'uploadfolder' => 'uploads/media',
                                'show_thumbs' => '1',
                                'size' => '3',
                                'maxitems' => '10',
-                               'minitems' => '0'
-                       )
+                               'minitems' => '0',
+                       ),
                ),
-               'multimedia' => Array (
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:multimedia',
-                       'config' => Array (
+               'multimedia' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml: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' => '10000',
+                               'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v',
+                               '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 (
+                               'minitems' => '0',
+                       ),
+               ),
+               'filelink_size' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:filelink_size',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:filelink_size.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'records' => array(
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml: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',
+                               'show_thumbs' => '1',
+                               'wizards' => array(
+                                       'suggest' => array(
+                                               'type' => 'suggest',
+                                       ),
+                               ),
+                       ),
+               ),
+               'spaceBefore' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceBefore',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '5',
+                               'max' => '5',
                                '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',
+                               'range' => array(
+                                       'lower' => '0',
+                               ),
+                               'default' => 0,
+                       ),
+               ),
+               'spaceAfter' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceAfter',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '5',
+                               'max' => '5',
                                '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 (
+                               'range' => array(
+                                       'lower' => '0',
+                               ),
+                               'default' => 0,
+                       ),
+               ),
+               'section_frame' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:section_frame',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               '',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.2',
+                                               '5',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.3',
+                                               '6',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.4',
+                                               '10',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.5',
+                                               '11',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.6',
+                                               '12',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.7',
+                                               '20',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.8',
+                                               '21',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'splash_layout' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:splash_layout',
+                       'config' => array(
+                               'type' => 'select',
+                               'items' => array(
+                                       array(
+                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               '0',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.1',
+                                               '1',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.2',
+                                               '2',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.3',
+                                               '3',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.4',
+                                               '--div--',
+                                       ),
+                                       array(
+                                               'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.5',
+                                               '20',
+                                       ),
+                               ),
+                               'default' => '0',
+                       ),
+               ),
+               'sectionIndex' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:sectionIndex',
+                       'config' => array(
+                               'type' => 'check',
+                               'default' => 1,
+                               'items' => array (
+                                       '1'     => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:sectionIndex.I.0',
+                                       ),
+                               ),
+                       ),
+               ),
+               'linkToTop' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:linkToTop',
+                       'config' => array(
                                'type' => 'check',
-                               'default' => 1
-                       )
+                               'items' => array(
+                                       '1' => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:linkToTop.I.0',
+                                       ),
+                               ),
                ),
-               'linkToTop' => Array (
-                       'exclude' => 1, 
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:linkToTop',
-                       'config' => Array (
-                               'type' => 'check'
-                       )
                ),
-               'rte_enabled' => Array (
+               'rte_enabled' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:rte_enabled',
-                       'config' => Array (
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled',
+                       'config' => array(
                                'type' => 'check',
-                               'showIfRTE' => 1
-                       )
+                               'showIfRTE' => 1,
+                               'items' => array(
+                                       '1' => array(
+                                               '0' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled.I.0',
+                                       ),
+                               ),
+                       ),
                ),
                'pi_flexform' => array(
-                       'label' => 'LLL:EXT:cms/locallang_ttc.php:pi_flexform',
-                       'config' => Array (
+                       'l10n_display' => 'hideDiff',
+                       'label' => 'LLL:EXT:cms/locallang_ttc.xml:pi_flexform',
+                       'config' => array(
                                'type' => 'flex',
-                               'ds_pointerField' => 'list_type',
+                               'ds_pointerField' => 'list_type,CType',
                                'ds' => array(
                                        'default' => '
                                                <T3DataStructure>
@@ -887,86 +1631,439 @@ $TCA['tt_content'] = Array (
                                                  </ROOT>
                                                </T3DataStructure>
                                        ',
-                               )
-                       )
+                                       ',media' => file_get_contents(t3lib_extMgm::extPath('cms') . 'flexform_media.xml'),
+                               ),
+                       ),
+               ),
+               'tx_impexp_origuid' => array(
+                       'config'=>array(
+                               'type'=>'passthrough',
+                       ),
+               ),
+               'l18n_diffsource' => array(
+                       'config'=>array(
+                               'type'=>'passthrough',
+                       ),
+               ),
+               't3ver_label' => array(
+                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => '30',
+                               'max' => '255',
+                       ),
                ),
-               'tx_impexp_origuid' => Array('config'=>array('type'=>'passthrough')),
        ),
-       '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[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[flag=rte_enabled|mode=ts];3-3-3, rte_enabled, text_properties'),
-               'textpic' =>    Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, bodytext;;9;richtext[paste|bold|italic|underline|formatblock|class|left|center|right|orderedlist|unorderedlist|outdent|indent|link|image]:rte_transform[flag=rte_enabled|mode=ts];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'),
-               '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'),
-               '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(
-                                                               '3' => 'layout',
-//                                                             '4' => 'layout',        // List type forum
-                                                               '2' => 'layout',
-                                                               '5' => 'layout',
-                                                               '9' => 'layout',
-                                                               '0' => 'layout',
-                                                               '6' => 'layout',
-                                                               '7' => 'layout',
-                                                               '1' => 'layout',
-                                                               '8' => 'layout',
-                                                               'indexed_search' => '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')
+       'types' => array(
+               '1' =>  array(
+                       'showitem' => 'CType',
+               ),
+               'header' =>     array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.headers;headers,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'text' =>               array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
+                                       rte_enabled;LLL:EXT:cms/locallang_ttc.xml:rte_enabled_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'textpic' =>    array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       bodytext;Text;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
+                                       rte_enabled;LLL:EXT:cms/locallang_ttc.xml:rte_enabled_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagefiles;imagefiles,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagelinks;imagelinks,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_accessibility;image_accessibility,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imageblock;imageblock,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'image' =>              array(
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images,
+                                       --palette--;LLL:EXT:cms/locallang.xml:palette.imagefiles;imagefiles,
+                                       --palette--;LLL:EXT:cms/locallang.xml:palette.imagelinks;imagelinks,
+                                       --palette--;LLL:EXT:cms/locallang.xml:palette.image_accessibility;image_accessibility,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imageblock;imageblock,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'bullets' =>    array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.bulletlist_formlabel;;nowrap,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'table' =>              array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.table_formlabel;;nowrap:wizards[table],
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;Table layout;tablelayout,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'splash' =>     array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textbox;textbox,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'uploads' =>    array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:media;uploads,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                                       --palette--;Filelinks layout;uploadslayout,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'multimedia' => array(
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.multimediafiles;multimediafiles,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'media' =>      array(
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media,
+                                       pi_flexform; ;,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.media_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'script' =>             array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.script_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.script,
+                                       select_key;LLL:EXT:cms/locallang_ttc.xml:select_key.ALT.script_formlabel,
+                                       pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.script_formlabel,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.script_formlabel;;nowrap,
+                                       imagecaption;LLL:EXT:cms/locallang_ttc.xml:imagecaption.ALT.script_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'menu' =>               array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.menu;menu,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'mailform' =>   array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.mailform_formlabel;;nowrap:wizards[forms],
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.mailform;mailform,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'search' =>     array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.searchform;searchform,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'login' =>              array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.loginform;loginform,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'shortcut' =>   array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.shortcut_formlabel,
+                                       records;LLL:EXT:cms/locallang_ttc.xml:records_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'list' =>               array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.plugin,
+                                       list_type;LLL:EXT:cms/locallang_ttc.xml:list_type_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
+                                       select_key;LLL:EXT:cms/locallang_ttc.xml:select_key_formlabel,
+                                       pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.list_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+                       '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' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.div_formlabel,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
+               'html' =>               array(
+                       'showitem' =>
+                                       '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
+                                       header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.html_formlabel,
+                                       bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.html_formlabel;;nowrap,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
+                                       --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
+                               --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
+               ),
        ),
-       'palettes' => Array (
-               '1' => Array('showitem' => 'hidden, starttime, endtime, 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, 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, colPos')
-       )
-);
 
+       'palettes' => array(
+               '1' => array(
+                       'showitem' => 'starttime, endtime',
+               ),
+               '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',
+               ),
+               '5' => array(
+                       'showitem' => 'imagecaption_position',
+               ),
+               '6' => array(
+                       'showitem' => 'imagewidth,image_link',
+               ),
+               '7' => array(
+                       'showitem' => 'image_link, image_zoom','canNotCollapse' => 1,
+               ),
+               '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','canNotCollapse' => 1,
+               ),
+               '12' => array(
+                       'showitem' => 'recursive',
+               ),
+               '13' => array(
+                       'showitem' => 'imagewidth, imageheight','canNotCollapse' => 1,
+               ),
+               '14' => array(
+                       'showitem' => 'sys_language_uid, l18n_parent, colPos',
+               ),
+               'general' => array(
+                       'showitem' => 'CType;LLL:EXT:cms/locallang_ttc.xml:CType_formlabel, colPos;LLL:EXT:cms/locallang_ttc.xml:colPos_formlabel, sys_language_uid;LLL:EXT:cms/locallang_ttc.xml:sys_language_uid_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'header' => array(
+                       'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xml:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xml:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xml:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xml:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'headers' => array(
+                       'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xml:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xml:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xml:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xml:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel, --linebreak--, subheader;LLL:EXT:cms/locallang_ttc.xml:subheader_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'imagefiles' => array(
+                       'showitem' => 'image;LLL:EXT:cms/locallang_ttc.xml:image_formlabel, imagecaption;LLL:EXT:cms/locallang_ttc.xml:imagecaption_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'multimediafiles' => array(
+                       'showitem' => 'multimedia;LLL:EXT:cms/locallang_ttc.xml:multimedia_formlabel, bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.multimedia_formlabel;;nowrap',
+                       'canNotCollapse' => 1,
+               ),
+               'textbox' => array(
+                       'showitem' => 'splash_layout;LLL:EXT:cms/locallang_ttc.xml:splash_layout_formlabel, image;LLL:EXT:cms/locallang_ttc.xml:image.ALT.textbox_formlabel, --linebreak--, bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.textbox_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'imagelinks' => array(
+                       'showitem' => 'image_zoom;LLL:EXT:cms/locallang_ttc.xml:image_zoom_formlabel, image_link;LLL:EXT:cms/locallang_ttc.xml:image_link_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'image_accessibility' => array(
+                       'showitem' => 'altText;LLL:EXT:cms/locallang_ttc.xml:altText_formlabel, titleText;LLL:EXT:cms/locallang_ttc.xml:titleText_formlabel, --linebreak--, longdescURL;LLL:EXT:cms/locallang_ttc.xml:longdescURL_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'image_settings' => array(
+                       'showitem' => 'imagewidth;LLL:EXT:cms/locallang_ttc.xml:imagewidth_formlabel, imageheight;LLL:EXT:cms/locallang_ttc.xml:imageheight_formlabel, imageborder;LLL:EXT:cms/locallang_ttc.xml:imageborder_formlabel, --linebreak--, image_compression;LLL:EXT:cms/locallang_ttc.xml:image_compression_formlabel, image_effects;LLL:EXT:cms/locallang_ttc.xml:image_effects_formlabel, image_frames;LLL:EXT:cms/locallang_ttc.xml:image_frames_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'imageblock' => array(
+                       'showitem' => 'imageorient;LLL:EXT:cms/locallang_ttc.xml:imageorient_formlabel, imagecols;LLL:EXT:cms/locallang_ttc.xml:imagecols_formlabel, --linebreak--, image_noRows;LLL:EXT:cms/locallang_ttc.xml:image_noRows_formlabel, imagecaption_position;LLL:EXT:cms/locallang_ttc.xml:imagecaption_position_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'uploads' => array(
+                       'showitem' => 'select_key;LLL:EXT:cms/locallang_ttc.xml:select_key.ALT.uploads_formlabel, --linebreak--, media;LLL:EXT:cms/locallang_ttc.xml:media.ALT.uploads_formlabel, imagecaption;LLL:EXT:cms/locallang_ttc.xml:imagecaption.ALT.uploads_formlabel;;nowrap',
+                       'canNotCollapse' => 1,
+               ),
+               'mailform' => array(
+                       'showitem' => 'pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.forms, --linebreak--, subheader;LLL:EXT:cms/locallang_ttc.xml:subheader.ALT.mailform_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'searchform' => array(
+                       'showitem' => 'pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.searchform',
+                       'canNotCollapse' => 1,
+               ),
+               'loginform' => array(
+                       'showitem' => 'pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.loginform',
+                       'canNotCollapse' => 1,
+               ),
+               'menu' => array(
+                       'showitem' => 'menu_type;LLL:EXT:cms/locallang_ttc.xml:menu_type_formlabel, --linebreak--, pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.menu_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'visibility' => array(
+                       'showitem' => 'hidden;LLL:EXT:cms/locallang_ttc.xml:hidden_formlabel, sectionIndex;LLL:EXT:cms/locallang_ttc.xml:sectionIndex_formlabel, linkToTop;LLL:EXT:cms/locallang_ttc.xml:linkToTop_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'access' => array(
+                       'showitem' => 'starttime;LLL:EXT:cms/locallang_ttc.xml:starttime_formlabel, endtime;LLL:EXT:cms/locallang_ttc.xml:endtime_formlabel, --linebreak--, fe_group;LLL:EXT:cms/locallang_ttc.xml:fe_group_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'frames' => array (
+                       'showitem' => 'layout;LLL:EXT:cms/locallang_ttc.xml:layout_formlabel, spaceBefore;LLL:EXT:cms/locallang_ttc.xml:spaceBefore_formlabel, spaceAfter;LLL:EXT:cms/locallang_ttc.xml:spaceAfter_formlabel, section_frame;LLL:EXT:cms/locallang_ttc.xml:section_frame_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'textlayout' => array (
+                       'showitem' => 'text_align;LLL:EXT:cms/locallang_ttc.xml:text_align_formlabel, text_face;LLL:EXT:cms/locallang_ttc.xml:text_face_formlabel, text_size;LLL:EXT:cms/locallang_ttc.xml:text_size_formlabel, text_color;LLL:EXT:cms/locallang_ttc.xml:text_color_formlabel, --linebreak--, text_properties;LLL:EXT:cms/locallang_ttc.xml:text_properties_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'tablelayout' => array (
+                       'showitem' => 'table_bgColor;LLL:EXT:cms/locallang_ttc.xml:table_bgColor_formlabel, table_border;LLL:EXT:cms/locallang_ttc.xml:table_border_formlabel, table_cellspacing;LLL:EXT:cms/locallang_ttc.xml:table_cellspacing_formlabel, table_cellpadding;LLL:EXT:cms/locallang_ttc.xml:table_cellpadding_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+               'uploadslayout' => array (
+                       'showitem' => 'filelink_size;LLL:EXT:cms/locallang_ttc.xml:filelink_size_formlabel',
+                       'canNotCollapse' => 1,
+               ),
+       ),
+);
 
 
-?>
+?>
\ No newline at end of file