From 5c48d24437e504923d27a89ef6b34242000e23c2 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 19 Oct 2004 06:40:47 +0000 Subject: [PATCH] More changes for XHTML compatibility. Remove some left over test code. --- mod/resource/type/html/resource.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}", -- 2.39.5