Project

General

Profile

Bug #18125 » radioAllWrap.diff

Administrator Admin, 2008-03-08 14:22

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
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>';
$radioAllWrap = $conf['radioWrap.']['allWrap'];
$search = array(
'###FIELD_ID###',
'###RADIO_GROUP_LABEL###'
);
$replace = array(
$elementIdAttribute,
$confData['label']
);
$radioAllWrap = str_replace($search, $replace, $radioAllWrap);
$option = $this->wrap($option, $radioAllWrap);
}
$fieldCode = $option;
break;
case 'hidden':
typo3/sysext/css_styled_content/static/setup.txt (working copy)
}
[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.allWrap = <fieldset###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$
(1-1/2)