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

ChangeLog
typo3/mod/user/ws/class.wslib_gui.php

index 954601d..dda10cc 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)
 
        * Follow-up to bug #15188: Remove default greyed out effect for CEs (Thanks to Steffen Gebert)
        * Fixed bug #15295: Page treeFilter not re-applied after branch toggling (Thanks to Felix Kopp)
-       
+
 2010-07-29  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #13427: t3lib_div::cleanOutputBuffers() might loop forever (thanks to Stephan Seitz and Steffen Gebert)
index e2968ed..383a892 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;';
        }