fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 ?>>
|
||||
|
||||
@@ -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.'" />';
|
||||
|
||||
Reference in New Issue
Block a user