Actions
Bug #23331
closedsmall typo in class.t3lib_spritemanager.php's deprecationLog Message
Start date:
2010-08-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
in case of using deprecated $GLOBALS['PAGES_TYPES'] there is a deprecationLog Message with an example of how using the new spritemanager. There is missing a " ' " .
Example:
Usage of $PAGES_TYPES['icon'] is deprecated since 4.4.
The extTables.php entry $PAGE_TYPES['33']['icon'] = '../fileadmin/pageicons/newhiddenpage.gif'; should be replaced with
t3lib_SpriteManager::addTcaTypeIcon('pages', 33', '../fileadmin/pageicons/newhiddenpage.gif');
instead.
33 is missing the " ' ".
(issue imported from #M15323)
Files
Updated by Christian Kuhn over 14 years ago
Committed to:
- trunk rev. 8544
- 4.4 rev. 8545
Actions