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

View File

@@ -5,27 +5,17 @@
*/ */
if (count($cfg['Servers']) > 1) { 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) { if ($show_server_left) {
echo '<div class="heada">' . $strServer . ':</div>'; echo '<div class="heada">' . $strServer . ':</div>';
} else { } else {
?> ?>
<!-- MySQL servers choice form --> <fieldset>
<table border="0" cellpadding="3" cellspacing="0" bgcolor="<?php echo $cfg['BgcolorOne']; ?>"> <legend><?php echo $strServerChoice; ?></legend>
<tr>
<th class="tblHeaders"><?php echo $strServerChoice; ?></th>
</tr>
<tr>
<td>
<?php <?php
} }
if (!$cfg['DisplayServersList']) { 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();"> <select name="server" onchange="this.form.submit();">
<?php <?php
} }
@@ -71,19 +61,18 @@ if (count($cfg['Servers']) > 1) {
</select> </select>
<input type="hidden" name="lang" value="<?php echo $lang; ?>" /> <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
<input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" /> <input type="hidden" name="convcharset" value="<?php echo $convcharset; ?>" />
<noscript>
<input type="submit" value="<?php echo $strGo; ?>" /> <input type="submit" value="<?php echo $strGo; ?>" />
</noscript>
</form> </form>
<?php <?php
} }
if (!$show_server_left) { if (!$show_server_left) {
?> ?>
</td> </fieldset>
</tr>
</table>
<br />
<?php <?php
} else { } else {
echo '<hr />' . "\n"; echo '<hr />';
} }
} }
?> ?>