Merged new PageTree (version for TYPO3 4.5 Beta 3)
[Packages/TYPO3.CMS.git] / typo3 / sysext / pagetree / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 $modules = array(
8 'web_layout', 'web_view', 'web_list', 'web_info', 'web_perm', 'web_func', 'web_ts',
9 'web_txrecyclerM1', 'web_txversionM1'
10 );
11 foreach ($modules as $module) {
12 t3lib_extMgm::addNavigationComponent($module, 'typo3-pagetree', array(
13 'TYPO3.Components.PageTree'
14 ));
15 }
16
17 $absoluteExtensionPath = t3lib_extMgm::extPath($_EXTKEY);
18 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'] = array_merge(
19 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'], array(
20 'TYPO3.Components.PageTree.DataProvider' =>
21 $absoluteExtensionPath . 'classes/extdirect/class.tx_pagetree_extdirect_tree.php:tx_pagetree_ExtDirect_Tree',
22 'TYPO3.Components.PageTree.Commands' =>
23 $absoluteExtensionPath . 'classes/extdirect/class.tx_pagetree_extdirect_tree.php:tx_pagetree_ExtDirect_Commands',
24 'TYPO3.Components.PageTree.ContextMenuDataProvider' =>
25 $absoluteExtensionPath . 'classes/extdirect/class.tx_pagetree_extdirect_contextmenu.php:tx_pagetree_ExtDirect_ContextMenu',
26 )
27 );
28 }
29
30 ?>