1
0
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:
Jakub Vrana
2025-03-18 09:29:30 +01:00
parent 73e7e00c77
commit 841f76fb00

View File

@@ -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";