Example #1
0
        usort($parameters['items'], create_function('$item1,$item2', 'return strcasecmp($GLOBALS[\'LANG\']->sL($item1[0]),$GLOBALS[\'LANG\']->sL($item2[0]));'));
    }
}
$TCA['tt_content'] = array('ctrl' => $TCA['tt_content']['ctrl'], 'interface' => array('always_description' => 0, 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'), 'columns' => array('CType' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_ttc.xml:CType.div.standard', '--div--'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.0', 'header', 'i/tt_content_header.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.1', 'text', 'i/tt_content.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.2', 'textpic', 'i/tt_content_textpic.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.3', 'image', 'i/tt_content_image.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.div.lists', '--div--'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.4', 'bullets', 'i/tt_content_bullets.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.5', 'table', 'i/tt_content_table.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.6', 'uploads', 'i/tt_content_uploads.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.div.forms', '--div--'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.8', 'mailform', 'i/tt_content_form.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.I.9', 'search', 'i/tt_content_search.gif'), array('LLL:EXT:cms/locallang_ttc.xml:CType.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' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0'), 'l10n_mode' => 'exclude', 'l10n_display' => 'defaultAsReadonly'), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0', 'range' => array('upper' => mktime(0, 0, 0, 12, 31, 2020))), 'l10n_mode' => 'exclude', 'l10n_display' => 'defaultAsReadonly'), '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.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.default_value', '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/classes/class.tx_cms_backendlayout.php:TYPO3\\CMS\\Backend\\View\\BackendLayoutView->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' => '13', 'max' => '20', 'eval' => 'date', 'default' => '0')), 'header' => array('l10n_mode' => 'prefixLangTitle', 'l10n_cat' => 'text', 'label' => 'LLL:EXT:cms/locallang_ttc.xml:header', 'config' => array('type' => 'input', 'size' => '50', 'max' => '256')), 'header_position' => array('label' => 'LLL:EXT:cms/locallang_ttc.xml:header_position', 'exclude' => 1, 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', ''), 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', 'eval' => 'trim', 'wizards' => array('_PADDING' => 2, 'link' => array('type' => 'popup', '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')), '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.default_value', '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' => '50', 'max' => '256', 'softref' => 'email[subst]')), '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('_PADDING' => 4, '_VALIGN' => 'middle', 'RTE' => array('notNewRecords' => 1, 'RTEonly' => 1, 'type' => 'script', 'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.RTE', 'icon' => 'wizard_rte2.gif', 'script' => 'wizard_rte.php'), 'table' => array('notNewRecords' => 1, 'enableByTypeConfig' => 1, 'type' => 'script', 'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.table', 'icon' => 'wizard_table.gif', 'script' => 'wizard_table.php', 'params' => array('xmlOutput' => 0)), 'forms' => array('notNewRecords' => 1, 'enableByTypeConfig' => 1, 'type' => 'script', '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))), 'softref' => 'typolink_tag,images,email[subst],url', 'search' => array('andWhere' => 'CType=\'text\' OR CType=\'textpic\''))), '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('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.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' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('image', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'), 'foreign_types' => array('0' => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'), \TYPO3\CMS\Core\Resource\File::FILETYPE_SOFTWARE => array('showitem' => '
							--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
							--palette--;;filePalette'))), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])), 'imagewidth' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagewidth', 'config' => array('type' => 'input', 'size' => '4', 'max' => '4', 'eval' => 'int', 'range' => array('upper' => '999', 'lower' => '25'), 'default' => 0)), 'imageheight' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageheight', 'config' => array('type' => 'input', 'size' => '4', 'max' => '4', 'eval' => 'int', 'range' => array('upper' => '700', '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' => '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:lang/locallang_core.xml:labels.enabled')))), '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' => 'text', 'cols' => '30', 'rows' => '3', 'wizards' => array('_PADDING' => 2, 'link' => array('type' => 'popup', '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')), '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:lang/locallang_core.xml:labels.enabled')))), '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: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('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.xml:LGL.default_value', ''), 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')), 'titleText' => array('exclude' => 1, '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', 'wizards' => array('_PADDING' => 2, 'link' => array('type' => 'popup', 'title' => 'LLL:EXT:cms/locallang_ttc.xml:image_link_formlabel', 'icon' => 'link_popup.gif', 'script' => 'browse_links.php?mode=wizard', 'params' => array('blindLinkOptions' => 'folder,file,mail,spec', 'blindLinkFields' => 'target,title,class,params'), 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1')), 'softref' => 'typolink[linkList]')), 'cols' => array('label' => 'LLL:EXT:cms/locallang_ttc.xml:cols', 'config' => array('type' => 'select', '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', 'size' => '3', 'maxitems' => '22', 'minitems' => '0', '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('LLL:EXT:cms/locallang_ttc.xml:recursive.I.0', '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.8', '8'), 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('', '', '')), 'itemsProcFunc' => 'user_sortPluginList', '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.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', 'range' => array('upper' => '20', 'lower' => '0'), 'default' => 0)), 'table_cellspacing' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellspacing', 'config' => array('type' => 'input', 'size' => '3', 'max' => '3', 'eval' => 'int', 'range' => array('upper' => '200', 'lower' => '0'), 'default' => 0)), 'table_cellpadding' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellpadding', 'config' => array('type' => 'input', 'size' => '3', 'max' => '3', 'eval' => 'int', 'range' => array('upper' => '200', 'lower' => '0'), 'default' => 0)), 'media' => array('label' => 'LLL:EXT:cms/locallang_ttc.xml:media', 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('media', array('appearance' => array('createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference')))), 'file_collections' => array('label' => 'LLL:EXT:cms/locallang_ttc.xlf:file_collections', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'sys_file_collection')), '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,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.xml:filelink_size', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'filelink_sorting' => array('label' => 'LLL:EXT:cms/locallang_ttc.xml:filelink_sorting', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.none', ''), array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.extension', 'extension'), array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.name', 'name'), array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.type', 'type'), array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.size', 'size')))), 'target' => array('label' => 'LLL:EXT:cms/locallang_ttc.xml:target', 'config' => array('type' => 'input', 'size' => 20, 'eval' => 'trim', 'wizards' => array('target_picker' => array('type' => 'select', 'mode' => '', 'items' => array(array('LLL:EXT:cms/locallang_ttc.xml:target.I.1', '_blank')))), 'default' => '')), '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', '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', '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', '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:lang/locallang_core.xml:labels.enabled')))), 'linkToTop' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:linkToTop', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'rte_enabled' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled', 'config' => array('type' => 'check', 'showIfRTE' => 1, 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled.I.0')))), 'pi_flexform' => array('l10n_display' => 'hideDiff', 'label' => 'LLL:EXT:cms/locallang_ttc.xml:pi_flexform', 'config' => array('type' => 'flex', 'ds_pointerField' => 'list_type,CType', 'ds' => array('default' => '
						<T3DataStructure>
						  <ROOT>
						    <type>array</type>
						    <el>
								<!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely  -->
						      <xmlTitle>
								<TCEforms>
									<label>The Title:</label>
									<config>
										<type>input</type>
										<size>48</size>
									</config>
								</TCEforms>
						      </xmlTitle>
						    </el>
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA['sys_file_collection'] = array('ctrl' => $TCA['sys_file_collection']['ctrl'], 'interface' => array('showRecordFieldList' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,starttime,endtime,files,title'), 'feInterface' => $TCA['sys_file_collection']['feInterface'], 'columns' => array('t3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => '30', 'max' => '30')), '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.xml:LGL.allLanguages', -1), array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0)))), 'l10n_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' => 'sys_file_collection', 'foreign_table_where' => 'AND sys_file_collection.pid=###CURRENT_PID### AND sys_file_collection.sys_language_uid IN (-1,0)')), 'l10n_diffsource' => array('config' => array('type' => 'passthrough')), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', 'config' => array('type' => 'check', 'default' => '0')), 'starttime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 'config' => array('type' => 'input', 'size' => '8', 'max' => '20', 'eval' => 'date', 'default' => '0', 'checkbox' => '0')), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 'config' => array('type' => 'input', 'size' => '8', 'max' => '20', 'eval' => 'date', 'checkbox' => '0', 'default' => '0', 'range' => array('upper' => mktime(3, 14, 7, 1, 19, 2038), 'lower' => mktime(0, 0, 0, date('m') - 1, date('d'), date('Y'))))), 'type' => array('exclude' => 0, 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.type', 'config' => array('type' => 'select', 'items' => array(array('Static selection of files', 'static'), array('Folder from Storage', 'folder')))), 'files' => array('exclude' => 0, 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.files', 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('files')), 'title' => array('exclude' => 0, 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.title', 'config' => array('type' => 'input', 'size' => '30', 'eval' => 'required')), 'storage' => array('exclude' => 0, 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.storage', 'config' => array('type' => 'select', 'items' => array(array('', 0)), 'foreign_table' => 'sys_file_storage', 'foreign_table_where' => 'ORDER BY sys_file_storage.name', 'size' => 1, 'minitems' => 0, 'maxitems' => 1)), 'folder' => array('exclude' => 0, 'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_collection.folder', 'config' => array('type' => 'select', 'items' => array(), 'itemsProcFunc' => 'typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php:TYPO3\\CMS\\Core\\Resource\\Service\\UserFileMountService->renderTceformsSelectDropdown'))), 'types' => array('0' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, files'), 'static' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, files'), 'folder' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, storage, folder')), 'palettes' => array('1' => array('showitem' => 'hidden, starttime, endtime')));
Example #3
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$TCA['pages'] = array('ctrl' => $TCA['pages']['ctrl'], 'interface' => array('showRecordFieldList' => 'doktype,title,alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout,cache_tags,backend_layout,backend_layout_next_level', 'maxDBListItems' => 30, 'maxSingleDBListItems' => 50), 'columns' => array('doktype' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.page', '--div--'), array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT, 'i/pages.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.4', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION, 'i/be_users_section.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.link', '--div--'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.2', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT, 'i/pages_shortcut.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.5', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT, 'i/pages_mountpoint.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.8', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK, 'i/pages_link.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.special', '--div--'), array('LLL:EXT:lang/locallang_tca.xml:doktype.I.folder', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER, 'i/sysf.gif'), array('LLL:EXT:lang/locallang_tca.xml:doktype.I.2', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER, 'i/recycler.gif'), array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.7', (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER, 'i/spacer_icon.gif')), 'default' => (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT, 'iconsInOptionTags' => 1, 'noIconsBelowSelect' => 1)), 'title' => array('label' => 'LLL:EXT:lang/locallang_tca.php:title', 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim,required')), 'TSconfig' => array('exclude' => 1, 'label' => 'TSconfig:', 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '5', 'wizards' => array('_PADDING' => 4, '0' => array('type' => \TYPO3\CMS\Core\Extension\ExtensionManager::isLoaded('tsconfig_help') ? 'popup' : '', 'title' => 'TSconfig QuickReference', 'script' => 'wizard_tsconfig.php?mode=page', 'icon' => 'wizard_tsconfig.gif', 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1')), 'softref' => 'TSconfig'), 'defaultExtras' => 'fixed-font : enable-tab'), 'php_tree_stop' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_tca.php:php_tree_stop', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'storage_pid' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_tca.php:storage_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'TYPO3\\CMS\\Impexp\\ImportExport_origuid' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => '23', 'max' => '255')), 'editlock' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_tca.php:editlock', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden', 'config' => array('type' => 'check', 'default' => '1', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden_checkbox_1_formlabel')))), 'starttime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0')), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0', 'range' => array('upper' => mktime(0, 0, 0, 12, 31, 2020)))), '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.default_value', '0'), array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.1', '1'), array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.2', '2'), array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.3', '3')), 'default' => '0')), 'url_scheme' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url_scheme', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.url_scheme.http', 1), array('LLL:EXT:cms/locallang_tca.xml:pages.url_scheme.https', 2)), 'default' => 0)), 'fe_group' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', 'config' => array('type' => 'select', 'size' => 7, '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')), 'extendToSubpages' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.extendToSubpages', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'nav_title' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_title', 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim')), 'nav_hide' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_hide', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_hide_checkbox_1_formlabel')))), 'subtitle' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.subtitle', 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => '')), 'target' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.target', 'config' => array('type' => 'input', 'size' => '50', 'max' => '80', 'eval' => 'trim')), 'alias' => array('displayCond' => 'VERSION:IS:false', 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.alias', 'config' => array('type' => 'input', 'size' => '50', 'max' => '32', 'eval' => 'nospace,alphanum_x,lower,unique', 'softref' => 'notify')), 'url' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url', 'config' => array('type' => 'input', 'size' => '23', 'max' => '255', 'eval' => 'trim,required', 'softref' => 'url')), 'urltype' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:lang/locallang_core.xml:labels.automatic', '0'), array('http://', '1'), array('https://', '4'), array('ftp://', '2'), array('mailto:', '3')), 'default' => '1')), 'lastUpdated' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.lastUpdated', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0')), 'newUntil' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.newUntil', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'date', 'default' => '0')), 'cache_timeout' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.1', 60), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.2', 300), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.3', 900), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.4', 1800), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.5', 3600), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.6', 14400), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.7', 86400), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.8', 172800), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.9', 604800), array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.10', 2678400)), 'default' => '0')), 'cache_tags' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.cache_tags', 'config' => array('type' => 'input', 'size' => '30', 'max' => '255', 'eval' => '')), 'no_cache' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_cache', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_cache_checkbox_1_formlabel')))), 'no_search' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_search', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_search_checkbox_1_formlabel')))), 'shortcut' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'shortcut_mode' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.0', \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_NONE), array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.1', \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_FIRST_SUBPAGE), array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.2', \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_RANDOM_SUBPAGE), array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.3', \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_PARENT_PAGE)), 'default' => '0')), 'content_from_pid' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:pages.content_from_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'mount_pid' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'keywords' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.keywords', 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'description' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description', 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'abstract' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.abstract', 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'author' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.author', 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80')), 'author_email' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email', 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80', 'softref' => 'email[subst]')), 'media' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.media', 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('media')), 'is_siteroot' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.is_siteroot', 'config' => array('type' => 'check', 'items' => array('1' => array('0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled')))), 'mount_pid_ol' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol', 'config' => array('type' => 'radio', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol.I.0', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol.I.1', 1)))), 'module' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.module', 'config' => array('type' => 'select', 'items' => array(array('', '', ''), array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.4', 'fe_users', 'i/fe_users.gif')), 'default' => '', 'iconsInOptionTags' => 1, 'noIconsBelowSelect' => 1)), 'fe_login_mode' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.enable', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableAll', 1), array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableGroups', 3), array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.enableAgain', 2)))), 'l18n_cfg' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg', 'config' => array('type' => 'check', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.1', ''), array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2', '')))), 'backend_layout' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout_formlabel', 'config' => array('type' => 'select', 'foreign_table' => 'backend_layout', 'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( backend_layout.pid = ###PAGE_TSCONFIG_ID### OR backend_layout.pid = ###STORAGE_PID### ) OR ( ###PAGE_TSCONFIG_ID### = 0 AND backend_layout.pid = ###THIS_UID### ) ) AND backend_layout.hidden = 0', 'items' => array(array('', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.backend_layout.none', -1)), 'selicon_cols' => 5, 'size' => 1, 'maxitems' => 1, 'default' => '')), 'backend_layout_next_level' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.backend_layout_next_level_formlabel', 'config' => array('type' => 'select', 'foreign_table' => 'backend_layout', 'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( backend_layout.pid = ###PAGE_TSCONFIG_ID### OR backend_layout.pid = ###STORAGE_PID### ) OR ( ###PAGE_TSCONFIG_ID### = 0 AND backend_layout.pid = ###THIS_UID### ) ) AND backend_layout.hidden = 0', 'items' => array(array('', 0), array('LLL:EXT:cms/locallang_tca.xml:pages.backend_layout.none', -1)), 'selicon_cols' => 5, 'size' => 1, 'maxitems' => 1, 'default' => ''))), 'types' => array((string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array('showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;visibility,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.metatags;metatags,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.appearance,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.layout;layout,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.replace;replace,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.behaviour,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.links;links,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.caching;caching,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.language;language,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.miscellaneous;miscellaneous,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.module;module,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.storage;storage,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.config;config,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
		'), (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array('showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.external;external,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
Example #4
0
			--div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
			--div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.access, starttime, endtime,
			--div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.extended

		')), 'palettes' => array('1' => array('showitem' => 'title'), '2' => array('showitem' => 'first_name,--linebreak--,middle_name,--linebreak--,last_name')));
// fe_groups
// FrontEnd usergroups - Membership of these determines access to elements
$TCA['fe_groups'] = array('ctrl' => $TCA['fe_groups']['ctrl'], 'interface' => array('showRecordFieldList' => 'title,hidden,subgroup,lockToDomain,description'), 'columns' => array('hidden' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 'exclude' => 1, 'config' => array('type' => 'check', 'default' => '0')), 'title' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.title', 'config' => array('type' => 'input', 'size' => '20', 'max' => '50', 'eval' => 'trim,required')), 'subgroup' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.subgroup', 'config' => array('type' => 'select', 'foreign_table' => 'fe_groups', 'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title', 'size' => 6, 'autoSizeMax' => 10, 'minitems' => 0, 'maxitems' => 20)), 'lockToDomain' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.lockToDomain', 'config' => array('type' => 'input', 'size' => '20', 'eval' => 'trim', 'max' => '50')), 'description' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description', 'config' => array('type' => 'text', 'rows' => 5, 'cols' => 48)), 'TSconfig' => array('exclude' => 1, 'label' => 'TSconfig:', 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '10', 'wizards' => array('_PADDING' => 4, '0' => array('title' => 'TSconfig QuickReference', 'script' => 'wizard_tsconfig.php?mode=fe_users', 'icon' => 'wizard_tsconfig.gif', 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1')), 'softref' => 'TSconfig'), 'defaultExtras' => 'fixed-font : enable-tab')), 'types' => array('0' => array('showitem' => '
			hidden;;;;1-1-1,title;;;;2-2-2,description,subgroup;;;;3-3-3,
			--div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
			--div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.extended
		')));
// sys_domain
$TCA['sys_domain'] = array('ctrl' => $TCA['sys_domain']['ctrl'], 'interface' => array('showRecordFieldList' => 'hidden,domainName,redirectTo'), 'columns' => array('domainName' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.domainName', 'config' => array('type' => 'input', 'size' => '35', 'max' => '80', 'eval' => 'required,unique,lower,trim,domainname', 'softref' => 'substitute')), 'redirectTo' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectTo', 'config' => array('type' => 'input', 'size' => '35', 'max' => '255', 'default' => '', 'eval' => 'trim', 'softref' => 'substitute')), 'redirectHttpStatusCode' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode', 'config' => array('type' => 'select', 'items' => array(array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.301', '301'), array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.302', '302'), array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.303', '303'), array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.307', '307')), 'size' => 1, 'maxitems' => 1)), 'hidden' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable', 'exclude' => 1, 'config' => array('type' => 'check', 'default' => '0')), 'prepend_params' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.prepend_params', 'exclude' => 1, 'config' => array('type' => 'check', 'default' => '0')), 'forced' => array('label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.forced', 'exclude' => 1, 'config' => array('type' => 'check', 'default' => '1'))), 'types' => array('1' => array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params,forced;;;;4-4-4')), 'palettes' => array('1' => array('showitem' => 'redirectTo, redirectHttpStatusCode')));
// pages_language_overlay
$TCA['pages_language_overlay'] = array('ctrl' => $TCA['pages_language_overlay']['ctrl'], 'interface' => array('showRecordFieldList' => 'title,hidden,starttime,endtime,keywords,description,abstract'), 'columns' => array('doktype' => $TCA['pages']['columns']['doktype'], 'hidden' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden', 'config' => array('type' => 'check', 'default' => '0', 'items' => array('1' => array('0' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden_checkbox_1_formlabel')))), 'starttime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0')), 'endtime' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', 'config' => array('type' => 'input', 'size' => '13', 'max' => '20', 'eval' => 'datetime', 'default' => '0', 'range' => array('upper' => mktime(0, 0, 0, 12, 31, 2020)))), 'title' => array('l10n_mode' => 'prefixLangTitle', 'label' => $TCA['pages']['columns']['title']['label'], 'l10n_cat' => 'text', 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim,required')), 'subtitle' => array('exclude' => 1, 'l10n_cat' => 'text', 'label' => $TCA['pages']['columns']['subtitle']['label'], 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim')), 'nav_title' => array('exclude' => 1, 'l10n_cat' => 'text', 'label' => $TCA['pages']['columns']['nav_title']['label'], 'config' => array('type' => 'input', 'size' => '50', 'max' => '255', 'eval' => 'trim')), 'keywords' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['keywords']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'description' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['description']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'abstract' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['abstract']['label'], 'config' => array('type' => 'text', 'cols' => '40', 'rows' => '3')), 'author' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['author']['label'], 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80')), 'author_email' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['author_email']['label'], 'config' => array('type' => 'input', 'size' => '23', 'eval' => 'trim', 'max' => '80', 'softref' => 'email[subst]')), 'media' => array('exclude' => 1, 'label' => $TCA['pages']['columns']['media']['label'], 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('media')), 'url' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url', 'config' => array('type' => 'input', 'size' => '23', 'max' => '255', 'eval' => 'trim', 'softref' => 'url')), 'urltype' => array('exclude' => 1, 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type', 'config' => array('type' => 'select', 'items' => $TCA['pages']['columns']['urltype']['config']['items'], 'default' => '1')), 'shortcut' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page', 'config' => array('type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', 'size' => '1', 'maxitems' => '1', 'minitems' => '0', 'show_thumbs' => '1', 'wizards' => array('suggest' => array('type' => 'suggest')))), 'shortcut_mode' => array('exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode', 'config' => array('type' => 'select', 'items' => $TCA['pages']['columns']['shortcut_mode']['config']['items'], 'default' => '0')), 'sys_language_uid' => array('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.xml:LGL.default_value', 0)))), 'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')), 'l18n_diffsource' => array('config' => array('type' => 'passthrough')), 't3ver_label' => array('label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel', 'config' => array('type' => 'input', 'size' => '30', 'max' => '255'))), 'types' => array((string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array('showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.metatags;metatags,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
		'), (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array('showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.external;external,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
				--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
					--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,