]> git.joonet.de Git - adminer.git/commitdiff
Always hide import
authorJakub Vrana <jakub@vrana.cz>
Wed, 14 Feb 2018 05:42:07 +0000 (06:42 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 14 Feb 2018 05:42:07 +0000 (06:42 +0100)
adminer/select.inc.php

index acce4ad6f9aecbe98c6b2e46b8e29f12abe628ff..b59398cfa3d7b4d7c7ac31deb61cd058cdaaa469 100644 (file)
@@ -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') . "'>";