Project

General

Profile

Actions

Feature #23743

closed

Allow skins to register sprites through addIconSprite

Added by Ernesto Baschny over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-10-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

Currently, extensions can register sprites using t3lib_spriteManager::addIconSprite(). This requires an array of icons (which will be added to $TBE_STYLES['spritemanager']['spriteIconsAvailable']) and the CSS filename which contains the generated sprite.css.

A skin might also want to provide a different sprite, but the skin's CSS files are already loaded automatically from the registered directory. See #23266 where t3skin wants to add a sprite for flags. After this fix, we will use the API to do so in t3skin, simply not passing the CSS filename, but just the array of images.

(issue imported from #M16007)


Files

16007.diff (1.44 KB) 16007.diff Administrator Admin, 2010-10-15 21:24
Actions #1

Updated by Ernesto Baschny over 13 years ago

Committed revision 9092.

Actions #2

Updated by Susanne Moog almost 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF