\n";
+ echo ($type == "PROCEDURE" ? "" : "");
+ echo " | " . ($type == "TABLE" ? lang('Column name') : lang('Parameter name'));
+ echo " | " . lang('Type') . "" . script("qs('#enum-edit').onblur = editingLengthBlur;");
+ echo " | " . lang('Length');
+ echo " | " . lang('Options'); // no label required, options have their own label
if ($type == "TABLE") {
echo " | NULL\n";
echo " | AI";
diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php
index ca728e44..14b10e58 100644
--- a/adminer/include/html.inc.php
+++ b/adminer/include/html.inc.php
@@ -520,10 +520,8 @@ function edit_form($table, $fields, $row, $update) {
if (isset($_GET["select"])) {
hidden_fields(array("check" => (array) $_POST["check"], "clone" => $_POST["clone"], "all" => $_POST["all"]));
}
- ?>
-">
-
-
-
-\n";
+ echo "\n";
+ echo input_token();
+ echo "\n";
}
diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php
index bab09e50..17fbbca0 100644
--- a/editor/include/adminer.inc.php
+++ b/editor/include/adminer.inc.php
@@ -590,15 +590,10 @@ qsl('div').onclick = whisperClick;", "")
function navigation($missing) {
global $VERSION;
- ?>
-
-" . $this->name() . "$VERSION";
+ $new_version = $_COOKIE["adminer_version"];
+ echo " " . (version_compare($VERSION, $new_version) < 0 ? h($new_version) : "") . "";
+ echo "\n";
switch_lang();
if ($missing == "auth") {
$first = true;
|