fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system.

This commit is contained in:
skodak
2006-10-08 08:29:35 +00:00
parent 0ca30166f3
commit cf0c601fb9
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@
$encoding = current_charset();
/// Print frameset to contain all the various panes
@header('Content-Type: text/html; charset='.$encoding);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
+1
View File
@@ -12,6 +12,7 @@
$direction = ' dir="ltr"';
}
/// Output the header
@header('Content-Type: text/html; charset='.$encoding);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html <?php echo $direction ?>>
+1
View File
@@ -29,6 +29,7 @@
$direction = ' dir="ltr"';
}
@header('Content-Type: text/html; charset='.$encoding);
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">\n";
echo "<html $direction>\n<head>\n";
echo '<meta http-equiv="content-type" content="text/html; charset='.$encoding.'" />';