Bug #21348 ยป 12326.diff
typo3/sysext/setup/mod/index.php (working copy) | ||
---|---|---|
$html = t3lib_div::callUserFunction($config['itemsProcFunc'], $config, $this, '');
|
||
} else {
|
||
$html = '<select id="field_' . $fieldName . '" name="data[' . $fieldName . ']"' . $more . '>' . chr(10);
|
||
foreach ($config['items'] as $key => $value) {
|
||
foreach ($config['items'] as $key => $label) {
|
||
$html .= '<option value="' . $key . '"' .
|
||
($value == $key ? ' selected="selected"' : '') .
|
||
'>' . $this->getLabel($value,'',false) . '</option>' . chr(10);
|
||
'>' . $this->getLabel($label,'',false) . '</option>' . chr(10);
|
||
}
|
||
$html .= '</select>';
|
||
}
|