diff --git a/changelog.php b/changelog.php index 2c407c1646..61b2b5efdf 100644 --- a/changelog.php +++ b/changelog.php @@ -146,6 +146,7 @@ echo ''; var links = document.getElementsByTagName("a"); for(var i = 0; i < links.length; i++) { links[i].target = "_blank"; + links[i].rel = "noopener noreferrer"; } diff --git a/index.php b/index.php index 6831bdc532..1637cb9379 100644 --- a/index.php +++ b/index.php @@ -116,9 +116,9 @@ if ($server > 0 || count($cfg['Servers']) > 1 /** * Displays the MySQL servers choice form */ - if ($cfg['ServerDefault'] == 0 + if ($cfg['ServerDefault'] == 0 || (! $cfg['NavigationDisplayServers'] - && (count($cfg['Servers']) > 1 + && (count($cfg['Servers']) > 1 || ($server == 0 && count($cfg['Servers']) == 1) ) ) @@ -155,7 +155,7 @@ if ($server > 0 || count($cfg['Servers']) > 1 echo '
' . "\n" . PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection') . '