Project

General

Profile

Bug #14797 ยป class.t3lib_tceforms.php.bug1169.patch

Administrator Admin, 2005-12-12 12:32

View differences:

typo380src/t3lib/class.t3lib_tceforms.php 2005-12-12 12:31:48.426049392 +0100
$item = $this->getSingleField_SW($table,$field,$row,$PA);
// Add language + diff
$item = $this->renderDefaultLanguageContent($table,$field,$row,$item);
$item = $this->renderDefaultLanguageDiff($table,$field,$row,$item);
$displayConfig = $BE_USER->userTS['TCEFORM.'][$table .'.'][$field .'.'];
if (isset($displayConfig) && $displayConfig['disableDefaultLanguage'] != 1) {
$item = $this->renderDefaultLanguageContent($table,$field,$row,$item);
} elseif (!isset($displayConfig['disableDefaultLanguage'])) {
$item = $this->renderDefaultLanguageContent($table,$field,$row,$item);
}
if (isset($displayConfig) && $displayConfig['disableDefaultLanguageDiff'] != 1) {
$item = $this->renderDefaultLanguageDiff($table,$field,$row,$item);
} elseif (!isset($displayConfig['disableDefaultLanguageDiff'])) {
$item = $this->renderDefaultLanguageDiff($table,$field,$row,$item);
}
// If the record has been saved and the "linkTitleToSelf" is set, we make the field name into a link, which will load ONLY this field in alt_doc.php
$PA['label'] = t3lib_div::deHSCentities(htmlspecialchars($PA['label']));
    (1-1/1)