TYPO3 CMS  TYPO3_8-7
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
11 $GLOBALS['PAGES_TYPES'] = [
12  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION => [
13  'allowedTables' => '*'
14  ],
15  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => [
16  // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
17  // In CMS context it's NOT a viewable page. Can contain any element.
18  'allowedTables' => '*'
19  ],
20  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => [
21  // Doktype 255 is a recycle-bin.
22  'allowedTables' => '*'
23  ],
24  'default' => [
25  'allowedTables' => 'pages,sys_category,sys_file_reference,sys_file_collection',
26  'onlyAllowedTables' => false
27  ],
28 ];
29 
38 $GLOBALS['TBE_MODULES'] = [
39  'web' => 'list',
40  'file' => '',
41  'user' => '',
42  'tools' => '',
43  'system' => '',
44  'help' => '',
45  '_configuration' => [
46  'web' => [
47  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_web.xlf',
48  'name' => 'web',
49  'iconIdentifier' => 'module-web'
50  ],
51  'file' => [
52  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_file.xlf',
53  'navigationFrameModule' => 'file_navframe',
54  'name' => 'file',
55  'workspaces' => 'online,custom',
56  'iconIdentifier' => 'module-file'
57  ],
58  'user' => [
59  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_usertools.xlf',
60  'name' => 'user',
61  'iconIdentifier' => 'status-user-backend'
62  ],
63  'tools' => [
64  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_admintools.xlf',
65  'name' => 'tools',
66  'iconIdentifier' => 'module-tools'
67  ],
68  'system' => [
69  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_system.xlf',
70  'name' => 'system',
71  'iconIdentifier' => 'module-system'
72  ],
73  'help' => [
74  'labels' => 'LLL:EXT:lang/Resources/Private/Language/locallang_mod_help.xlf',
75  'name' => 'help',
76  'iconIdentifier' => 'module-help'
77  ]
78  ]
79 ];
80 
81 // Register the page tree core navigation component
82 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', 'typo3-pagetree');
83 
90 $GLOBALS['TBE_STYLES'] = [];
91 
97 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:lang/Resources/Private/Language/locallang_csh_pages.xlf');
98 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/Resources/Private/Language/locallang_csh_be_users.xlf');
99 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:lang/Resources/Private/Language/locallang_csh_be_groups.xlf');
100 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:lang/Resources/Private/Language/locallang_csh_sysfilem.xlf');
101 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:lang/Resources/Private/Language/locallang_csh_syslang.xlf');
102 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:lang/Resources/Private/Language/locallang_csh_sysnews.xlf');
103 // General Core
104 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:lang/Resources/Private/Language/locallang_csh_corebe.xlf');
105 // Web > Info
106 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:lang/Resources/Private/Language/locallang_csh_web_info.xlf');
107 // Web > Func
108 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:lang/Resources/Private/Language/locallang_csh_web_func.xlf');
109 
110 if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
111  // extJS theme
112  $GLOBALS['TBE_STYLES']['extJS']['theme'] = 'EXT:core/Resources/Public/ExtJs/xtheme-t3skin.css';
113 }
$GLOBALS['TBE_STYLES']['skins']['backend']
Definition: ext_tables.php:5