Bug #23555 » 15735_v2_42.patch
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>';
|
||
}
|