[BUGFIX] Escape title, extension, description of scheduler tasks
[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('system', 'txschedulerM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
8
9 // Add context sensitive help (csh) to the backend module
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
11 '_MOD_system_txschedulerM1',
12 'EXT:' . $_EXTKEY . '/mod1/locallang_csh_scheduler.xlf'
13 );
14
15 // Register specific icon for run task button
16 \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
17 array(
18 'run-task' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/RunTask.png'
19 ),
20 $_EXTKEY
21 );
22
23 }