350d6458bd5522d1584c09f8cbf8019d42bd085b
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) die('Access denied.');
3
4
5 if (TYPO3_MODE == 'BE') {
6
7 // register top module
8 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('opendocs').'registerToolbarItem.php';
9
10
11 // register AJAX call
12 $GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['tx_opendocs::backendmenu'] = t3lib_extMgm::extPath('opendocs').'class.tx_opendocs.php:tx_opendocs->renderBackendMenuContents';
13
14
15 // register menu module if option is wanted
16 $_EXTCONF = unserialize($_EXTCONF);
17 if ($_EXTCONF['enableModule']) {
18 t3lib_extMgm::addModule('user', 'doc', 'after:ws', t3lib_extMgm::extPath($_EXTKEY).'mod/');
19 }
20 }
21
22 ?>