mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Encapsulate fulltext part in search box into <div>
This commit is contained in:
@@ -339,11 +339,11 @@ class Adminer {
|
|||||||
print_fieldset("search", lang('Search'), $where);
|
print_fieldset("search", lang('Search'), $where);
|
||||||
foreach ($indexes as $i => $index) {
|
foreach ($indexes as $i => $index) {
|
||||||
if ($index["type"] == "FULLTEXT") {
|
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 " <input type='search' name='fulltext[$i]' value='" . h($_GET["fulltext"][$i]) . "'>";
|
||||||
echo script("qsl('input').oninput = selectFieldChange;", "");
|
echo script("qsl('input').oninput = selectFieldChange;", "");
|
||||||
echo checkbox("boolean[$i]", 1, isset($_GET["boolean"][$i]), "BOOL");
|
echo checkbox("boolean[$i]", 1, isset($_GET["boolean"][$i]), "BOOL");
|
||||||
echo "<br>\n";
|
echo "</div>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$_GET["where"] = (array) $_GET["where"];
|
$_GET["where"] = (array) $_GET["where"];
|
||||||
|
Reference in New Issue
Block a user