[TASK] Clean up unused t3skin variables in ext_tables.php
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / ext_tables.php
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 )
12 );
13
14 // Manual setting up of alternative icons.
15 $GLOBALS['TBE_STYLES']['skinImg']['gfx/ol/blank.gif'] = array('clear.gif', 'width="18" height="16"');
16
17 // Alternative dimensions for frameset sizes:
18 // Left menu frame width
19 $GLOBALS['TBE_STYLES']['dims']['leftMenuFrameW'] = 190;
20
21 // Top frame height
22 $GLOBALS['TBE_STYLES']['dims']['topFrameH'] = 45;
23
24 // Setting up auto detection of alternative icons:
25 $GLOBALS['TBE_STYLES']['skinImgAutoCfg'] = array(
26 'absDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3skin') . 'icons/',
27 'relDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'icons/',
28 'forceFileExtension' => 'gif',
29 // Force to look for PNG alternatives...
30 'iconSizeWidth' => 16,
31 'iconSizeHeight' => 16
32 );
33
34 // Changing icon for filemounts, needs to be done here as overwriting the original icon would also change the filelist tree's root icon
35 $GLOBALS['TCA']['sys_filemounts']['ctrl']['iconfile'] = '_icon_ftp_2.gif';
36
37 $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][1][2] = 'EXT:t3skin/images/icons/status/user-frontend.png';
38
39 // extJS theme
40 $GLOBALS['TBE_STYLES']['extJS']['theme'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'extjs/xtheme-t3skin.css';
41 $GLOBALS['TBE_STYLES']['stylesheets']['admPanel'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('t3skin') . 'stylesheets/standalone/admin_panel.css';
42 }