[TASK] Make t3skin frame dimension overrides default 36/45136/2
authorBenni Mack <benni@typo3.org>
Sat, 5 Dec 2015 12:04:27 +0000 (13:04 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 5 Dec 2015 12:19:19 +0000 (13:19 +0100)
The TBE_STYLES settings in t3skin are not needed since
the default should be actually the whole backend setting.

The patch changes the settings accordingly.

Resolves: #72068
Releases: master
Change-Id: I7de0c3d8da0c3bdc9f58b56960a073193832ce0e
Reviewed-on: https://review.typo3.org/45136
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/t3skin/ext_tables.php

index fd4c1ba..90e0420 100644 (file)
@@ -617,7 +617,7 @@ class BackendController
             'veriCode' => $beUser->veriCode(),
             'denyFileTypes' => PHP_EXTENSIONS_DEFAULT,
             'moduleMenuWidth' => $this->menuWidth - 1,
-            'topBarHeight' => isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? (int)$GLOBALS['TBE_STYLES']['dims']['topFrameH'] : 30,
+            'topBarHeight' => isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? (int)$GLOBALS['TBE_STYLES']['dims']['topFrameH'] : 45,
             'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] : false,
             'listModulePath' => ExtensionManagementUtility::extRelPath('recordlist') . 'mod1/',
             'debugInWindow' => $beUser->uc['debugInWindow'] ? 1 : 0,
index 04871fd..532eb76 100644 (file)
@@ -12,13 +12,6 @@ if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
         )
     );
 
-    // Alternative dimensions for frameset sizes:
-    // Left menu frame width
-    $GLOBALS['TBE_STYLES']['dims']['leftMenuFrameW'] = 190;
-
-    // Top frame height
-    $GLOBALS['TBE_STYLES']['dims']['topFrameH'] = 45;
-
     // Setting up auto detection of alternative icons:
     $GLOBALS['TBE_STYLES']['skinImgAutoCfg'] = array(
         'absDir' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('t3skin') . 'icons/',