Project

General

Profile

Feature #17606 » LabelOverriding_v1_(trunk).patch

Administrator Admin, 2007-11-06 14:53

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
// Find item
$item='';
$PA['label'] = $PA['altName'] ? $PA['altName'] : $PA['fieldConf']['label'];
$PA['label'] = $PA['fieldTSConfig']['label'] ? $PA['fieldTSConfig']['label'] : $PA['label'];
$PA['label'] = $PA['fieldTSConfig']['label.'][$GLOBALS['LANG']->lang] ? $PA['fieldTSConfig']['label.'][$GLOBALS['LANG']->lang] : $PA['label'];
$PA['label'] = $this->sL($PA['label']);
// JavaScript code for event handlers:
$PA['fieldChangeFunc']=array();
(4-4/4)