move server choice into MySQL container
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-11-25 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* main.php: move server choice into MySQL container
|
||||||
|
|
||||||
2005-11-24 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2005-11-24 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* libraries/url_generating.lib.php:
|
* libraries/url_generating.lib.php:
|
||||||
- do not htmlentities on whole string
|
- do not htmlentities on whole string
|
||||||
|
16
main.php
16
main.php
@@ -33,14 +33,6 @@ if ( ! empty( $message ) ) {
|
|||||||
unset( $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( '', '' );
|
$common_url_query = PMA_generate_common_url( '', '' );
|
||||||
|
|
||||||
// this div is required for containing divs can be 50%
|
// this div is required for containing divs can be 50%
|
||||||
@@ -85,6 +77,14 @@ if ( $server > 0 ) {
|
|||||||
echo '<h1 xml:lang="en" dir="ltr">MySQL - ' . PMA_MYSQL_STR_VERSION
|
echo '<h1 xml:lang="en" dir="ltr">MySQL - ' . PMA_MYSQL_STR_VERSION
|
||||||
.'</h1>' . "\n";
|
.'</h1>' . "\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 '<ul>' . "\n";
|
echo '<ul>' . "\n";
|
||||||
|
|
||||||
PMA_printListItem( $strProtocolVersion . ': ' . PMA_DBI_get_proto_info()
|
PMA_printListItem( $strProtocolVersion . ': ' . PMA_DBI_get_proto_info()
|
||||||
|
Reference in New Issue
Block a user