Fixed bug #15753: Pageicons in WS module are broken
authorSteffen Kamper <info@sk-typo3.de>
Mon, 20 Sep 2010 16:42:27 +0000 (16:42 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 20 Sep 2010 16:42:27 +0000 (16:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8830 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/version/ws/class.wslib_gui.php

index 29c864b..a30e037 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-20  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #15753: Pageicons in WS module are broken
+
 2010-09-20  Francois Suter  <francois@typo3.org>
 
        * Fixed bug #14783: absRefPrefix should work with $TYPO3_CONF_VARS[BE][RTE_imageStorageDir] (thanks to Steffen Mueller)
index bfa963a..9e12504 100644 (file)
@@ -613,7 +613,7 @@ class wslib_gui {
        function displayWorkspaceOverview_pageTreeIconTitle($pageUid, $title, $indentCount)     {
                $pRec = t3lib_BEfunc::getRecord('pages',$pageUid);
                return '<img src="clear.gif" width="1" height="1" hspace="'.($indentCount * $this->pageTreeIndent).'" align="top" alt="" />'.   // Indenting page tree
-                       t3lib_iconWorks::getIconImage('pages',$pRec,$this->doc->backPath,' align="top" title="'.t3lib_BEfunc::getRecordIconAltText($pRec,'pages').'"').
+                       t3lib_iconWorks::getSpriteIconForRecord('pages', $pRec, array('title'=> t3lib_BEfunc::getRecordIconAltText($pRec,'pages'))) .
                        htmlspecialchars(t3lib_div::fixed_lgd_cs($title,$this->pageTreeIndent_titleLgd)).
                        '&nbsp;&nbsp;';
        }