Project

General

Profile

Bug #18517 » t3lib_tceforms-addIconToDropdownBox-rev1.patch

Administrator Admin, 2008-03-31 22:44

View differences:

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