mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Utilize html_select
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1162 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -68,7 +68,7 @@ if (!$table_status) {
|
||||
$dbs = get_databases();
|
||||
if (count($dbs) != 1) {
|
||||
$db = (isset($_POST["target"]) ? $_POST["target"] : DB);
|
||||
echo "<p>" . lang('Move to other database') . ($dbs ? ": <select name='target'>" . optionlist($dbs, $db) . "</select>" : ': <input name="target" value="' . h($db) . '">') . " <input type='submit' name='move' value='" . lang('Move') . "'>\n";
|
||||
echo "<p>" . lang('Move to other database') . ($dbs ? ": " . html_select("target", $dbs, $db) : ': <input name="target" value="' . h($db) . '">') . " <input type='submit' name='move' value='" . lang('Move') . "'>\n";
|
||||
}
|
||||
echo "</form>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user