diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index e46e2a07..93eac11e 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -25,7 +25,6 @@ function connect_error() { } echo "
" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "$connection->server_info", "$connection->extension") . "\n"; echo "
" . lang('Logged as: %s', "" . h(logged_user()) . "") . "\n"; - $refresh = "" . lang('Refresh') . "\n"; $databases = $adminer->databases(); if ($databases) { $scheme = support("scheme"); @@ -45,14 +44,18 @@ function connect_error() { } echo "\n"; + echo (support("database") + ? "
\n" + : "" + ); echo "\n"; - echo "" . (support("database") ? "\n" : ""); echo "\n"; - echo $refresh; echo "\n"; - } else { - echo "
$refresh"; } + echo "
" . lang('Refresh') . "\n"; } page_footer("db");