Project

General

Profile

Bug #18517 » t3lib_tceforms-addIconToDropdownBox-rev2.patch

Administrator Admin, 2008-04-02 14:27

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$styleAttrValue = $this->optionTagStyle($p[2]);
if ($sM) {
list($selectIconFile,$selectIconInfo) = $this->getIcon($p[2]);
if (!empty($selectIconFile)) {
if (!empty($selectIconInfo)) {
$selectedStyle = ' style="background-image: url('.$selectIconFile.'); background-repeat: no-repeat; background-position: 0% 50%; padding: 1px; padding-left: 22px;"';
}
}
(5-5/5)