Servers choice box was displayed even if there is only one server
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-12-24 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* libraries/auth/cookie.auth.lib.php3: servers choice box was displayed
|
||||
even if there is only one server.
|
||||
|
||||
2001-12-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* links to new short doc pages are now completed
|
||||
* updates to lang/italian.inc.php3, thanks to Pietro Danesi
|
||||
|
@@ -144,6 +144,10 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
|
||||
<input type="password" name="pma_password" value="" size="24" onfocus="this.select()" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if (count($cfgServers) > 1) {
|
||||
echo "\n";
|
||||
?>
|
||||
<tr>
|
||||
<td align="<?php echo $cell_align; ?>"><?php echo $GLOBALS['strServerChoice']; ?> : </td>
|
||||
<td align="<?php echo $cell_align; ?>">
|
||||
@@ -188,8 +192,18 @@ h1 {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
} // end if (server choice)
|
||||
echo "\n";
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<?php
|
||||
if (count($cfgServers) == 1) {
|
||||
echo ' <input type="hidden" name="server" value="' . $server . '" />';
|
||||
}
|
||||
echo "\n";
|
||||
?>
|
||||
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
|
||||
<input type="submit" value="<?php echo $GLOBALS['strLogin']; ?>" />
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user