mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Table-less drivers: Hide Create table link
This commit is contained in:
@@ -165,8 +165,8 @@ if ($adminer->homepage()) {
|
|||||||
echo script("tableCheck();");
|
echo script("tableCheck();");
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<p class="links"><a href="' . h(ME) . 'create=">' . lang('Create table') . "</a>\n";
|
echo "<p class='links'>" . (support("table") ? "<a href='" . h(ME) . "create='>" . lang('Create table') . "</a>\n" : "");
|
||||||
echo (support("view") ? '<a href="' . h(ME) . 'view=">' . lang('Create view') . "</a>\n" : "");
|
echo (support("view") ? "<a href='" . h(ME) . "view='>" . lang('Create view') . "</a>\n" : "");
|
||||||
|
|
||||||
if (support("routine")) {
|
if (support("routine")) {
|
||||||
echo "<h3 id='routines'>" . lang('Routines') . "</h3>\n";
|
echo "<h3 id='routines'>" . lang('Routines') . "</h3>\n";
|
||||||
|
Reference in New Issue
Block a user