Project

General

Profile

Bug #20697 » csv.diff

Administrator Admin, 2009-06-29 18:55

View differences:

typo3/class.db_list_extra.inc (copie de travail)
// Getting header line with field names:
$csvRow = array();
$ctrlFieldArray = array('_PATH_', '_REF_', '_CONTROL_', '_AFTERCONTROL_', '_AFTERREF_', '_CLIPBOARD_', '_LOCALIZATION_', '_LOCALIZATION_b');
foreach ($this->fieldArray as $fN) {
if ($fN == '_CONTROL_' || $fN == '_CLIPBOARD_') {
if (in_array($fN, $ctrlFieldArray)) {
continue;
}
$csvRow[] = $fN;
}
// Set the header + an empty row:
$this->setCsvRow($csvRow);
$this->csvLines[] = '';
(1-1/2)