mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Revert "Table-less drivers: Hide Create table link"
This reverts commit841f76fb00
. This reverts commit8fed1523ec
.
This commit is contained in:
@@ -165,7 +165,7 @@ if ($adminer->homepage()) {
|
||||
echo script("tableCheck();");
|
||||
}
|
||||
|
||||
echo "<p class='links'>" . (support("table") ? "<a href='" . h(ME) . "create='>" . lang('Create table') . "</a>\n" : "");
|
||||
echo "<p class='links'><a href='" . h(ME) . "create='>" . lang('Create table') . "</a>\n";
|
||||
echo (support("view") ? "<a href='" . h(ME) . "view='>" . lang('Create view') . "</a>\n" : "");
|
||||
|
||||
if (support("routine")) {
|
||||
|
@@ -1032,7 +1032,7 @@ class Adminer {
|
||||
$actions[] = "<a href='" . h(ME) . "dump=" . urlencode(isset($_GET["table"]) ? $_GET["table"] : $_GET["select"]) . "' id='dump'" . bold(isset($_GET["dump"])) . ">" . lang('Export') . "</a>";
|
||||
}
|
||||
$in_db = $_GET["ns"] !== "" && !$missing && DB != "";
|
||||
if ($in_db && support("table")) {
|
||||
if ($in_db) {
|
||||
$actions[] = '<a href="' . h(ME) . 'create="' . bold($_GET["create"] === "") . ">" . lang('Create table') . "</a>";
|
||||
}
|
||||
echo ($actions ? "<p class='links'>\n" . implode("\n", $actions) . "\n" : "");
|
||||
|
Reference in New Issue
Block a user