Index: t3lib/class.t3lib_spritemanager.php =================================================================== --- t3lib/class.t3lib_spritemanager.php (revision 8103) +++ t3lib/class.t3lib_spritemanager.php (working copy) @@ -195,9 +195,9 @@ */ public static function addTcaTypeIcon($table, $type, $iconFile) { $GLOBALS['TBE_STYLES']['spritemanager']['singleIcons']['tcarecords-' . $table . '-' . $type] = $iconFile; - if(isset($GLOBALS['TCA'][$table]['typeicon_classes'])) { - $GLOBALS['TCA'][$table]['typeicon_classes'][$type] = 'tcarecords-' . $table . '-' . $type; - } + if (is_array($GLOBALS['TCA'][$table]['ctrl']['typeicon_classes'])) { + $GLOBALS['TCA'][$table]['ctrl']['typeicon_classes'][$type] = 'tcarecords-' . $table . '-' . $type; + } } } Index: t3lib/spritemanager/class.t3lib_spritemanager_simplehandler.php =================================================================== --- t3lib/spritemanager/class.t3lib_spritemanager_simplehandler.php (revision 8103) +++ t3lib/spritemanager/class.t3lib_spritemanager_simplehandler.php (working copy) @@ -121,7 +121,9 @@ $iconPath = '../../' . TYPO3_mainDir; foreach((array) $GLOBALS['TBE_STYLES']['spritemanager']['singleIcons'] as $iconName => $iconFile) { - $css = str_replace('###NAME###', str_replace('extensions-', '', $iconName), $this->styleSheetTemplateExtIcons); + $css = str_replace('###NAME###', str_replace( + array('extensions-', 'tcarecords-'), array('', ''), $iconName + ), $this->styleSheetTemplateExtIcons); $css = str_replace('###IMAGE###', t3lib_div::resolveBackPath($iconPath . $iconFile), $css); $this->iconNames[] = $iconName;