Project

General

Profile

Feature #17817 ยป 20071119_br_in_flexform_labels2.diff

Administrator Admin, 2007-11-20 10:26

View differences:

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>';
}
    (1-1/1)