From b7af79e7453a8317759b16f939249c32b8fd34a7 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 19 Aug 2012 09:37:29 -0700 Subject: [PATCH] Display link to refresh with no databases --- adminer/include/connect.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index 14e682d9..90d8f063 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -26,6 +26,7 @@ function connect_error() { if ($_GET["refresh"]) { set_session("dbs", null); } + $refresh = "" . lang('Refresh') . "\n"; $databases = $adminer->databases(); if ($databases) { $scheme = support("scheme"); @@ -45,8 +46,10 @@ function connect_error() { echo "\n"; echo "

\n"; echo "\n"; - echo "" . lang('Refresh') . "\n"; + echo $refresh; echo "\n"; + } else { + echo "

$refresh"; } } page_footer("db");