Functionalised server selection and use it in cookie auth (RFE #1362727).

This commit is contained in:
Michal Čihař
2005-11-23 15:03:57 +00:00
parent 8fc4a4ce05
commit 8996ff60a1
5 changed files with 45 additions and 58 deletions

View File

@@ -80,8 +80,11 @@ if ($GLOBALS['cfg']['MainPageIconic']) {
}
echo '</div>' . "\n";
if ( $GLOBALS['cfg']['LeftDisplayServers'] ) {
$show_server_left = TRUE;
/**
* Displays the MySQL servers choice form
*/
if ( $GLOBALS['cfg']['LeftDisplayServers'] && count($cfg['Servers']) > 1 ) {
include('./libraries/select_server.lib.php');
PMA_select_server(TRUE, TRUE);
} // end if LeftDisplayServers
?>