Remove obsolete files for generating iso8859 XML files
This commit is contained in:
4
csv.php
4
csv.php
@ -56,7 +56,7 @@ foreach ($availableFields as $headline => $fields) {
|
||||
# $tLine4[] = $field['remark'];
|
||||
if (!empty($field['allowedValues'])) $tLine4[] = end($field['allowedValues']);
|
||||
else $tLine4[] = $field['name_human_readable'];
|
||||
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -75,5 +75,5 @@ else
|
||||
header("Content-Disposition: attachment; filename=csvxml_museum-digital_template-{$lang}.csv");
|
||||
|
||||
for ($i = 2; $i <= 4; $i++) {
|
||||
echo mb_convert_encoding('"' . implode("\";\"", ${"line$i"}) . '"' . PHP_EOL, 'utf-16','utf-8');;
|
||||
echo mb_convert_encoding('"' . implode("\";\"", ${"line$i"}) . '"' . PHP_EOL, 'utf-16', 'utf-8');;
|
||||
}
|
||||
|
Reference in New Issue
Block a user