1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Import supports TSV

This commit is contained in:
Jakub Vrana
2011-01-27 15:03:41 +01:00
parent 675ac01cc1
commit 56b0377451
19 changed files with 1 additions and 19 deletions

View File

@@ -411,7 +411,7 @@ if (!$columns) {
echo " <input type='submit' name='export' value='" . lang('Export') . "' onclick='eventStop(event);'>\n";
echo "</div></fieldset>\n";
}
print_fieldset("import", lang('CSV Import'), !$rows);
print_fieldset("import", lang('Import'), !$rows);
echo "<input type='hidden' name='token' value='$token'><input type='file' name='csv_file'> ";
echo html_select("separator", array("csv" => "CSV,", "csv;" => "CSV;", "tsv" => "TSV"), $adminer_export["format"], 1); // 1 - select
echo " <input type='submit' name='import' value='" . lang('Import') . "'>\n";