[TYPO3-core] RFC #13443: code cleanup: wrong image shown in WEB->PERM (backend-redesign)

Susanne Moog typo3 at susannemoog.de
Thu Mar 25 20:44:53 CET 2010


Hi,

Am 09.03.2010 11:19, schrieb Stephan N Kellermayr:
> this is an SVN patch request.
> 
> type: code cleanup
> 
> bugtracker references:
> http://bugs.typo3.org/view.php?id=13443
> 
> branches:
> trunk, current branch
> 
> problem:
> in WEB->PERM all images are controlled by t3lib_iconWorks::skinImg,
> except the 'legend.gif', so there is always a static image which is not
> good for backend-redesign.
> 
> solution:
> just replace in line 718 of 'typo3/mod/web/perm/index.php' the
> 'src="legend.gif"' with
> 't3lib_iconWorks::skinImg($BACK_PATH,'legend.gif','width="86"
> height="75"')'.
> (patch attached: typo3/mod/web/perm/index.php.0013443.diff)

in general this looks like the right approach, there is only one problem:

without the patch this image gets included (correct):
/typo3/mod/web/perm/legend.gif

with the patch this image gets included (grey image without content):
/typo3/sysext/t3skin/icons/legend.gif

So we should probably either replace the legend.gif in t3skin or delete
it ...

Best regards,

Susanne


More information about the TYPO3-team-core mailing list