[TYPO3-core] RFC #13995: code cleanup: hardcoded image shown in "HELP > About Modules" (backend-redesign)

Stephan N Kellermayr stephan.kellermayr at t3x.at
Sat Apr 3 19:23:24 CEST 2010


this is an SVN patch request.

type: code cleanup

bugtracker references:
http://bugs.typo3.org/view.php?id=13995

branches:
trunk, current branch

problem:
the logo shown in "Help > About Modules" is hardcoded, which is not good 
for backend-redesign.

this image is 'gfx/loginlogo_transp.gif', which in any other case can be 
overridden with $GLOBALS['TBE_STYLES']['loginBoxImageSmall'], but not at 
the page "About Modules".

if you install the latest version of 't3xskin' (v.1.0.0, wait a few 
hours, i have just uploaded the new version), and set the skin to 'dark' 
you will see that the hardcoded gif-image looks very ugly because of the 
light image-background.


solution:
just check $GLOBALS['TBE_STYLES']['loginBoxImageSmall'], and if it is 
set, resolve backpath, getimagesize and return this alternative image.

notes:
none


best regards,
Stephan N Kellermayr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.t3lib_befunc.php.0013995.diff
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100403/4d4f91cc/attachment-0001.bin>


More information about the TYPO3-team-core mailing list