From bb235464789e1b76c4817b335463d4838dbb252c Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 10 Mar 2025 11:53:34 +0100 Subject: [PATCH] Use for altering collations --- adminer/create.inc.php | 7 ++++++- adminer/include/editing.inc.php | 2 +- adminer/procedure.inc.php | 1 + adminer/static/default.css | 4 ++-- changes.txt | 1 + designs/paranoiq/adminer.css | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) 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">