[TASK] Rethink .txt files (GPL & Readme)
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE == 'BE') {
6 // Add module
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'txschedulerM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
8 // Add context sensitive help (csh) to the backend module
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_tools_txschedulerM1', 'EXT:' . $_EXTKEY . '/mod1/locallang_csh_scheduler.xml');
10
11 // Register specific icon for run task button
12 \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
13 array(
14 'run-task' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/RunTask.png'
15 ),
16 $_EXTKEY
17 );
18
19 }
20 ?>