Bug #24248 » 16620_4-4.patch
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;
|
||
}
|
||
- « Previous
- 1
- 2
- Next »