Project

General

Profile

Bug #24248 » 16620_4-4.patch

Administrator Admin, 2010-12-01 23:10

View differences:

t3lib/class.t3lib_iconworks.php (working copy)
}
}
krsort($recordType);
foreach ($recordType as $record) {
if (in_array($record, $GLOBALS['TBE_STYLES']['spriteIconApi']['iconsAvailable'])) {
return self::getSpriteIconClasses($record);
if (is_array($GLOBALS['TBE_STYLES']['spriteIconApi']['iconsAvailable'])) {
foreach ($recordType as $record) {
if (in_array($record, $GLOBALS['TBE_STYLES']['spriteIconApi']['iconsAvailable'])) {
return self::getSpriteIconClasses($record);
}
}
}
return self::getSpriteIconClasses('status-status-icon-missing');
......
$priorities = $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayPriorities'];
$iconName = '';
foreach ($priorities as $priority) {
if ($status[$priority]) {
$iconName = $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'][$priority];
break;
if (is_array($priorities)) {
foreach ($priorities as $priority) {
if ($status[$priority]) {
$iconName = $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'][$priority];
break;
}
}
}
return $iconName;
}
(2-2/2)