diff --git a/adminer/create.inc.php b/adminer/create.inc.php index f4baef5b..ede508a2 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -183,7 +183,12 @@ foreach ($engines as $engine) { : data-maxlength="64" value="" autocapitalize="off"> "(" . lang('engine') . ")") + $engines, $row["Engine"]) . on_help("getTarget(event).value", 1) . script("qsl('select').onchange = helpClose;") : ""); ?> - "(" . lang('collation') . ")") + $collations, $row["Collation"]) : ""); ?> + " . optionlist($collations) . ""; + echo (preg_match("~sqlite|mssql~", JUSH) ? "" : ""); + } + ?> diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 56629c14..321df2d6 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -224,7 +224,7 @@ function edit_type($key, $field, $collations, $foreign_keys = array(), $extra_ty size="3" aria-labelledby="label-length">