2010-05-30 Steffen Kamper <info@sk-typo3.de>
+ * Fixed bug #14530: Missing icons in new BE skin (sprites) v4
* Fixed bug #14530: Missing icons in new BE skin (sprites) v3
* Fixed bug #14530: Missing icons in new BE skin (sprites) v2
* Fixed bug #14526: page tree filterbox styling fixed in new BE layout (Thanks to Jigal van Hemert)
$alttext = '[' . $row['templateID'] . ']';
$alttext .= $row['pid'] ? ' - ' . t3lib_BEfunc::getRecordPath($row['pid'], $GLOBALS['SOBE']->perms_clause, 20) : '';
- $icon = substr($row['templateID'],0,3) == 'sys' ? t3lib_iconWorks::getSpriteIconForRecord('sys_template', $row['root'],array('title'=>$alttext)) :
- (substr($row['templateID'], 0, 6) == 'static' ? t3lib_iconWorks::getSpriteIconForRecord('static_template', array(),array('title'=>$alttext)) :
- t3lib_iconWorks::getSpriteIcon('mimetypes-default',array('title'=>$alttext)));
+ $icon = (substr($row['templateID'],0,3) == 'sys' ?
+ t3lib_iconWorks::getSpriteIconForRecord('sys_template', $row['root'], array('title' => $alttext))
+ : t3lib_iconWorks::getSpriteIcon('mimetypes-x-content-template-static', array('title' => $alttext))
+ );
if (in_array($row['templateID'], $this->clearList_const) || in_array($row['templateID'], $this->clearList_setup)) {
$A_B = '<a href="index.php?id=' . $GLOBALS['SOBE']->id . '&template=' . $row['templateID'] . '">';
$A_E = '</a>';
}
$localItems[] = $backRef->linkItem(
$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('export',$LL)),
- $backRef->excludeIcon(t3lib_iconWorks::getSpriteIcon('actions-document-export')),
+ $backRef->excludeIcon(t3lib_iconWorks::getSpriteIcon('actions-document-export-t3d')),
$backRef->urlRefForCM($url),
1 // Disables the item in the top-bar
);
$url = $modUrl . '?id='. $uid . '&table=' . $table . '&tx_impexp[action]=import';
$localItems[] = $backRef->linkItem(
$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('import',$LL)),
- $backRef->excludeIcon(t3lib_iconWorks::getSpriteIcon('actions-document-export')),
+ $backRef->excludeIcon(t3lib_iconWorks::getSpriteIcon('actions-document-import-t3d')),
$backRef->urlRefForCM($url),
1 // Disables the item in the top-bar
);