Bug #16480 ยป bug_4076_w.diff
t3lib/class.t3lib_tceforms.php (Arbeitskopie) | ||
---|---|---|
if ($specConf['fixed-font']) { $classes[] = 'fixed-font'; }
|
||
if ($specConf['enable-tab']) { $classes[] = 'enable-tab'; }
|
||
$formWidthText = $this->formWidthText($cols,$wrap);
|
||
// Extract class attributes from $formWidthText (otherwise it would be added twice to the output)
|
||
if (preg_match('/ class="(.+?)"/',$formWidthText,$res)) {
|
||
$formWidthText = str_replace(' class="'.$res[1].'"','',$formWidthText);
|
||
$classes = array_merge($classes, explode(' ',$res[1]));
|
||
}
|
||
if (count($classes)) {
|
||
$class = ' class="'.implode(' ',$classes).'"';
|
||
} else $class='';
|
||
$iOnChange = implode('',$PA['fieldChangeFunc']);
|
||
$item.= '
|
||
<textarea name="'.$PA['itemFormElName'].'"'.$this->formWidthText($cols,$wrap).$class.' rows="'.$rows.'" wrap="'.$wrap.'" onchange="'.htmlspecialchars($iOnChange).'"'.$PA['onFocus'].'>'.
|
||
<textarea name="'.$PA['itemFormElName'].'"'.$formWidthText.$class.' rows="'.$rows.'" wrap="'.$wrap.'" onchange="'.htmlspecialchars($iOnChange).'"'.$PA['onFocus'].'>'.
|
||
t3lib_div::formatForTextarea($PA['itemFormElValue']).
|
||
'</textarea>';
|
||
$item = $this->renderWizards(array($item,$altItem),$config['wizards'],$table,$row,$field,$PA,$PA['itemFormElName'],$specConf,$RTEwouldHaveBeenLoaded);
|