]> git.joonet.de Git - adminer.git/commitdiff
Encapsulate fulltext part in search box into <div>
authorPeter Knut <peter@pematon.com>
Sun, 21 Jan 2018 00:25:33 +0000 (01:25 +0100)
committerJakub Vrana <jakub@vrana.cz>
Mon, 22 Jan 2018 09:53:50 +0000 (10:53 +0100)
adminer/include/adminer.inc.php

index c1fecd498c56d4f1ef53535c2f22742e4e202a77..5acd443331c5e998475b5e7f12f21942b6386a67 100644 (file)
@@ -339,11 +339,11 @@ class Adminer {
                print_fieldset("search", lang('Search'), $where);
                foreach ($indexes as $i => $index) {
                        if ($index["type"] == "FULLTEXT") {
-                               echo "(<i>" . implode("</i>, <i>", array_map('h', $index["columns"])) . "</i>) AGAINST";
+                               echo "<div>(<i>" . implode("</i>, <i>", array_map('h', $index["columns"])) . "</i>) AGAINST";
                                echo " <input type='search' name='fulltext[$i]' value='" . h($_GET["fulltext"][$i]) . "'>";
                                echo script("qsl('input').oninput = selectFieldChange;", "");
                                echo checkbox("boolean[$i]", 1, isset($_GET["boolean"][$i]), "BOOL");
-                               echo "<br>\n";
+                               echo "</div>\n";
                        }
                }
                $_GET["where"] = (array) $_GET["where"];