[TYPO3-core] RFC#14849: Bugfix: Sprites - user defined page types/modules are not respected anymore

Steffen Ritter info at rs-websystems.de
Tue Jul 6 16:01:31 CEST 2010


Hi 2 all,

this is an svn patch request.

BT: http://bugs.typo3.org/view.php?id=14849

Branches: 4.4, trunk

Problem:
$ICON_TYPES[type][icon] = fileName; and $PAGES_TYPES[type][icon]= fileName;
have been places which allowed to overwrite the page-type-icons and 
module-icons for usage in pagetree. t3lib_iconWorks read them as overwrite.


Solution:
The Sprite-Icon-API provides an static function providing the same 
functionality but as clean API call.
As fallback read the array, pass the value to the new API function and 
log the "old style"

regards

Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc14849.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100706/eda62c30/attachment.asc>


More information about the TYPO3-team-core mailing list