Fixed bug #9535: Folder icons in filelist file tree don't get skinned anymore (patch...
authorMichael Stucki <michael.stucki@typo3.org>
Sun, 19 Oct 2008 13:23:12 +0000 (13:23 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Sun, 19 Oct 2008 13:23:12 +0000 (13:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4329 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.filelistfoldertree.php

index 621af6d..0cafd2c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2008-10-19  Michael Stucki  <michael@typo3.org>
 
+       * Fixed bug #9535: Folder icons in filelist file tree don't get skinned anymore (patch by Francois Suter)
        * Fixed bug #9497: Edit in Rich Text Editor - Button does not work anymore in Web>Page (patch by Oliver Hader)
 
 2008-10-18  Dmitry Dulepov  <dmitry@typo3.org>
index a8b83a2..1ea88d8 100755 (executable)
@@ -405,6 +405,7 @@ class filelistFolderTree extends t3lib_folderTree {
                        if ($this->makeHTML)    {
                                $HTML = $this->PMicon($row,$a,$c,$nextCount,$exp);
 
+                               $webpath = t3lib_BEfunc::getPathType_web_nonweb($path);
                                $icon = 'gfx/i/_icon_' .$webpath . 'folders' . ($type == 'readonly' ? '_ro' : '') . '.gif';
                                if ($val == '_temp_')   {
                                        $icon = 'gfx/i/sysf.gif';