Project

General

Profile

Actions

Bug #19596

closed

Fallback for skinImg having forceFileExtension

Added by Steffen Kamper about 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-11-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The problem is visible with the icon used for insert from clipboard.

There is a icon used "insert5.png" (see insert1.png). Same icon exists in t3skin, but it's not shown because forceFileExtension is set to "gif"

So the function looks for insert5.gif, which doesn't exists and displays the one from oldskin.

Solution:
use a fallback if the icon with forceFileExtension doesn't exists and look for original file (insert5.png). The attached patch does this and fix the problem, the icon from t3skin is shown now.

(issue imported from #M9773)


Files

insert1.png (5.49 KB) insert1.png Administrator Admin, 2008-11-11 23:48
insert2.png (5.5 KB) insert2.png Administrator Admin, 2008-11-11 23:48
9773_fallback.diff (1.03 KB) 9773_fallback.diff Administrator Admin, 2008-11-11 23:49
Actions #1

Updated by Steffen Kamper almost 16 years ago

committed to trunk ver 4593

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF