Fixed bug #16254: Dead logo function in backend.php
authorSteffen Kamper <info@sk-typo3.de>
Sat, 6 Nov 2010 10:53:21 +0000 (10:53 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 6 Nov 2010 10:53:21 +0000 (10:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9295 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index b1478f5..12d6a66 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-11-06  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #16254: Dead logo function in backend.php
        * Fixed bug #16116: Configuration module is hard to find the array key because it's not sorted
        * Fixed bug #15587: Bug: htmlspecialchars called twice (Thanks to Mickel Ricky)
        * Fixed bug #16214: Bug: Change value of Media(Flash) parameter (Thanks to Janos Thiele)
index 49fb0c3..5ee2ce4 100644 (file)
@@ -590,29 +590,6 @@ class TYPO3backend {
        }
 
        /**
-        * generates the code for the TYPO3 logo, either the default TYPO3 logo or a custom one
-        *
-        * @return      string  HTML code snippet to display the TYPO3 logo
-        */
-       protected function getLogo() {
-               $logo = '<a href="http://www.typo3.com/" target="_blank">'.
-                               '<img'.t3lib_iconWorks::skinImg('','gfx/alt_backend_logo.gif','width="117" height="32"').' title="TYPO3 Content Management Framework" alt="" />'.
-                               '</a>';
-
-                       // overwrite with custom logo
-               if($GLOBALS['TBE_STYLES']['logo'])      {
-                       if(substr($GLOBALS['TBE_STYLES']['logo'], 0, 3) == '../')       {
-                               $imgInfo = @getimagesize(PATH_site.substr($GLOBALS['TBE_STYLES']['logo'], 3));
-                       }
-                       $logo = '<a href="http://www.typo3.com/" target="_blank">'.
-                               '<img src="'.$GLOBALS['TBE_STYLES']['logo'].'" '.$imgInfo[3].' title="TYPO3 Content Management Framework" alt="" />'.
-                               '</a>';
-               }
-
-               return $logo;
-       }
-
-       /**
         * adds a javascript snippet to the backend
         *
         * @param       string  javascript snippet