Modified generated XHTML code.

This commit is contained in:
Alexander M. Turek
2003-02-23 20:27:25 +00:00
parent a559a281f1
commit 36fc7a4ca2
2 changed files with 10 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ $Source$
* server_privileges: Better code for "check privileges"; This should fix * server_privileges: Better code for "check privileges"; This should fix
bug #687808 and a few other problems. bug #687808 and a few other problems.
* ANNOUNCE.txt: Updated list of known bugs. * ANNOUNCE.txt: Updated list of known bugs.
* server_variables.php3: Modified generated XHTML code.
2003-02-22 Marc Delisle <lem9@users.sourceforge.net> 2003-02-22 Marc Delisle <lem9@users.sourceforge.net>
* lang/italian update, thanks to Pietro Danesi * lang/italian update, thanks to Pietro Danesi

View File

@@ -81,12 +81,18 @@ $useBgcolorOne = TRUE;
while (list($name, $value) = each($serverVars)) { while (list($name, $value) = each($serverVars)) {
?> ?>
<tr> <tr>
<td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">&nbsp;<?php echo htmlspecialchars(str_replace('_', ' ', $name)); ?>&nbsp;</td> <td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">
<td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">&nbsp;<?php echo htmlspecialchars($value); ?>&nbsp;</td> <?php echo htmlspecialchars(str_replace('_', ' ', $name)) . "\n"; ?>
</td>
<td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">
<?php echo htmlspecialchars($value) . "\n"; ?>
</td>
<?php <?php
if (PMA_MYSQL_INT_VERSION >= 40003) { if (PMA_MYSQL_INT_VERSION >= 40003) {
?> ?>
<td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">&nbsp;<?php echo htmlspecialchars($serverVarsGlobal[$name]); ?>&nbsp;</td> <td bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>">
<?php echo htmlspecialchars($serverVarsGlobal[$name]) . "\n"; ?>
</td>
<?php <?php
$useBgcolorOne = !$useBgcolorOne; $useBgcolorOne = !$useBgcolorOne;
} }