]> git.mjollnir.org Git - moodle.git/commitdiff
Using print_footer() again in IMS display.
authorstronk7 <stronk7>
Sun, 2 Sep 2007 11:33:48 +0000 (11:33 +0000)
committerstronk7 <stronk7>
Sun, 2 Sep 2007 11:33:48 +0000 (11:33 +0000)
(cannot rely anymore on harcoded footer,
due to custom_corners themes).

mod/resource/type/ims/resource.class.php

index d79107ca9a0c3e50aa716d54e97fdca5ed037dd6..863eaaaa79a0f0cf198454315ab8ae5367f9e87e 100644 (file)
@@ -487,8 +487,8 @@ class resource_ims extends resource_base {
         /// Moodle footer is back! Now using the DOMContentLoaded event (see resize.js) to trigger the resize
         /// no Moodle footer (because we cannot insert there the resize script).
         /// echo "</div></div><script type=\"text/javascript\">resizeiframe($jsarg);</script></body></html>";
-        /// print_footer();
-            echo "</div></div></body></html>";
+            print_footer('none');
+        ////    echo "</div></div></body></html>";
 
         /// log it.
             add_to_log($course->id, "resource", "view", "view.php?id={$cm->id}", $resource->id, $cm->id);