Project

General

Profile

Actions

Bug #19447

closed

Folder icons in filelist file tree don't get skinned anymore

Added by Francois Suter about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2008-10-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In version 4.2.2 and trunk, the folders it the file tree of the File > List module don't get properly skinned anymore.

This is due to a change copied from class.t3lib_foldertree.php to class.filelistfoldertree.php, but with an non-existing variable in the latter:

$icon = 'gfx/i/_icon_' .$webpath . 'folders' . ($type == 'readonly' ? '_ro' : '') . '.gif';

but $webpath is undefined in class.filelistfoldertree.php. The solution is simply to define with the value there was before this variable was introduced:

$webpath = t3lib_BEfunc::getPathType_web_nonweb($path);

(issue imported from #M9535)


Files

bug9535.patch (543 Bytes) bug9535.patch Administrator Admin, 2008-10-11 00:00
Actions #1

Updated by Sebastian Michaelsen about 16 years ago

Works fine, thanks!

Actions #2

Updated by Michael Stucki about 16 years ago

Fixed in TYPO3_4-2 and Trunk.

Actions

Also available in: Atom PDF