1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 10:04:07 +02:00

Display Schema label in navigation

This commit is contained in:
Jakub Vrana
2014-03-12 15:48:29 -07:00
parent fa01efa059
commit 95b0237061
33 changed files with 1 additions and 33 deletions

View File

@@ -855,7 +855,7 @@ bodyLoad('<?php echo (is_object($connection) ? substr($connection->server_info,
echo "<input type='submit' value='" . lang('Use') . "'" . ($databases ? " class='hidden'" : "") . ">\n";
if ($missing != "db" && DB != "" && $connection->select_db(DB)) {
if (support("scheme")) {
echo "<br><select name='ns'$db_events>" . optionlist(array("" => "(" . lang('schema') . ")") + $adminer->schemas(), $_GET["ns"]) . "</select>";
echo "<br>" . lang('Schema') . ": <select name='ns'$db_events>" . optionlist(array("" => "") + $adminer->schemas(), $_GET["ns"]) . "</select>";
if ($_GET["ns"] != "") {
set_schema($_GET["ns"]);
}