mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 10:34:01 +02:00
Report Drop database error
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1332 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -14,7 +14,7 @@ function connect_error() {
|
||||
queries_redirect(substr(ME, 0, -1), lang('Database has been dropped.'), !$connection->error);
|
||||
}
|
||||
|
||||
page_header(lang('Select database'), "", null);
|
||||
page_header(lang('Select database'), $error, null);
|
||||
echo "<p>";
|
||||
foreach (array(
|
||||
'database' => lang('Create new database'),
|
||||
@@ -35,7 +35,7 @@ function connect_error() {
|
||||
echo "<thead><tr><td><input type='hidden' name='token' value='$token'> <th>" . lang('Database') . "<td>" . lang('Collation') . "</thead>\n";
|
||||
foreach ($databases as $db) {
|
||||
$root = h(ME) . "db=" . urlencode($db);
|
||||
echo "<tr" . odd() . "><td>" . checkbox("db[]", $db, false);
|
||||
echo "<tr" . odd() . "><td>" . checkbox("db[]", $db, in_array($db, (array) $_POST["db"]));
|
||||
echo "<th><a href='$root'>" . h($db) . "</a>";
|
||||
echo "<td><a href='$root&database='>" . nbsp(db_collation($db, $collations)) . "</a>";
|
||||
echo "\n";
|
||||
|
Reference in New Issue
Block a user