[BUGFIX] Unresolved dependencies uses old flashmessage styling
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
6 'TYPO3.CMS.' . $_EXTKEY,
7 'tools',
8 'extensionmanager', '', array(
9 'List' => 'index,unresolvedDependencies,ter,showAllVersions,distributions',
10 'Action' => 'toggleExtensionInstallationState,installExtensionWithoutSystemDependencyCheck,removeExtension,downloadExtensionZip,downloadExtensionData',
11 'Configuration' => 'showConfigurationForm,save,saveAndClose',
12 'Download' => 'checkDependencies,installFromTer,installExtensionWithoutSystemDependencyCheck,installDistribution,updateExtension,updateCommentForUpdatableVersions',
13 'UpdateScript' => 'show',
14 'UpdateFromTer' => 'updateExtensionListFromTer',
15 'UploadExtensionFile' => 'form,extract',
16 'Distribution' => 'show'
17 ),
18 array(
19 'access' => 'admin',
20 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-extensionmanager.png',
21 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
22 )
23 );
24
25 // Register extension status report system
26 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['Extension Manager'][] =
27 'TYPO3\\CMS\\Extensionmanager\\Report\\ExtensionStatus';
28 }
29
30 // Register specific icon for update script button
31 \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
32 array(
33 'update-script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
34 ),
35 $_EXTKEY
36 );