patch #515199 - Problem with <base href=""> thanks to Alexander M. Turek

This commit is contained in:
Loïc Chapeaux
2002-02-09 15:02:04 +00:00
parent 7b57e9aeb4
commit 507c05f6f1
3 changed files with 8 additions and 2 deletions

View File

@@ -15,6 +15,8 @@ $Source$
previous login should be recalled or not in cookie auth. mode. Thanks to
Siu Sun <siusun at sourceforge.net> for the suggestion.
* tbl_properties.php3, line 573: fixed an xhtml error.
* header.inc.php3, lines 53-57; left.php3, line 67: patch #515199 - Problem
with <base href=""> thanks to Alexander M. Turek.
2002-02-08 Marc Delisle <lem9@users.sourceforge.net>
* ukrainian updates thanks to Markijan Baran.

View File

@@ -50,7 +50,11 @@ if ($text_dir == 'ltr') {
<head>
<title>phpMyAdmin</title>
<base href="<?php echo $cfgPmaAbsoluteUri; ?>" />
<?php
if (!empty($cfgPmaAbsoluteUri)) {
echo '<base href="' . $cfgPmaAbsoluteUri . '" />' . "\n";
}
?>
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}

View File

@@ -64,7 +64,7 @@ PMA_setFontSizes();
<head>
<title>phpMyAdmin</title>
<base href="<?php echo $cfgPmaAbsoluteUri; ?>" target="phpmain" />
<base<?php if (!empty($cfgPmaAbsoluteUri)) echo ' href="' . $cfgPmaAbsoluteUri . '"'; ?> target="phpmain" />
<?php
// Expandable/collapsible databases list is only used if there is more than one
// database to display