fixed typos in chat_force_language(), added encoding to message page, minor cleanup

This commit is contained in:
skodak 2005-02-08 21:23:19 +00:00
parent 9a9ebde280
commit a776c371e7
4 changed files with 14 additions and 5 deletions

View file

@ -17,7 +17,6 @@
?>
<script type="text/javascript">
<!--
scroll_active = true;
function empty_field_and_submit() {
document.sendForm.chat_message.value = document.inputForm.chat_message.value;
document.inputForm.chat_message.value = '';

View file

@ -1,2 +1,4 @@
<html>
<body>
<html>
<body>
</body>
</html>

View file

@ -49,6 +49,12 @@
<meta http-equiv="content-type" content="text/html; charset=<?php echo get_string('thischarset'); ?>" />
<script type="text/javascript">
<!--
if (parent.msg.document.getElementById("msgStarted") == null) {
parent.msg.document.open("text/html","replace");
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("</head><body><div style=\"display: none\" id=\"msgStarted\">&nbsp;</div>");
}
<?php
$beep = false;
$refreshusers = false;