"
. ($jush == "sqlite" ? $vacuum
: ($jush == "pgsql" ? $vacuum . $optimize
- : ($jush == "sql" ? "
" . $optimize
- . "
"
- . "
" . on_help("'ANALYZE TABLE'") . $optimize
+ . "
" . on_help("'CHECK TABLE'")
+ . "
" . on_help("'REPAIR TABLE'")
: "")))
- . "
" . confirm()
- . "
" . confirm() . "\n";
+ . "
" . on_help($jush == "sqlite" ? "'DELETE'" : "'TRUNCATE" . ($jush == "pgsql" ? "'" : " TABLE'")) . confirm()
+ . "
" . on_help("'DROP TABLE'") . confirm() . "\n";
$databases = (support("scheme") ? $adminer->schemas() : $adminer->databases());
if (count($databases) != 1 && $jush != "sqlite") {
$db = (isset($_POST["target"]) ? $_POST["target"] : (support("scheme") ? $_GET["ns"] : DB));
diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php
index 8ec7a326..7f0143c0 100644
--- a/adminer/include/adminer.inc.php
+++ b/adminer/include/adminer.inc.php
@@ -319,8 +319,9 @@ class Adminer {
$val["col"],
($key !== "" ? "selectFieldChange" : "selectAddRow")
);
- echo "
" . ($functions || $grouping ? "
"
+ echo "
" . ($functions || $grouping ? ""
+ . on_help("getTarget(event).value && getTarget(event).value.replace(/ |\$/, '(') + ')'", 1)
. script("qsl('select').onchange = function () { helpClose();" . ($key !== "" ? "" : " this.nextSibling.nextSibling.nextSibling.onchange();") . " };", "")
. "($column)" : $column) . "
\n";
$i++;
diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php
index 4cae2c70..1e30c48a 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -141,7 +141,7 @@ function edit_type($key, $field, $collations, $foreign_keys = array()) {
global $structured_types, $types, $unsigned, $on_actions;
$type = $field["type"];
?>
-
|