mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
Move schema link to Adminer::homepage method
This commit is contained in:
@@ -719,9 +719,8 @@ DROP PROCEDURE adminer_alter;
|
||||
*/
|
||||
function homepage() {
|
||||
echo '<p>' . ($_GET["ns"] == "" ? '<a href="' . h(ME) . 'database=">' . lang('Alter database') . "</a>\n" : "");
|
||||
if (support("scheme")) {
|
||||
echo "<a href='" . h(ME) . "scheme='>" . ($_GET["ns"] != "" ? lang('Alter schema') : lang('Create schema')) . "</a>\n";
|
||||
}
|
||||
echo (support("scheme") ? "<a href='" . h(ME) . "scheme='>" . ($_GET["ns"] != "" ? lang('Alter schema') : lang('Create schema')) . "</a>\n" : "");
|
||||
echo '<a href="' . h(ME) . 'schema=">' . lang('Database schema') . "</a>\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user