[TYPO3-core] RFC #13379: Sprite Icon API

Steffen Gebert steffen at steffen-gebert.de
Thu Feb 11 23:58:24 CET 2010


Am 31.01.2010, 18:03 Uhr, schrieb Thomas Allmer <at at delusionworld.com>:

> On 31.01.2010 17:37, Steffen Ritter wrote:
>> Thomas Allmer schrieb:
>>> Hi!
>>>
>>> This is a SVN patch request.
>>>
>>> Type: Feature
>>>
>>> Bugtracker references:
>>> http://bugs.typo3.org/view.php?id=13379
>>>
>>> Branches: Trunk
>>>
>>> Problem:
>>> Currently the icons are single image files which results in a lot of
>>> requests and can't be changed by css only.
>>>
>>> Solution:
>>> The attached patch introduces an API for the use of sprites with icons.

Hi Thomas,

I overworked your patch and removed most of the CGL glitches.

What I don't like is this:
> iconname like 'actions-document-new' || filepath like 'file:<path to  
> file>' || database like 'row:<tablename>' (give row in options)

Are you sure, we need this? Can't the calling function do this job and set  
the name accordingly?

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13379_v2.diff
Type: text/x-diff
Size: 18090 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100211/2d51284d/attachment-0001.diff>


More information about the TYPO3-team-core mailing list