Bend over for XHTML 1.0 Strict ... MDL-8049

Removed Javascript language attribute tags and added CDATA
This commit is contained in:
moodler
2007-01-03 14:44:17 +00:00
parent 7e99dd2cd6
commit f4ba7e1a54
64 changed files with 309 additions and 503 deletions
+2 -2
View File
@@ -60,13 +60,13 @@
if ($chatuser->version == 'header_js') {
/// force msg referesh ASAP
if ($CFG->chat_normal_updatemode == 'jsupdated') { // See bug MDL-6791
echo '<script language="Javascript" type="text/javascript">'.
echo '<script type="text/javascript">'.
"//<![CDATA[ \n".
' parent.input.enableForm();'.
"//]]> \n".
'</script>';
} else {
echo '<script language="Javascript" type="text/javascript">'.
echo '<script type="text/javascript">'.
"//<![CDATA[ \n".
' parent.jsupdate.location.href = parent.jsupdate.document.anchors[0].href;'.
' parent.input.enableForm();'.