xhtml fixes

This commit is contained in:
Loïc Chapeaux
2002-04-27 17:40:56 +00:00
parent f25cd2c3a3
commit d553641167
2 changed files with 8 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ $Source$
relation table.
* tbl_printview.php3; tbl_qbe.php3: optimization, warnings and coding
standards.
* header.inc.php3, lines 166-172: xhtml fixes.
* Compressed ChangeLog till the 2.2.6 release.
2002-04-26 Lo<4C>c Chapeaux <lolo@phpheaven.net>

View File

@@ -159,12 +159,16 @@ echo "\n";
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>" background="images/bkg.gif">
<?php
$header_url_qry = '?lang=' . urlencode($lang)
. '&amp;server=' . $server
. '&amp;db=' . urlencode($db);
if (isset($db)) {
echo '<h1>' . $strDatabase . ' <i><a class="h1" href="db_details.php3?lang='.$lang.'&server='.$server.'&db='.$db.'">' . htmlspecialchars($db) . '</a></i>';
echo '<h1>' . "\n";
echo ' ' . $strDatabase . ' <i><a class="h1" href="db_details.php3' . $header_url_qry . '">' . htmlspecialchars($db) . '</a></i>' . "\n";
if (!empty($table)) {
echo ' - ' . $strTable . ' <i><a class="h1" href="tbl_properties.php3?lang='.$lang.'&server='.$server.'&db='.$db.'&table='.$table.'">' . htmlspecialchars($table) . '</a></i>';
echo ' - ' . $strTable . ' <i><a class="h1" href="tbl_properties.php3' . $header_url_qry . '&amp;table=' . urlencode($table) . '">' . htmlspecialchars($table) . '</a></i>' . "\n";
}
echo ' ' . sprintf($strRunning, ' <i>' . (($cfg['Server']['verbose']) ? $cfg['Server']['verbose'] : $cfg['Server']['host']) . '</i>');
echo ' ' . sprintf($strRunning, ' <i>' . (($cfg['Server']['verbose']) ? $cfg['Server']['verbose'] : $cfg['Server']['host']) . '</i>') . "\n";
echo '</h1>' . "\n";
}
echo "\n";