TYPO3 CMS  TYPO3_7-6
ext_tables.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
5 
6  // Register as a skin
7  $GLOBALS['TBE_STYLES']['skins']['t3skin'] = [
8  'name' => 't3skin',
9  'stylesheetDirectories' => [
10  'sprites' => 'EXT:t3skin/stylesheets/sprites/',
11  'css' => 'EXT:t3skin/Resources/Public/Css/'
12  ]
13  ];
14 
15  // Setting up auto detection of alternative icons:
16  $GLOBALS['TBE_STYLES']['skinImgAutoCfg'] = [
17  'absDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3skin') . 'icons/',
19  'forceFileExtension' => 'gif',
20  // Force to look for PNG alternatives...
21  'iconSizeWidth' => 16,
22  'iconSizeHeight' => 16
23  ];
24 
25  // Changing icon for filemounts, needs to be done here as overwriting the original icon would also change the filelist tree's root icon
26  $GLOBALS['TCA']['sys_filemounts']['ctrl']['iconfile'] = 'apps-filetree-mount';
27 
28  $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][1][2] = 'status-user-frontend';
29 
30  // extJS theme
31  $GLOBALS['TBE_STYLES']['extJS']['theme'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'extjs/xtheme-t3skin.css';
32 }
if(!defined("DB_ERROR")) define("DB_ERROR"
$GLOBALS['PAGES_TYPES']
Definition: ext_tables.php:12