move server selection in main to the 'right' (below 'phpMyAdmin')

This commit is contained in:
Sebastian Mendel
2006-07-09 10:29:28 +00:00
parent ab281b2835
commit 5304e6330d
4 changed files with 17 additions and 13 deletions

View File

@@ -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
?>

View File

@@ -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>';