+2008-03-16 Ingo Renner <ingo@typo3.org>
+
+ * Fixed bug #7396: hardcoded fieldset and legend around radio buttons
+
2008-03-15 Ingo Renner <ingo@typo3.org>
* Added follow up to #7588: Accesscheck for clearCache, credits Steffen Kamper
break;
case 'radio':
$option='';
- if ($conf['accessibility']) {
- $option.='<fieldset'.$elementIdAttribute.'><legend>'.$confData['label'].'</legend>';
- }
+
$valueParts = explode(',',$parts[2]);
$items=array(); // Where the items will be
$default='';
$option .= $this->stdWrap(trim($items[$a][0]), $conf['radioWrap.']);
}
}
+
if ($conf['accessibility']) {
- $option.='</fieldset>';
+ $accessibilityWrap = $conf['radioWrap.']['accessibilityWrap'];
+
+ $search = array(
+ '###RADIO_FIELD_ID###',
+ '###RADIO_GROUP_LABEL###'
+ );
+ $replace = array(
+ $elementIdAttribute,
+ $confData['label']
+ );
+ $accessibilityWrap = str_replace($search, $replace, $accessibilityWrap);
+
+ $option = $this->wrap($option, $accessibilityWrap);
}
+
$fieldCode = $option;
break;
case 'hidden':
}
[compatVersion = 4.2.0]
-tt_content.bullets.20 >
+tt_content.bullets.20 >
tt_content.bullets.20 = TEXT
tt_content.bullets.20 {
field = bodytext
labelWrap.wrap = |
commentWrap.wrap = |
radioWrap.wrap = |<br />
+ radioWrap.accessibilityWrap = <fieldset###RADIO_FIELD_ID###><legend>###RADIO_GROUP_LABEL###</legend>|</fieldset>
REQ.labelWrap.wrap = |
stdWrap.wrap = <fieldset class="csc-mailform"> | </fieldset>
params.radio = class="csc-mailform-radio"
# new IMAGE features with last row configuration
[compatVersion = 4.2.0]
-
+
plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE := appendString(
DIV.csc-textpic DIV.csc-textpic-imagerow-last { margin-bottom: 0; }
)
}
[END]
-
+
# TYPO3 CVS ID: $Id$