Follow-up to #14553: topFrameH configuration option doesn't work anymore
authorSteffen Kamper <info@sk-typo3.de>
Tue, 29 Jun 2010 11:12:10 +0000 (11:12 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 29 Jun 2010 11:12:10 +0000 (11:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8073 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index 4bfd038..c9ff6f2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-29  Steffen Kamper  <info@sk-typo3.de>
+
+       * Follow-up to #14553: topFrameH configuration option doesn't work anymore
+       
 2010-06-28  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #14830: htmlArea RTE: Entering line breaks with Safari not possible
index 1d7f410..0353088 100644 (file)
@@ -385,7 +385,7 @@ class TYPO3backend {
                        'veriCode' => $GLOBALS['BE_USER']->veriCode(),
                        'denyFileTypes' => PHP_EXTENSIONS_DEFAULT,
                        'moduleMenuWidth' => $this->menuWidth - 1,
-                       'topBarHeight' => (int) $GLOBALS['TBE_STYLES']['dims']['topFrameH'],
+                       'topBarHeight' => (isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? intval($GLOBALS['TBE_STYLES']['dims']['topFrameH']) : 30),
                        'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? intval($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) : FALSE,
                );
                $t3LLLcore = array(