From 06984091d50679ae28845324b5739e83e5f076bc Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Fri, 2 Oct 2009 13:21:34 +0000 Subject: [PATCH] Utilize html_select git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1162 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/create.inc.php | 6 +++--- adminer/database.inc.php | 2 +- adminer/db.inc.php | 2 +- adminer/dump.inc.php | 10 +++++----- adminer/event.inc.php | 4 ++-- adminer/foreign.inc.php | 10 +++++----- adminer/include/adminer.inc.php | 14 +++++--------- adminer/include/editing.inc.php | 8 ++++++-- adminer/include/functions.inc.php | 10 +++++----- adminer/include/lang.inc.php | 6 +++--- adminer/indexes.inc.php | 4 ++-- adminer/trigger.inc.php | 4 ++-- editor/include/adminer.inc.php | 10 +++++----- 13 files changed, 45 insertions(+), 45 deletions(-) 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 " .

: - +