Bug #20697 » csv.diff
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[] = '';
|