And chat is using current_charset() too.

Merged from MOODLE_16_UTF8. Abandoning the branch.
This commit is contained in:
stronk7 2006-01-05 16:31:29 +00:00
parent a1c967cc73
commit b49f9e8932
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo get_string('thischarset'); ?>" /> <meta http-equiv="content-type" content="text/html; charset=<?php echo current_charset(); ?>" />
<title> <title>
<?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?> <?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?>
</title> </title>

View file

@ -80,7 +80,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo get_string('thischarset'); ?>" /> <meta http-equiv="content-type" content="text/html; charset=<?php echo current_charset(); ?>" />
<script type="text/javascript"> <script type="text/javascript">
<!-- <!--
if (parent.msg.document.getElementById("msgStarted") == null) { if (parent.msg.document.getElementById("msgStarted") == null) {
@ -88,7 +88,7 @@
parent.msg.document.open("text/html","replace"); parent.msg.document.open("text/html","replace");
parent.msg.document.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"); parent.msg.document.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
parent.msg.document.write("<html><head>"); parent.msg.document.write("<html><head>");
parent.msg.document.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=<?php echo get_string('thischarset'); ?>\" />"); parent.msg.document.write("<meta http-equiv=\"content-type\" content=\"text/html; charset=<?php echo current_charset(); ?>\" />");
parent.msg.document.write("<base target=\"_blank\" />"); parent.msg.document.write("<base target=\"_blank\" />");
parent.msg.document.write("<?php echo $stylesheetshtml ?>"); parent.msg.document.write("<?php echo $stylesheetshtml ?>");
parent.msg.document.write("</head><body class=\"mod-chat-gui_header_js course-<?php echo $chatuser->course ?>\" id=\"mod-chat-gui_header_js-jsupdate\"><div style=\"display: none\" id=\"msgStarted\">&nbsp;</div>"); parent.msg.document.write("</head><body class=\"mod-chat-gui_header_js course-<?php echo $chatuser->course ?>\" id=\"mod-chat-gui_header_js-jsupdate\"><div style=\"display: none\" id=\"msgStarted\">&nbsp;</div>");

View file

@ -57,7 +57,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo get_string('thischarset'); ?>" /> <meta http-equiv="content-type" content="text/html; charset=<?php echo current_charset(); ?>" />
<title> <title>
<?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?> <?php echo "$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname" ?>
</title> </title>