From 875b56946b7f2eca90012f4c8de4b26a03b263f5 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 7 Mar 2005 06:33:41 +0000 Subject: [PATCH] Fixed up formatting of this page --- mod/resource/index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/resource/index.php b/mod/resource/index.php index dfe27f4b462..d3e94c7bfa0 100644 --- a/mod/resource/index.php +++ b/mod/resource/index.php @@ -49,6 +49,7 @@ } $currentsection = ""; + $options->para = false; foreach ($resources as $resource) { if ($course->format == "weeks" or $course->format == "topics") { $printsection = ""; @@ -72,12 +73,12 @@ if (!$resource->visible) { // Show dimmed if the mod is hidden $table->data[] = array ($printsection, "coursemodule\">$resource->name", - format_text($resource->summary) ); + format_text($resource->summary, FORMAT_MOODLE, $options) ); } else { //Show normal if the mod is visible $table->data[] = array ($printsection, "coursemodule\">$resource->name", - format_text($resource->summary) ); + format_text($resource->summary, FORMAT_MOODLE, $options) ); } }