Project

General

Profile

Bug #15569 » mailform-accessibility-fieldsets.diff

Administrator Admin, 2006-03-31 15:30

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php 2006-03-31 15:12:26.923507935 +0200
// Field:
$fieldLabel = $confData['label'];
if ($conf['accessibility'] && trim($fieldLabel) && !preg_match('/^(radio|label|hidden|comment)$/',$confData['type'])) {
if ($conf['accessibility'] && trim($fieldLabel) && !preg_match('/^(label|hidden|comment)$/',$confData['type'])) {
$fieldLabel = '<label for="'.$prefix.$fName.'">'.$fieldLabel.'</label>';
}
-- typo3/sysext/css_styled_content/static/setup.txt.orig 2006-03-31 15:10:11.924614482 +0200
++ typo3/sysext/css_styled_content/static/setup.txt 2006-03-31 15:10:32.360905536 +0200
......
REQ = 1
layout = <div class="csc-mailform-field">###LABEL### ###FIELD###</div>
COMMENT.layout = <div class="csc-mailform-label">###LABEL###</div>
RADIO.layout = <div class="csc-mailform-field">###LABEL### <fieldset class="csc-mailform-radio" id="testform_radio">###FIELD###</fieldset></div>
RADIO.layout = <div class="csc-mailform-field">###LABEL### ###FIELD###</div>
LABEL.layout = <div class="csc-mailform-field">###LABEL### <span class="csc-mailform-label">###FIELD###</span></div>
labelWrap.wrap = |
commentWrap.wrap = |
(2-2/2)