[FEATURE] Add distribution management to extension manager
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_tables.php
index 713a600..0826ee2 100644 (file)
@@ -8,18 +8,19 @@ if (TYPO3_MODE === 'BE') {
                'TYPO3.CMS.' . $_EXTKEY,
                'tools',
                'extensionmanager', '', array(
                'TYPO3.CMS.' . $_EXTKEY,
                'tools',
                'extensionmanager', '', array(
-                       'List' => 'index,ter,showAllVersions',
+                       'List' => 'index,ter,showAllVersions,distributions',
                        'Action' => 'toggleExtensionInstallationState,removeExtension,downloadExtensionZip,downloadExtensionData',
                        'Configuration' => 'showConfigurationForm,save',
                        'Action' => 'toggleExtensionInstallationState,removeExtension,downloadExtensionZip,downloadExtensionData',
                        'Configuration' => 'showConfigurationForm,save',
-                       'Download' => 'checkDependencies,installFromTer,updateExtension,updateCommentForUpdatableVersions',
+                       'Download' => 'checkDependencies,installFromTer,installDistribution,updateExtension,updateCommentForUpdatableVersions',
                        'UpdateScript' => 'show',
                        'UpdateFromTer' => 'updateExtensionListFromTer',
                        'UpdateScript' => 'show',
                        'UpdateFromTer' => 'updateExtensionListFromTer',
-                       'UploadExtensionFile' => 'form,extract'
+                       'UploadExtensionFile' => 'form,extract',
+                       'Distribution' => 'welcome'
                ),
                array(
                        'access' => 'user,group',
                ),
                array(
                        'access' => 'user,group',
-                       'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
-                       'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml',
+                       'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module.png',
+                       'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
                )
        );
 
                )
        );
 
@@ -28,9 +29,9 @@ if (TYPO3_MODE === 'BE') {
                'TYPO3\\CMS\\Extensionmanager\\Report\\ExtensionStatus';
 
        // Register specific icon for update script button
                'TYPO3\\CMS\\Extensionmanager\\Report\\ExtensionStatus';
 
        // Register specific icon for update script button
-       t3lib_SpriteManager::addSingleIcons(
+       \TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
                array(
                array(
-                       'update-script' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
+                       'update-script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
                ),
                $_EXTKEY
        );
                ),
                $_EXTKEY
        );