Project

General

Profile

Bug #23555 » 15735_v2_42.patch

Administrator Admin, 2010-12-09 19:52

View differences:

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