Feature #17818 ยป 20071119_br_in_flexform_labels2.diff
t3lib/class.t3lib_tceforms.php (working copy) | ||
---|---|---|
}
|
||
// Put row together
|
||
// possible linebreaks in the label through xml: \n => <br/>, usage of nl2br() not possible, so it's done through str_replace. Added in 4.2
|
||
$tRows[]='<div>
|
||
<div class="bgColor5">'.($vDEFkey=='vDEF' ? '' : $this->getLanguageIcon($table,$row,$vDEFkey)).$theTitle.'</div>
|
||
<div class="bgColor5">'.($vDEFkey=='vDEF' ? '' : $this->getLanguageIcon($table,$row,$vDEFkey)).str_replace('\n','<br />',$theTitle).'</div>
|
||
<div class="bgColor4">'.$theFormEl.$defInfo.$this->renderVDEFDiff($editData[$key],$vDEFkey).'</div>
|
||
</div>';
|
||
}
|