Charset is now taken into account

This commit is contained in:
Loïc Chapeaux
2001-06-17 18:10:53 +00:00
parent 1f87f9c736
commit fbd60b3cc3
2 changed files with 4 additions and 2 deletions

View File

@@ -2,13 +2,14 @@
/* $Id$ */ /* $Id$ */
require("./lib.inc.php3"); require("./lib.inc.php3");
header('Content-Type: text/html; charset=' . $charset);
?> ?>
<html> <html>
<head> <head>
<title>phpMyAdmin</title> <title>phpMyAdmin</title>
<style type="text/css"> <style type="text/css">
//<!-- <!--
body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt} body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt}
th { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; background-color: <?php echo $cfgThBgcolor;?>;} th { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; background-color: <?php echo $cfgThBgcolor;?>;}
td { font-family: Arial, Helvetica, sans-serif; font-size: 10pt;} td { font-family: Arial, Helvetica, sans-serif; font-size: 10pt;}
@@ -21,13 +22,13 @@ A:link.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000
A:visited.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000} A:visited.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000}
A:hover.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: red;} A:hover.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: red;}
.nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000} .nav { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000}
//--> //-->
</style> </style>
<!-- <!--
<META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT"> <META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Content-Type: text/html; charset=<?php echo $charset; ?>">
--> -->
</head> </head>

View File

@@ -2,6 +2,7 @@
/* $Id$ */ /* $Id$ */
require("./lib.inc.php3"); require("./lib.inc.php3");
header('Content-Type: text/html; charset=' . $charset);
?> ?>
<html> <html>