]> git.mjollnir.org Git - moodle.git/commitdiff
merged, gives IE a bit more time to print
authortoyomoyo <toyomoyo>
Mon, 19 Jun 2006 03:30:08 +0000 (03:30 +0000)
committertoyomoyo <toyomoyo>
Mon, 19 Jun 2006 03:30:08 +0000 (03:30 +0000)
blog/edit.php
blog/footer.php

index 01bc0c41ce87dff28ea2b26fe634fca768dd00c5..31c7256a2e0c591fffc3ebb7c73fb96dd36a72be 100755 (executable)
@@ -137,16 +137,6 @@ print_simple_box_start("center");
 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');
 
 
index 8ae25f8d1e94c67f9d237caba02c8c0071ad6ab9..f74356f93327f2787d9af4c9a9d6e3e068f477b6 100644 (file)
@@ -21,6 +21,17 @@ if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
 
 <?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 {