[TYPO3-core] RFC #13985: bugfix/code cleanup: wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign)
Stephan N Kellermayr
stephan.kellermayr at t3x.at
Wed Mar 31 20:54:15 CEST 2010
this is an SVN patch request.
type: bugfix/code cleanup
bugtracker references:
http://bugs.typo3.org/view.php?id=13985
branches:
trunk, current branch
problem:
if an alternative TYPO3-logo is set in $GLOBALS['TBE_STYLES']['logo']
and a skin-extension is installed in 'typo3/ext/' (globally), the
'typo3/classes/class.typo3logo.php' does not check the image-dimensions.
instead it outputs the alternative image with the size of the default
logo. thats bad for backend-redesigners, because the alternative logo is
displayed squashed.
solution:
just remove the substring-check '../', resolve the backpath to the
alternative logo-file and always run through 'getimagesize'.
notes:
none
best regards,
Stephan N Kellermayr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.typo3logo.php.0013985.diff
Type: text/x-patch
Size: 1081 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100331/0ef40904/attachment.bin>
More information about the TYPO3-team-core
mailing list