Project

General

Profile

Bug #23555 » 15735_v2_trunk.patch

Administrator Admin, 2010-12-09 19:52

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_form.php (Arbeitskopie)
} else {
$confData['fieldname'] = str_replace(' ', '_', trim($typeParts[0]));
}
$confData['fieldname'] = htmlspecialchars($confData['fieldname']);
$fieldCode = '';
$wrapFieldName = isset($conf['wrapFieldName'])
......
// Field:
$fieldLabel = $confData['label'];
$fieldLabel = t3lib_div::removeXSS($fieldLabel);
if ($accessibility && trim($fieldLabel) && !preg_match('/^(label|hidden|comment)$/', $confData['type'])) {
$fieldLabel = '<label for="' . $prefix . $fName . '">' . $fieldLabel . '</label>';
}
(5-5/12)