|
TYPO3 API
SVNRelease
|
00001 <?php 00002 if (!defined ('TYPO3_MODE')) { 00003 die ('Access denied.'); 00004 } 00005 00006 if (TYPO3_MODE == 'BE') { 00007 $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array( 00008 'name' => 'tx_impexp_clickmenu', 00009 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php' 00010 ); 00011 00012 00013 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tx_impexp_task'] = array( 00014 'title' => 'LLL:EXT:impexp/locallang_csh.xml:.alttitle', 00015 'description' => 'LLL:EXT:impexp/locallang_csh.xml:.description', 00016 'icon' => 'EXT:impexp/export.gif' 00017 ); 00018 00019 t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml'); 00020 00021 // 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. 00022 $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:impexp/locallang_csh.xml'][] = 'EXT:impexp/locallang_csh_45.xml'; 00023 00024 // special context menu actions for the import/export module 00025 $importExportActions = ' 00026 9000 = DIVIDER 00027 00028 9100 = ITEM 00029 9100 { 00030 name = exportT3d 00031 label = LLL:EXT:impexp/app/locallang.xml:export 00032 spriteIcon = actions-document-export-t3d 00033 callbackAction = exportT3d 00034 } 00035 00036 9200 = ITEM 00037 9200 { 00038 name = importT3d 00039 label = LLL:EXT:impexp/app/locallang.xml:import 00040 spriteIcon = actions-document-import-t3d 00041 callbackAction = importT3d 00042 } 00043 '; 00044 00045 // context menu user default configuration 00046 $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'] .= ' 00047 options.contextMenu.table { 00048 pages_root.items { 00049 ' . $importExportActions . ' 00050 } 00051 00052 pages.items.1000 { 00053 ' . $importExportActions . ' 00054 } 00055 } 00056 '; 00057 } 00058 ?>
1.8.0