[TASK] Set TYPO3 version to 7.1.0-dev
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / 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 'system',
8 'txreportsM1',
9 '',
10 array(
11 'Report' => 'index,detail'
12 ), array(
13 'access' => 'admin',
14 'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-reports.png',
15 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf'
16 )
17 );
18 $statusReport = array(
19 'title' => 'LLL:EXT:reports/reports/locallang.xlf:status_report_title',
20 'icon' => 'EXT:reports/Resources/Public/Icons/module-reports.png',
21 'description' => 'LLL:EXT:reports/reports/locallang.xlf:status_report_description',
22 'report' => 'TYPO3\\CMS\\Reports\\Report\\Status\\Status'
23 );
24 if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'])) {
25 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = array();
26 }
27 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'] = array_merge($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'], $statusReport);
28 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'TYPO3\\CMS\\Reports\\Report\\Status\\Typo3Status';
29 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['system'][] = 'TYPO3\\CMS\\Reports\\Report\\Status\\SystemStatus';
30 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['security'][] = 'TYPO3\\CMS\\Reports\\Report\\Status\\SecurityStatus';
31 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['configuration'][] = 'TYPO3\\CMS\\Reports\\Report\\Status\\ConfigurationStatus';
32 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['fal'][] = 'TYPO3\\CMS\\Reports\\Report\\Status\\FalStatus';
33 }