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

Thomas Allmer at at delusionworld.com
Mon Feb 22 02:49:41 CET 2010


On 11.02.2010 23:58, Steffen Gebert wrote:
> 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.

thx will adopt it

> 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?

I would like to use ONE wrapper function and in that case we need it 
definitely.
see also answer to Olivers post.

cheers
-- 
+---------------------------------+-----------------------------------+
| Thomas Allmer                   |   http://www.delusionworld.com    |
| E-mail: at at delusionworld.com    |   phone: +43 699 16217064         |
+---------------------------------+-----------------------------------+


More information about the TYPO3-team-core mailing list