fixed html output

This commit is contained in:
Sebastian Mendel
2005-11-04 13:32:44 +00:00
parent eb3f4f5d30
commit d5ec743b2a
2 changed files with 22 additions and 31 deletions

View File

@@ -19,8 +19,10 @@ $Source$
- bug #1348189 after droping db some links in main.php are missing
* header.inc.php, libraries/common.lib.php:
- added class icon to img-tags
* header_meta_style.inc.php:
* libraries/header_meta_style.inc.php:
fixed position of link meta tag
* libraries/select_server.lib.php
fixed html output
2005-11-03 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php, tbl_replace.php, tbl_replace_fields.php:

View File

@@ -5,27 +5,17 @@
*/
if (count($cfg['Servers']) > 1) {
if (!$cfg['DisplayServersList']) {
?>
<form method="post" action="index.php" target="_parent" style="margin: 0px; padding: 0px;">
<?php
}
if ($show_server_left) {
echo '<div class="heada">' . $strServer . ':</div>';
} else {
?>
<!-- MySQL servers choice form -->
<table border="0" cellpadding="3" cellspacing="0" bgcolor="<?php echo $cfg['BgcolorOne']; ?>">
<tr>
<th class="tblHeaders"><?php echo $strServerChoice; ?></th>
</tr>
<tr>
<td>
<fieldset>
<legend><?php echo $strServerChoice; ?></legend>
<?php
}
if (!$cfg['DisplayServersList']) {
?>
<form method="post" action="index.php" target="_parent" style="margin: 0px; padding: 0px;">
<form method="post" action="index.php" target="_parent">
<select name="server" onchange="this.form.submit();">
<?php
}
@@ -66,24 +56,23 @@ if (count($cfg['Servers']) > 1) {
} // end if (!empty($val['host']))
} // end while
if (!$cfg['DisplayServersList']){
?>
if ( ! $cfg['DisplayServersList'] ) {
?>
</select>
<input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
<noscript>
<input type="submit" value="<?php echo $strGo; ?>" />
</noscript>
</form>
<?php
<?php
}
if (!$show_server_left) {
?>
</td>
</tr>
</table>
<br />
<?php
</fieldset>
<?php
} else {
echo '<hr />' . "\n";
echo '<hr />';
}
}
?>