From b9120de531a615745f9eee7d696c727755f26c87 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 25 Nov 2005 14:45:22 +0000 Subject: [PATCH] move server choice into MySQL container --- ChangeLog | 3 +++ main.php | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 974984b01..c01bb5da3 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-11-25 Marc Delisle + * main.php: move server choice into MySQL container + 2005-11-24 Sebastian Mendel * libraries/url_generating.lib.php: - do not htmlentities on whole string diff --git a/main.php b/main.php index 7eb0e6ee3..fa1be507a 100644 --- a/main.php +++ b/main.php @@ -33,14 +33,6 @@ if ( ! empty( $message ) ) { unset( $message ); } -/** - * Displays the MySQL servers choice form - */ -if (!$cfg['LeftDisplayServers'] && count($cfg['Servers']) > 1) { - include('./libraries/select_server.lib.php'); - PMA_select_server(TRUE, FALSE); -} - $common_url_query = PMA_generate_common_url( '', '' ); // this div is required for containing divs can be 50% @@ -85,6 +77,14 @@ if ( $server > 0 ) { echo '

MySQL - ' . PMA_MYSQL_STR_VERSION .'

' . "\n"; + /** + * Displays the MySQL servers choice form + */ + if (!$cfg['LeftDisplayServers'] && count($cfg['Servers']) > 1) { + include('./libraries/select_server.lib.php'); + PMA_select_server(TRUE, FALSE); + } + echo '
    ' . "\n"; PMA_printListItem( $strProtocolVersion . ': ' . PMA_DBI_get_proto_info()