Index: typo3/class.db_list_extra.inc =================================================================== --- typo3/class.db_list_extra.inc (revision 10315) +++ typo3/class.db_list_extra.inc (revision ) @@ -672,9 +672,17 @@ $theIcon = $this->clickMenuEnabled ? $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg,$table,$row['uid']) : $iconImg; + // Have labels respect possible itemsProcFunc results + if(isset($GLOBALS['TCA'][$table]['columns'])) { + foreach($GLOBALS['TCA'][$table]['columns'] as $field => $fieldSetup) { + if(isset($fieldSetup['config']['itemsProcFunc'])) { + $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'] = t3lib_TCEforms::procItems($fieldSetup['config']['items'], $fieldSetup['config']['itemsProcFunc'], $fieldSetup['config'], $table, $row, $field); + } + } + } - // Preparing and getting the data-array + // Preparing and getting the data-array $theData = Array(); - foreach($this->fieldArray as $fCol) { + foreach($this->fieldArray as $fCol) { if ($fCol==$titleCol) { $recTitle = t3lib_BEfunc::getRecordTitle($table,$row,FALSE,TRUE); // If the record is edit-locked by another user, we will show a little warning sign: @@ -1875,4 +1883,4 @@ include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/class.db_list_extra.inc']); } -?> \ No newline at end of file +?>