Move end of fieldset to correct place after button (patch #1450559).

This commit is contained in:
Michal Čihař
2006-03-16 13:36:08 +00:00
parent b3bb99329e
commit b662a817c0
2 changed files with 9 additions and 5 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2006-03-16 Michal Čihař <michal@cihar.com>
* libraries/select_server.lib.php: Move end of fieldset to correct place
after button (patch #1450559).
2006-03-15 Michal Čihař <michal@cihar.com>
* libraries/export/htmlexcel.php: Fix output handling (bug #1450555).

View File

@@ -95,11 +95,6 @@ function PMA_select_server($not_only_options, $ommit_fieldset)
if ($not_only_options) {
echo '</select>';
if ($ommit_fieldset) {
echo '<hr />';
} else {
echo '</fieldset>';
}
?>
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
@@ -108,6 +103,11 @@ 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 {
echo '</fieldset>';
}
echo '</form>';
} elseif ($list) {
// TODO FIXME display server list as 'list'