fixed html output
This commit is contained in:
@@ -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:
|
||||||
|
@@ -5,29 +5,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
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>
|
<?php
|
||||||
<th class="tblHeaders"><?php echo $strServerChoice; ?></th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<?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
|
||||||
}
|
}
|
||||||
foreach ($cfg['Servers'] AS $key => $val) {
|
foreach ($cfg['Servers'] AS $key => $val) {
|
||||||
if (!empty($val['host'])) {
|
if (!empty($val['host'])) {
|
||||||
@@ -60,30 +50,29 @@ if (count($cfg['Servers']) > 1) {
|
|||||||
echo '» <a class="item" href="index.php?server=' . $key . '&lang=' . $lang . '&convcharset=' . $convcharset . '" target="_top">' . $label . '</a><br />';
|
echo '» <a class="item" href="index.php?server=' . $key . '&lang=' . $lang . '&convcharset=' . $convcharset . '" target="_top">' . $label . '</a><br />';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo ' <option value="' . $key . '" ' . ($selected ? ' selected="selected"' : '') . '>' . $label . '</option>' . "\n";
|
echo ' <option value="' . $key . '" ' . ($selected ? ' selected="selected"' : '') . '>' . $label . '</option>' . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end if (!empty($val['host']))
|
} // end if (!empty($val['host']))
|
||||||
} // end while
|
} // end while
|
||||||
|
|
||||||
if (!$cfg['DisplayServersList']){
|
if ( ! $cfg['DisplayServersList'] ) {
|
||||||
?>
|
?>
|
||||||
</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>
|
<?php
|
||||||
</table>
|
|
||||||
<br />
|
|
||||||
<?php
|
|
||||||
} else {
|
} else {
|
||||||
echo '<hr />' . "\n";
|
echo '<hr />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user