TYPO3  7.6
t3skin/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'] = array(
8  'name' => 't3skin',
9  'stylesheetDirectories' => array(
10  'sprites' => 'EXT:t3skin/stylesheets/sprites/',
11  'css' => 'EXT:t3skin/Resources/Public/Css/'
12  )
13  );
14 
15  // Alternative dimensions for frameset sizes:
16  // Left menu frame width
17  $GLOBALS['TBE_STYLES']['dims']['leftMenuFrameW'] = 190;
18 
19  // Top frame height
20  $GLOBALS['TBE_STYLES']['dims']['topFrameH'] = 45;
21 
22  // Setting up auto detection of alternative icons:
23  $GLOBALS['TBE_STYLES']['skinImgAutoCfg'] = array(
24  'absDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3skin') . 'icons/',
25  'relDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'icons/',
26  'forceFileExtension' => 'gif',
27  // Force to look for PNG alternatives...
28  'iconSizeWidth' => 16,
29  'iconSizeHeight' => 16
30  );
31 
32  // Changing icon for filemounts, needs to be done here as overwriting the original icon would also change the filelist tree's root icon
33  $GLOBALS['TCA']['sys_filemounts']['ctrl']['iconfile'] = 'apps-filetree-mount';
34 
35  $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][1][2] = 'status-user-frontend';
36 
37  // extJS theme
38  $GLOBALS['TBE_STYLES']['extJS']['theme'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'extjs/xtheme-t3skin.css';
39  $GLOBALS['TBE_STYLES']['stylesheets']['admPanel'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('t3skin') . 'stylesheets/standalone/admin_panel.css';
40 }