Project

General

Profile

Actions

Bug #18517

closed

Add icon to selected entry (currently icons are only shown in dropdown)

Added by Kasper Ligaard over 16 years ago. Updated over 14 years ago.

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

0%

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

Description

The dropdown boxes currently show icons in the dropdown menu, but not in the closed dropdown. This can be seen in e.g. the 'Type' field in a Page Element.

The attached patch add this.

As all this patch does is attach a style attribute to the select tag, the risk is very low.

Note that the patch uses it's own styling, since using the styling from function optionTagStyle() makes the dropdown box look bad.

Note: Opera does not show icons at all in the dropdown - with or without this patch.
(issue imported from #M7962)


Files

t3lib_tceforms-addIconToDropdownBox.patch (1.42 KB) t3lib_tceforms-addIconToDropdownBox.patch Administrator Admin, 2008-03-30 11:41
icon-in-dropdown-box.gif (4.27 KB) icon-in-dropdown-box.gif Administrator Admin, 2008-03-30 11:54
selector.png (12.7 KB) selector.png Administrator Admin, 2008-03-31 22:44
t3lib_tceforms-addIconToDropdownBox-rev1.patch (776 Bytes) t3lib_tceforms-addIconToDropdownBox-rev1.patch Administrator Admin, 2008-03-31 22:44
t3lib_tceforms-addIconToDropdownBox-rev2.patch (634 Bytes) t3lib_tceforms-addIconToDropdownBox-rev2.patch Administrator Admin, 2008-04-02 14:27
Actions

Also available in: Atom PDF