TYPO3 CMS  TYPO3_7-6
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
12 $GLOBALS['PAGES_TYPES'] = [
13  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => [],
14  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => [],
15  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION => [
16  'type' => 'web',
17  'allowedTables' => '*'
18  ],
19  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => [],
20  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => [
21  'type' => 'sys'
22  ],
23  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => [
24  // Doktype 254 is a 'Folder' - a general purpose storage folder for whatever you like.
25  // In CMS context it's NOT a viewable page. Can contain any element.
26  'type' => 'sys',
27  'allowedTables' => '*'
28  ],
29  (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => [
30  // Doktype 255 is a recycle-bin.
31  'type' => 'sys',
32  'allowedTables' => '*'
33  ],
34  'default' => [
35  'type' => 'web',
36  'allowedTables' => 'pages',
37  'onlyAllowedTables' => '0'
38  ],
39 ];
40 
41 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_category,sys_file_reference,sys_file_collection');
42 
51 $GLOBALS['TBE_MODULES'] = [
52  'web' => 'list',
53  'file' => '',
54  'user' => '',
55  'tools' => '',
56  'system' => '',
57  'help' => '',
58  '_configuration' => [
59  'web' => [
60  'labels' => [
61  'll_ref' => 'LLL:EXT:lang/locallang_mod_web.xlf'
62  ],
63  'name' => 'web',
64  'iconIdentifier' => 'module-web'
65  ],
66  'file' => [
67  'labels' => [
68  'll_ref' => 'LLL:EXT:lang/locallang_mod_file.xlf'
69  ],
70  'navigationFrameModule' => 'file_navframe',
71  'name' => 'file',
72  'workspaces' => 'online,custom',
73  'iconIdentifier' => 'module-file'
74  ],
75  'user' => [
76  'labels' => [
77  'll_ref' => 'LLL:EXT:lang/locallang_mod_usertools.xlf'
78  ],
79  'name' => 'user',
80  'iconIdentifier' => 'status-user-backend'
81  ],
82  'tools' => [
83  'labels' => [
84  'll_ref' => 'LLL:EXT:lang/locallang_mod_admintools.xlf'
85  ],
86  'name' => 'tools',
87  'iconIdentifier' => 'module-tools'
88  ],
89  'system' => [
90  'labels' => [
91  'll_ref' => 'LLL:EXT:lang/locallang_mod_system.xlf'
92  ],
93  'name' => 'system',
94  'iconIdentifier' => 'module-system'
95  ],
96  'help' => [
97  'labels' => [
98  'll_ref' => 'LLL:EXT:lang/locallang_mod_help.xlf'
99  ],
100  'name' => 'help',
101  'iconIdentifier' => 'module-help'
102  ]
103  ]
104 ];
105 
106 // Register the page tree core navigation component
107 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('web', 'typo3-pagetree');
108 
115 $GLOBALS['TBE_STYLES'] = [
116  'skinImg' => []
117 ];
118 
124 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:lang/locallang_csh_pages.xlf');
125 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:lang/locallang_csh_be_users.xlf');
126 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_groups', 'EXT:lang/locallang_csh_be_groups.xlf');
127 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_filemounts', 'EXT:lang/locallang_csh_sysfilem.xlf');
128 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_language', 'EXT:lang/locallang_csh_syslang.xlf');
129 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_news', 'EXT:lang/locallang_csh_sysnews.xlf');
130 // General Core
131 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('xMOD_csh_corebe', 'EXT:lang/locallang_csh_corebe.xlf');
132 // Web > Info
133 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:lang/locallang_csh_web_info.xlf');
134 // Web > Func
135 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:lang/locallang_csh_web_func.xlf');
136 
140 $GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = [
141  'actions-document-close',
142  'actions-document-duplicates-select',
143  'actions-document-edit-access',
144  'actions-document-export-csv',
145  'actions-document-export-t3d',
146  'actions-document-history-open',
147  'actions-document-import-t3d',
148  'actions-document-info',
149  'actions-document-localize',
150  'actions-document-move',
151  'actions-document-new',
152  'actions-document-open',
153  'actions-document-open-read-only',
154  'actions-document-paste-after',
155  'actions-document-paste-into',
156  'actions-document-save',
157  'actions-document-save-cleartranslationcache',
158  'actions-document-save-close',
159  'actions-document-save-new',
160  'actions-document-save-translation',
161  'actions-document-save-view',
162  'actions-document-select',
163  'actions-document-synchronize',
164  'actions-document-view',
165  'actions-edit-add',
166  'actions-edit-copy',
167  'actions-edit-copy-release',
168  'actions-edit-cut',
169  'actions-edit-cut-release',
170  'actions-edit-delete',
171  'actions-edit-download',
172  'actions-edit-hide',
173  'actions-edit-insert-default',
174  'actions-edit-localize-status-high',
175  'actions-edit-localize-status-low',
176  'actions-edit-merge-localization',
177  'actions-edit-pick-date',
178  'actions-edit-rename',
179  'actions-edit-replace',
180  'actions-edit-restore',
181  'actions-edit-undelete-edit',
182  'actions-edit-undo',
183  'actions-edit-unhide',
184  'actions-edit-upload',
185  'actions-input-clear',
186  'actions-insert-record',
187  'actions-insert-reference',
188  'actions-markstate',
189  'actions-message-error-close',
190  'actions-message-information-close',
191  'actions-message-notice-close',
192  'actions-message-ok-close',
193  'actions-message-warning-close',
194  'actions-move-down',
195  'actions-move-left',
196  'actions-move-move',
197  'actions-move-right',
198  'actions-move-to-bottom',
199  'actions-move-to-top',
200  'actions-move-up',
201  'actions-page-move',
202  'actions-page-new',
203  'actions-page-open',
204  'actions-selection-delete',
205  'actions-system-backend-user-emulate',
206  'actions-system-backend-user-switch',
207  'actions-system-cache-clear',
208  'actions-system-cache-clear-impact-high',
209  'actions-system-cache-clear-impact-low',
210  'actions-system-cache-clear-impact-medium',
211  'actions-system-cache-clear-rte',
212  'actions-system-extension-configure',
213  'actions-system-extension-documentation',
214  'actions-system-extension-download',
215  'actions-system-extension-import',
216  'actions-system-extension-install',
217  'actions-system-extension-sqldump',
218  'actions-system-extension-uninstall',
219  'actions-system-extension-update',
220  'actions-system-extension-update-disabled',
221  'actions-system-help-open',
222  'actions-system-list-open',
223  'actions-system-options-view',
224  'actions-system-pagemodule-open',
225  'actions-system-refresh',
226  'actions-system-shortcut-new',
227  'actions-system-tree-search-open',
228  'actions-system-typoscript-documentation',
229  'actions-system-typoscript-documentation-open',
230  'actions-template-new',
231  'actions-unmarkstate',
232  'actions-version-document-remove',
233  'actions-version-page-open',
234  'actions-version-swap-version',
235  'actions-version-swap-workspace',
236  'actions-version-workspace-preview',
237  'actions-version-workspace-sendtostage',
238  'actions-view-go-back',
239  'actions-view-go-down',
240  'actions-view-go-forward',
241  'actions-view-go-up',
242  'actions-view-list-collapse',
243  'actions-view-list-expand',
244  'actions-view-paging-first',
245  'actions-view-paging-first-disabled',
246  'actions-view-paging-last',
247  'actions-view-paging-last-disabled',
248  'actions-view-paging-next',
249  'actions-view-paging-next-disabled',
250  'actions-view-paging-previous',
251  'actions-view-paging-previous-disabled',
252  'actions-view-table-collapse',
253  'actions-view-table-expand',
254  'actions-window-open',
255  'apps-clipboard-images',
256  'apps-clipboard-list',
257  'apps-filetree-folder-add',
258  'apps-filetree-folder-default',
259  'apps-filetree-folder-list',
260  'apps-filetree-folder-locked',
261  'apps-filetree-folder-media',
262  'apps-filetree-folder-news',
263  'apps-filetree-folder-opened',
264  'apps-filetree-folder-recycler',
265  'apps-filetree-folder-temp',
266  'apps-filetree-folder-user',
267  'apps-filetree-mount',
268  'apps-filetree-root',
269  'apps-irre-collapsed',
270  'apps-irre-expanded',
271  'apps-pagetree-backend-user',
272  'apps-pagetree-backend-user-hideinmenu',
273  'apps-pagetree-collapse',
274  'apps-pagetree-drag-copy-above',
275  'apps-pagetree-drag-copy-below',
276  'apps-pagetree-drag-move-above',
277  'apps-pagetree-drag-move-below',
278  'apps-pagetree-drag-move-between',
279  'apps-pagetree-drag-move-into',
280  'apps-pagetree-drag-new-between',
281  'apps-pagetree-drag-new-inside',
282  'apps-pagetree-drag-place-denied',
283  'apps-pagetree-expand',
284  'apps-pagetree-folder-contains-approve',
285  'apps-pagetree-folder-contains-board',
286  'apps-pagetree-folder-contains-fe_users',
287  'apps-pagetree-folder-contains-news',
288  'apps-pagetree-folder-contains-shop',
289  'apps-pagetree-folder-default',
290  'apps-pagetree-page-advanced',
291  'apps-pagetree-page-advanced-hideinmenu',
292  'apps-pagetree-page-advanced-root',
293  'apps-pagetree-page-backend-users',
294  'apps-pagetree-page-backend-users-hideinmenu',
295  'apps-pagetree-page-backend-users-root',
296  'apps-pagetree-page-content-from-page',
297  'apps-pagetree-page-content-from-page-root',
298  'apps-pagetree-page-content-from-page-hideinmenu',
299  'apps-pagetree-page-default',
300  'apps-pagetree-page-domain',
301  'apps-pagetree-page-frontend-user',
302  'apps-pagetree-page-frontend-user-hideinmenu',
303  'apps-pagetree-page-frontend-user-root',
304  'apps-pagetree-page-frontend-users',
305  'apps-pagetree-page-frontend-users-hideinmenu',
306  'apps-pagetree-page-frontend-users-root',
307  'apps-pagetree-page-mountpoint',
308  'apps-pagetree-page-mountpoint-hideinmenu',
309  'apps-pagetree-page-mountpoint-root',
310  'apps-pagetree-page-no-icon-found',
311  'apps-pagetree-page-no-icon-found-hideinmenu',
312  'apps-pagetree-page-no-icon-found-root',
313  'apps-pagetree-page-not-in-menu',
314  'apps-pagetree-page-recycler',
315  'apps-pagetree-page-shortcut',
316  'apps-pagetree-page-shortcut-external',
317  'apps-pagetree-page-shortcut-external-hideinmenu',
318  'apps-pagetree-page-shortcut-external-root',
319  'apps-pagetree-page-shortcut-hideinmenu',
320  'apps-pagetree-page-shortcut-root',
321  'apps-pagetree-root',
322  'apps-pagetree-spacer',
323  'apps-tcatree-select-recursive',
324  'apps-toolbar-menu-actions',
325  'apps-toolbar-menu-cache',
326  'apps-toolbar-menu-opendocs',
327  'apps-toolbar-menu-search',
328  'apps-toolbar-menu-shortcut',
329  'apps-toolbar-menu-workspace',
330  'mimetypes-compressed',
331  'mimetypes-excel',
332  'mimetypes-media-audio',
333  'mimetypes-media-flash',
334  'mimetypes-media-image',
335  'mimetypes-media-video',
336  'mimetypes-other-other',
337  'mimetypes-pdf',
338  'mimetypes-powerpoint',
339  'mimetypes-text-css',
340  'mimetypes-text-csv',
341  'mimetypes-text-html',
342  'mimetypes-text-js',
343  'mimetypes-text-php',
344  'mimetypes-text-text',
345  'mimetypes-word',
346  'mimetypes-x-content-divider',
347  'mimetypes-x-content-domain',
348  'mimetypes-x-content-form',
349  'mimetypes-x-content-form-search',
350  'mimetypes-x-content-header',
351  'mimetypes-x-content-html',
352  'mimetypes-x-content-image',
353  'mimetypes-x-content-link',
354  'mimetypes-x-content-list-bullets',
355  'mimetypes-x-content-list-files',
356  'mimetypes-x-content-login',
357  'mimetypes-x-content-menu',
358  'mimetypes-x-content-multimedia',
359  'mimetypes-x-content-page-language-overlay',
360  'mimetypes-x-content-plugin',
361  'mimetypes-x-content-script',
362  'mimetypes-x-content-table',
363  'mimetypes-x-content-template',
364  'mimetypes-x-content-template-extension',
365  'mimetypes-x-content-template-static',
366  'mimetypes-x-content-text',
367  'mimetypes-x-content-text-picture',
368  'mimetypes-x-content-text-media',
369  'mimetypes-x-sys_action',
370  'mimetypes-x-sys_category',
371  'mimetypes-x-sys_language',
372  'mimetypes-x-sys_news',
373  'mimetypes-x-sys_workspace',
374  'mimetypes-x_belayout',
375  'status-dialog-error',
376  'status-dialog-information',
377  'status-dialog-notification',
378  'status-dialog-ok',
379  'status-dialog-warning',
380  'status-overlay-access-restricted',
381  'status-overlay-deleted',
382  'status-overlay-hidden',
383  'status-overlay-icon-missing',
384  'status-overlay-includes-subpages',
385  'status-overlay-locked',
386  'status-overlay-scheduled',
387  'status-overlay-scheduled-future-end',
388  'status-overlay-translated',
389  'status-status-checked',
390  'status-status-current',
391  'status-status-edit-read-only',
392  'status-status-icon-missing',
393  'status-status-locked',
394  'status-status-permission-denied',
395  'status-status-permission-granted',
396  'status-status-readonly',
397  'status-status-reference-hard',
398  'status-status-reference-soft',
399  'status-status-sorting-asc',
400  'status-status-sorting-desc',
401  'status-status-sorting-light-asc',
402  'status-status-sorting-light-desc',
403  'status-status-workspace-draft',
404  'status-system-extension-required',
405  'status-user-admin',
406  'status-user-backend',
407  'status-user-frontend',
408  'status-user-group-backend',
409  'status-user-group-frontend',
410  'status-warning-in-use',
411  'status-warning-lock',
412  'module-web',
413  'module-file',
414  'module-system',
415  'module-tools',
416  'module-user',
417  'module-help'
418 ];
419 
420 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'] = [
421  'deleted',
422  'hidden',
423  'starttime',
424  'endtime',
425  'futureendtime',
426  'fe_group',
427  'protectedSection'
428 ];
429 
430 $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = [
431  'hidden' => 'status-overlay-hidden',
432  'fe_group' => 'status-overlay-access-restricted',
433  'starttime' => 'status-overlay-scheduled',
434  'endtime' => 'status-overlay-scheduled',
435  'futureendtime' => 'status-overlay-scheduled-future-end',
436  'readonly' => 'status-overlay-locked',
437  'deleted' => 'status-overlay-deleted',
438  'missing' => 'status-overlay-missing',
439  'translated' => 'status-overlay-translated',
440  'protectedSection' => 'status-overlay-includes-subpages'
441 ];
$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:12