Project

General

Profile

Bug #17911 ยป bug_6932_additionalpreviewlanguage.diff

Administrator Admin, 2007-12-12 01:02

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$prLang = $this->getAdditionalPreviewLanguages();
foreach($prLang as $prL) {
$dlVal = t3lib_BEfunc::getProcessedValue($table,$field,$this->additionalPreviewLanguageData[$table.':'.$row['uid']][$prL['uid']][$field],0,1);
$item.= '<div class="typo3-TCEforms-originalLanguageValue">'.$this->getLanguageIcon($table,$row,'v'.$prL['ISOcode']).$this->previewFieldValue($dlVal, $fCfg).'&nbsp;</div>';
if (strcmp($dLVal,'')) {
$item.= '<div class="typo3-TCEforms-originalLanguageValue">'.$this->getLanguageIcon($table,$row,'v'.$prL['ISOcode']).$this->previewFieldValue($dlVal, $fCfg).'&nbsp;</div>';
}
}
}
    (1-1/1)