[TASK] Invalidate autoloader cache in em
[Packages/TYPO3.CMS.git] / typo3 / sysext / impexp / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE') {
7 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
8 'name' => 'tx_impexp_clickmenu',
9 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php'
10 );
11
12
13 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tx_impexp_task'] = array(
14 'title' => 'LLL:EXT:impexp/locallang_csh.xml:.alttitle',
15 'description' => 'LLL:EXT:impexp/locallang_csh.xml:.description',
16 'icon' => 'EXT:impexp/export.gif'
17 );
18
19 t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml');
20
21 // CSH labels for TYPO3 4.5 and greater. These labels override the ones set above, while still falling back to the original labels if no translation is available.
22 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:impexp/locallang_csh.xml'][] = 'EXT:impexp/locallang_csh_45.xml';
23
24 // special context menu actions for the import/export module
25 $importExportActions = '
26 9000 = DIVIDER
27
28 9100 = ITEM
29 9100 {
30 name = exportT3d
31 label = LLL:EXT:impexp/app/locallang.xml:export
32 spriteIcon = actions-document-export-t3d
33 callbackAction = exportT3d
34 }
35
36 9200 = ITEM
37 9200 {
38 name = importT3d
39 label = LLL:EXT:impexp/app/locallang.xml:import
40 spriteIcon = actions-document-import-t3d
41 callbackAction = importT3d
42 }
43 ';
44
45 // context menu user default configuration
46 $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'] .= '
47 options.contextMenu.table {
48 pages_root.items {
49 ' . $importExportActions . '
50 }
51
52 pages.items.1000 {
53 ' . $importExportActions . '
54 }
55 }
56 ';
57 }
58 ?>