move server selection in main to the 'right' (below 'phpMyAdmin')
This commit is contained in:
@@ -6,6 +6,10 @@ $Id$
|
||||
$Source$
|
||||
|
||||
|
||||
2006-07-09 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* libraries/select_server.lib.php, main.php, libraries/left_header.inc.php:
|
||||
move server selection in main to the 'right' (below 'phpMyAdmin')
|
||||
|
||||
2006-07-08 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* left.php, libraries/header_meta_style.inc.php, libraries/header.inc.php:
|
||||
fix to remove scrollbar bug in IE without quirks mode
|
||||
|
@@ -85,6 +85,7 @@ echo '</div>' . "\n";
|
||||
*/
|
||||
if ($GLOBALS['cfg']['LeftDisplayServers'] && (count($GLOBALS['cfg']['Servers']) > 1 || $server == 0 && count($GLOBALS['cfg']['Servers']) == 1)) {
|
||||
include('./libraries/select_server.lib.php');
|
||||
PMA_select_server(TRUE, TRUE);
|
||||
PMA_select_server(true, true);
|
||||
echo '<hr />';
|
||||
} // end if LeftDisplayServers
|
||||
?>
|
||||
|
@@ -99,9 +99,7 @@ function PMA_select_server($not_only_options, $ommit_fieldset)
|
||||
echo '<noscript>';
|
||||
echo '<input type="submit" value="' . $GLOBALS['strGo'] . '" />';
|
||||
echo '</noscript>';
|
||||
if ($ommit_fieldset) {
|
||||
echo '<hr />';
|
||||
} else {
|
||||
if (! $ommit_fieldset) {
|
||||
echo '</fieldset>';
|
||||
}
|
||||
echo '</form>';
|
||||
|
19
main.php
19
main.php
@@ -54,15 +54,6 @@ if ($server > 0) {
|
||||
|
||||
<div id="mysqlmaininformation">
|
||||
<?php
|
||||
/**
|
||||
* Displays the MySQL servers choice form
|
||||
*/
|
||||
if (!$cfg['LeftDisplayServers'] && (count($cfg['Servers']) > 1 || $server == 0 && count($cfg['Servers']) == 1)) {
|
||||
require_once './libraries/select_server.lib.php';
|
||||
PMA_select_server(true, false);
|
||||
}
|
||||
|
||||
|
||||
if ($server > 0) {
|
||||
// robbat2: Use the verbose name of the server instead of the hostname
|
||||
// if a value is set
|
||||
@@ -223,6 +214,16 @@ echo '<h1 xml:lang="en" dir="ltr">phpMyAdmin - ' . PMA_VERSION . '</h1>'
|
||||
|
||||
echo '<ul>' . "\n";
|
||||
|
||||
/**
|
||||
* Displays the MySQL servers choice form
|
||||
*/
|
||||
if (!$cfg['LeftDisplayServers'] && (count($cfg['Servers']) > 1 || $server == 0 && count($cfg['Servers']) == 1)) {
|
||||
echo '<li id="li_select_server">';
|
||||
require_once './libraries/select_server.lib.php';
|
||||
PMA_select_server(true, true);
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
if ($server > 0) {
|
||||
PMA_printListItem($strMysqlClientVersion . ': ' . PMA_DBI_get_client_info(),
|
||||
'li_mysql_client_version');
|
||||
|
Reference in New Issue
Block a user