From: jakubvrana Date: Fri, 2 Oct 2009 13:21:34 +0000 (+0000) Subject: Utilize html_select X-Git-Tag: v3.0.0~372 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=06984091d50679ae28845324b5739e83e5f076bc;p=adminer.git Utilize html_select git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1162 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/adminer/create.inc.php b/adminer/create.inc.php index 28bef2ca..5ff58c7e 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -155,8 +155,8 @@ foreach ($engines as $engine) {

: "> - - + "(" . lang('engine') . ")") + $engines, $row["Engine"]); ?> + "(" . lang('collation') . ")") + $collations, $row["Collation"]); ?>

@@ -178,7 +178,7 @@ if ($connection->server_info >= 5.1) { ?>

- + "") + $partition_by, $row["partition_by"], "partition_by_change(this);"); ?> (">) : ">

> diff --git a/adminer/database.inc.php b/adminer/database.inc.php index ba106772..f0d36679 100644 --- a/adminer/database.inc.php +++ b/adminer/database.inc.php @@ -72,7 +72,7 @@ if ($_POST) { ? '
' : '' ) . "\n"; ?> - + "(" . lang('collation') . ")") + $collations, $collate); ?> " . lang('Move to other database') . ($dbs ? ": " : ': ') . " \n"; + echo "

" . lang('Move to other database') . ($dbs ? ": " . html_select("target", $dbs, $db) : ': ') . " \n"; } echo "\n"; } diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php index 8e3e8cca..7bc6c30a 100644 --- a/adminer/dump.inc.php +++ b/adminer/dump.inc.php @@ -144,16 +144,16 @@ if ($connection->server_info >= 5) { } echo "

diff --git a/adminer/event.inc.php b/adminer/event.inc.php index 4a35f804..52d15f17 100644 --- a/adminer/event.inc.php +++ b/adminer/event.inc.php @@ -40,8 +40,8 @@ if ($_POST) { " maxlength="64"> "> "> -" size="6"> - +" size="6"> + " maxlength="64">   diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index a0b54ea6..f3c54538 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -44,7 +44,7 @@ $target = ($TABLE === $row["table"] ? $source : get_vals("SHOW COLUMNS FROM " .

: - +