diff --git a/admin/xmldb/javascript.php b/admin/xmldb/javascript.php index abf86cd5973..4513c97d381 100644 --- a/admin/xmldb/javascript.php +++ b/admin/xmldb/javascript.php @@ -42,14 +42,14 @@ $file = $CFG->dirroot . '/'.$CFG->admin.'/xmldb/actions/' . $action . '/' . $action . '.js'; $wwwfile = $CFG->wwwroot . '/'.$CFG->admin.'/xmldb/actions/' . $action . '/' . $action . '.js'; if (file_exists($file) && is_readable($file)) { - echo '' . "\n"; + echo '' . "\n"; } else { /// Try to load the postaction javascript if exists if ($postaction) { $file = $CFG->dirroot . '/'.$CFG->admin.'/xmldb/actions/' . $postaction . '/' . $postaction . '.js'; $wwwfile = $CFG->wwwroot . '/'.$CFG->admin.'/xmldb/actions/' . $postaction . '/' . $postaction . '.js'; if (file_exists($file) && is_readable($file)) { - echo '' . "\n"; + echo '' . "\n"; } } } diff --git a/backup/backup_form.html b/backup/backup_form.html index 9d6bfd9aa88..534eac496e9 100644 --- a/backup/backup_form.html +++ b/backup/backup_form.html @@ -72,7 +72,7 @@ ?> - - - +//]]> diff --git a/lib/editor/htmlarea/htmlarea.class.php b/lib/editor/htmlarea/htmlarea.class.php index 1f336204023..7d4af69b8ed 100644 --- a/lib/editor/htmlarea/htmlarea.class.php +++ b/lib/editor/htmlarea/htmlarea.class.php @@ -234,8 +234,8 @@ class htmlarea extends editorObject { } echo "\n"; - echo ''."\n"; } @@ -340,15 +340,15 @@ class htmlarea extends editorObject { */ function print_speller_code ($usehtmleditor=false) { - if(!$usehtmleditor) { - echo "\n".''."\n"; } else { echo "\n\tfunction spellClickHandler(editor, buttonId) {\n"; echo "\t\teditor._textArea.value = editor.getHTML();\n"; @@ -360,7 +360,9 @@ class htmlarea extends editorObject { echo "\t\tspeller.openChecker();\n\t"; echo '}'."\n"; } + echo '//]]>'."\n"; + echo ''."\n"; } } -?> \ No newline at end of file +?> diff --git a/lib/editor/htmlarea/popups/createanchor.php b/lib/editor/htmlarea/popups/createanchor.php index 93b54a909bb..034be6c6f85 100644 --- a/lib/editor/htmlarea/popups/createanchor.php +++ b/lib/editor/htmlarea/popups/createanchor.php @@ -7,9 +7,9 @@