mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
Move up create table link (thanks to Filip Prochazka)
This commit is contained in:
@@ -741,6 +741,7 @@ DROP PROCEDURE adminer_alter;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($_GET["ns"] !== "" && !$missing) {
|
if ($_GET["ns"] !== "" && !$missing) {
|
||||||
|
echo '<p><a href="' . h(ME) . 'create=">' . bold(lang('Create new table'), $_GET["create"] === "") . "</a>\n";
|
||||||
$tables = tables_list();
|
$tables = tables_list();
|
||||||
if (!$tables) {
|
if (!$tables) {
|
||||||
echo "<p class='message'>" . lang('No tables.') . "\n";
|
echo "<p class='message'>" . lang('No tables.') . "\n";
|
||||||
@@ -757,7 +758,6 @@ DROP PROCEDURE adminer_alter;
|
|||||||
}
|
}
|
||||||
echo "</script>\n";
|
echo "</script>\n";
|
||||||
}
|
}
|
||||||
echo '<p><a href="' . h(ME) . 'create=">' . bold(lang('Create new table'), $_GET["create"] === "") . "</a>\n";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo (isset($_GET["sql"]) ? '<input type="hidden" name="sql" value="">'
|
echo (isset($_GET["sql"]) ? '<input type="hidden" name="sql" value="">'
|
||||||
|
Reference in New Issue
Block a user