[BUGFIX] Use BLOB type column for ses_data in be_sessions table
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 /**
5 * $GLOBALS['PAGES_TYPES'] defines the various types of pages (field: doktype) the system
6 * can handle and what restrictions may apply to them.
7 * Here you can define which tables are allowed on a certain pagetype (doktype)
8 * NOTE: The 'default' entry in the $GLOBALS['PAGES_TYPES'] array is the 'base' for all
9 * types, and for every type the entries simply overrides the entries in the 'default' type!
10 */
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
30 /**
31 * $TBE_MODULES contains the structure of the backend modules as they are
32 * arranged in main- and sub-modules. Every entry in this array represents a
33 * menu item on either first (key) or second level (value from list) in the
34 * left menu in the TYPO3 backend
35 * For information about adding modules to TYPO3 you should consult the
36 * documentation found in "Inside TYPO3"
37 */
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
84 /**
85 * $TBE_STYLES configures backend styles and colors; Basically this contains
86 * all the values that can be used to create new skins for TYPO3.
87 * For information about making skins to TYPO3 you should consult the
88 * documentation found in "Inside TYPO3"
89 */
90 $GLOBALS['TBE_STYLES'] = [];
91
92 /**
93 * Setting up $TCA_DESCR - Context Sensitive Help (CSH)
94 * For information about using the CSH API in TYPO3 you should consult the
95 * documentation found in "Inside TYPO3"
96 */
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 }