mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Always hide import
This commit is contained in:
@@ -565,7 +565,7 @@ if (!$columns && support("table")) {
|
||||
echo "<div>";
|
||||
echo "<a href='#import'>" . lang('Import') . "</a>";
|
||||
echo script("qsl('a').onclick = partial(toggle, 'import');", "");
|
||||
echo "<span id='import'" . ($rows ? " class='hidden'" : "") . ">: ";
|
||||
echo "<span id='import' class='hidden'>: ";
|
||||
echo "<input type='file' name='csv_file'> ";
|
||||
echo html_select("separator", array("csv" => "CSV,", "csv;" => "CSV;", "tsv" => "TSV"), $adminer_import["format"], 1); // 1 - select
|
||||
echo " <input type='submit' name='import' value='" . lang('Import') . "'>";
|
||||
|
Reference in New Issue
Block a user