From beafccb8c3913702640ddc6e7b269db025923238 Mon Sep 17 00:00:00 2001
From: Jakub Vrana
name(); ?>
@@ -809,26 +809,8 @@ DROP PROCEDURE adminer_alter;
" . lang('Create new table') . "\n"; $tables = tables_list(); @@ -851,6 +833,35 @@ DROP PROCEDURE adminer_alter; } } + /** Prints databases list in menu + * @param string + * @return null + */ + function databasesPrint($missing) { + global $connection; + $databases = $this->databases(); + ?> +
\n"; + } + /** Prints table list in menu * @param array * @return null diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 54a0796a..019833b6 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -553,6 +553,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5 databasesPrint($missing); if ($missing != "db" && $missing != "ns") { $table_status = table_status(); if (!$table_status) { @@ -564,6 +565,9 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5 } } + function databasesPrint($missing) { + } + function tablesPrint($tables) { echo "\n"; foreach ($tables as $row) {