Fixed CSS link.

This commit is contained in:
Alexander M. Turek
2003-03-13 20:23:30 +00:00
parent cdc5cd1a02
commit d3c66676a7
3 changed files with 5 additions and 2 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2003-03-13 Alexander M. Turek <rabus@users.sourceforge.net>
* server_status.php3: Fixed the Garvin's calculations.
* server_variables.php3: Fixed the display for MySQL <= 4.0.3-beta.
* libraries/header_meta_style.inc.php3,
libraries/transformations/overview.php3: Fixed CSS link.
2003-03-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php3: analyzer: where_clause_identifiers

View File

@@ -28,4 +28,4 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
}
?>
<link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php3?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right" />
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php3?lang=<?php echo $GLOBALS['lang']; ?>&amp;js_frame=right" />

View File

@@ -6,6 +6,7 @@
* Change to basedir for including/requiring other fields
*/
chdir('../../');
define('PMA_PATH_TO_BASEDIR', '../../'); // rabus: required for the CSS link tag.
/**
* Don't display the page heading
@@ -56,7 +57,7 @@ while(list($key, $mimetype) = each($types['mimetype'])) {
<th><?php echo $strMIME_transformation; ?></th>
<th><?php echo $strMIME_description; ?></th>
</tr>
<?php
@reset($types);
$i = 0;