mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
New plugin: AI prompt in SQL command creating the queries with Google Gemini
This commit is contained in:
@@ -235,7 +235,9 @@ if (!isset($_GET["import"])) {
|
||||
echo "<p>";
|
||||
textarea("query", $q, 20);
|
||||
echo script(($_POST ? "" : "qs('textarea').focus();\n") . "qs('#form').onsubmit = partial(sqlSubmit, qs('#form'), '" . js_escape(remove_from_uri("sql|limit|error_stops|only_errors|history")) . "');");
|
||||
echo "<p>$execute\n";
|
||||
echo "<p>";
|
||||
$adminer->sqlPrintAfter();
|
||||
echo "$execute\n";
|
||||
echo lang('Limit rows') . ": <input type='number' name='limit' class='size' value='" . h($_POST ? $_POST["limit"] : $_GET["limit"]) . "'>\n";
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user