Project

General

Profile

Bug #22366 » class.typo3logo.php.0013985.diff

Administrator Admin, 2010-03-31 20:50

View differences:

typo3/classes/class.typo3logo.php (working copy)
// 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" onclick="'.$GLOBALS['TBE_TEMPLATE']->thisBlur().'">'.
'<img src="'.$GLOBALS['TBE_STYLES']['logo'].'" '.$imgInfo[3].' title="TYPO3 Content Management Framework" alt="" />'.
$imgInfo = @getimagesize(t3lib_div::resolveBackPath(PATH_typo3 . $GLOBALS['TBE_STYLES']['logo'], 3));
$logo = '<a href="http://www.typo3.com/" target="_blank" onclick="' . $GLOBALS['TBE_TEMPLATE']->thisBlur() . '">' .
'<img src="' . $GLOBALS['TBE_STYLES']['logo'] . '" ' . $imgInfo[3] . ' title="TYPO3 Content Management Framework" alt="" />' .
'</a>';
}
(1-1/2)