Bug #18906 ยป select_width.diff
t3lib/class.t3lib_tceforms.php (working copy) | ||
---|---|---|
// Getting style attribute value (for icons):
|
||
if ($config['iconsInOptionTags']) {
|
||
$styleAttrValue = $this->optionTagStyle($p[2]);
|
||
$cssClass = ' class="iconSelect"';
|
||
if ($sM) {
|
||
list($selectIconFile,$selectIconInfo) = $this->getIcon($p[2]);
|
||
if (!empty($selectIconInfo)) {
|
||
... | ... | |
$item.= '<input type="hidden" name="'.$PA['itemFormElName'].'_selIconVal" value="'.htmlspecialchars($sI).'" />'; // MUST be inserted before the selector - else is the value of the hiddenfield here mysteriously submitted...
|
||
}
|
||
$item.= '<select'.$selectedStyle.' name="'.$PA['itemFormElName'].'"'.
|
||
($cssClass ? $cssClass : '') .
|
||
$this->insertDefStyle('select').
|
||
($size?' size="'.$size.'"':'').
|
||
' onchange="'.htmlspecialchars($sOnChange).'"'.
|
typo3/stylesheet.css (working copy) | ||
---|---|---|
color: #666;
|
||
}
|
||
select.iconSelect {
|
||
min-width: 240px;
|
||
}
|
||
table.typo3-TCEforms OPTGROUP.c-divider,
|
||
select option.c-divider {
|
||
font-style: italic;
|