Project

General

Profile

Feature #18099 ยป show_pid_in_records.diff

Administrator Admin, 2008-02-02 13:22

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$prec = t3lib_BEfunc::getRecordWSOL('pages',$truePid,'title');
$rLabel = '<em>[PID: '.$truePid.'] '.htmlspecialchars(trim(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle('pages',$prec),40))).'</em>';
} else {
$newLabel = ' <span class="typo3-TCEforms-recUid">['.$rec['uid'].']</span>';
$newLabel = ' <span class="typo3-TCEforms-recUid" title="pid: '.$rec['pid'].'">['.$rec['uid'].']</span>';
$rLabel = htmlspecialchars(trim(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$rec),40)));
}
    (1-1/1)