require('edit.html');
print_simple_box_end();
- // Janne comment: Let's move this in here
- // so IE gets more time to load the
- // Page.
- if ($usehtmleditor) {
- // Janne comment: there are two text fields in form
- // so lets try to replace them both with
- // HTMLArea editors
- use_html_editor();
- }
-
include($CFG->dirroot .'/blog/footer.php');
<?php
+// Janne comment: Let's move this in here
+// so IE gets more time to load the
+// Page.
+
+if (isset($usehtmleditor) && $usehtmleditor) {
+ // Janne comment: there are two text fields in form
+ // so lets try to replace them both with
+ // HTMLArea editors
+ use_html_editor();
+}
+
if (isset($course) && ($course->id)) {
print_footer($course);
} else {