From: moodler Date: Tue, 19 Oct 2004 06:40:47 +0000 (+0000) Subject: More changes for XHTML compatibility. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5c48d24437e504923d27a89ef6b34242000e23c2;p=moodle.git More changes for XHTML compatibility. Remove some left over test code. --- diff --git a/mod/resource/type/html/resource.class.php b/mod/resource/type/html/resource.class.php index 38acb2d14e..6328349bae 100644 --- a/mod/resource/type/html/resource.class.php +++ b/mod/resource/type/html/resource.class.php @@ -104,6 +104,7 @@ function display() { print_header(); print_simple_box(format_text($resource->alltext, FORMAT_HTML, $formatoptions, $course->id), "center", "", "$THEME->cellcontent", "20"); + print_footer($course); } else { /// Make a page and a pop-up window print_header($pagetitle, $course->fullname, "$navigation {$resource->name}", @@ -132,7 +133,6 @@ function display() { print_footer($course); } } else { /// not a popup at all - die; add_to_log($course->id, "resource", "view", "view.php?id={$this->cm->id}", $resource->id, $this->cm->id); print_header($pagetitle, $course->fullname, "$navigation {$resource->name}",