[FEATURE] Add new extension manager to the core
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 $TCA['tx_extensionmanager_extension'] = array(
7 'ctrl' => array(
8 'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xml:tx_extensionmanager_extension',
9 'label' => 'uid',
10 'default_sortby' => '',
11 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Extension.php',
12 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'icon_tx_extensionmanager_extension.gif',
13 ),
14 );
15
16 if (TYPO3_MODE === 'BE') {
17 Tx_Extbase_Utility_Extension::registerModule(
18 $_EXTKEY,
19 'tools',
20 'extensionmanager',
21 '',
22 array(
23 'List' => 'index,ter,showAllVersions',
24 'Action' => 'toggleExtensionInstallationState,removeExtension,downloadExtensionZip,downloadExtensionData',
25 'Configuration' => 'showConfigurationForm,save',
26 'Download' => 'checkDependencies,installFromTer,updateExtension,updateCommentForUpdatableVersions',
27 'UpdateFromTer' => 'updateExtensionListFromTer',
28 'UploadExtensionFile' => 'form,extract'
29 ),
30 array(
31 'access' => 'user,group',
32 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
33 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml')
34 );
35 }
36
37 ?>