Project

General

Profile

Bug #37195 ยป beUsersTable.diff

Christoph Buchli, 2012-05-15 17:33

View differences:

typo3/sysext/setup/mod/index.php (Arbeitskopie)
if (!$class) {
$more .= ' class="check"';
}
$tablePart = ($config['table'] == 'be_users') ? '[be_users]' : '';
$html = '<input id="field_' . $fieldName . '"
type="checkbox"
name="data[' . $fieldName . ']"' .
name="data'. $tablePart .'[' . $fieldName . ']"' .
($value ? ' checked="checked"' : '') . $more . ' />';
break;
case 'select':
......
if ($config['itemsProcFunc']) {
$html = t3lib_div::callUserFunction($config['itemsProcFunc'], $config, $this, '');
} else {
$html = '<select id="field_' . $fieldName . '" name="data[' . $fieldName . ']"' . $more . '>' . LF;
$tablePart = ($config['table'] == 'be_users') ? '[be_users]' : '';
$html = '<select id="field_' . $fieldName . '" name="data'. $tablePart .'[' . $fieldName . ']"' . $more . '>' . LF;
foreach ($config['items'] as $key => $optionLabel) {
$html .= '<option value="' . $key . '"' .
($value == $key ? ' selected="selected"' : '') .
    (1-1/1)