TYPO3 CMS  TYPO3_6-2
ext_tables.php
Go to the documentation of this file.
1 <?php
2 if (!defined('TYPO3_MODE')) {
3  die('Access denied.');
4 }
5 
6 if (TYPO3_MODE === 'BE') {
8  'TYPO3.CMS.' . $_EXTKEY,
9  'tools',
10  'extensionmanager', '', array(
11  'List' => 'index,unresolvedDependencies,ter,showAllVersions,distributions',
12  'Action' => 'toggleExtensionInstallationState,installExtensionWithoutSystemDependencyCheck,removeExtension,downloadExtensionZip,downloadExtensionData',
13  'Configuration' => 'showConfigurationForm,save,saveAndClose',
14  'Download' => 'checkDependencies,installFromTer,installExtensionWithoutSystemDependencyCheck,installDistribution,updateExtension,updateCommentForUpdatableVersions',
15  'UpdateScript' => 'show',
16  'UpdateFromTer' => 'updateExtensionListFromTer',
17  'UploadExtensionFile' => 'form,extract',
18  'Distribution' => 'show'
19  ),
20  array(
21  'access' => 'admin',
22  'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module.png',
23  'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf',
24  )
25  );
26 
27  // Register extension status report system
28  $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['Extension Manager'][] =
29  'TYPO3\\CMS\\Extensionmanager\\Report\\ExtensionStatus';
30 }
31 
32 // Register specific icon for update script button
34  array(
35  'update-script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Icons/ExtensionUpdateScript.png'
36  ),
37  $_EXTKEY
38 );
static addSingleIcons(array $icons, $extKey='')
const TYPO3_MODE
Definition: init.php:40
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:context_help/locallang_csh_pages.xlf'][]
Definition: ext_tables.php:15
die
Definition: index.php:6
static registerModule($extensionName, $mainModuleName='', $subModuleName='', $position='', array $controllerActions=array(), array $moduleConfiguration=array())