Fixed bug #14530: Missing icons in new BE skin (sprites) v4
authorSteffen Kamper <info@sk-typo3.de>
Sun, 30 May 2010 20:46:29 +0000 (20:46 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sun, 30 May 2010 20:46:29 +0000 (20:46 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7769 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tsparser_ext.php
typo3/sysext/impexp/class.tx_impexp_clickmenu.php

index 647cf72..b6e9a62 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 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)
index ab77fd5..6e6e204 100644 (file)
@@ -599,9 +599,10 @@ class t3lib_tsparser_ext extends t3lib_TStemplate  {
                        $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>';
index 7135b28..6376aa9 100755 (executable)
@@ -96,7 +96,7 @@ class tx_impexp_clickmenu {
                        }
                        $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
                        );
@@ -105,7 +105,7 @@ class tx_impexp_clickmenu {
                                $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
                                );