mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Disable spell checking in SQL textareas
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1498 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -129,15 +129,15 @@ if (!$error && $_POST) {
|
||||
?>
|
||||
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
<p><textarea name="query" rows="20" cols="80" style="width: 98%;"><?php
|
||||
<p><?php
|
||||
$q = $_GET["sql"]; // overwrite $q from if ($_POST) to save memory
|
||||
if ($_POST) {
|
||||
$q = $_POST["query"];
|
||||
} elseif ($_GET["history"] != "") {
|
||||
$q = $history[$_GET["history"]];
|
||||
}
|
||||
echo h($q);
|
||||
?></textarea>
|
||||
textarea("query", $q, 20);
|
||||
?>
|
||||
<p>
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
<input type="submit" value="<?php echo lang('Execute'); ?>">
|
||||
|
Reference in New Issue
Block a user