Fixed up formatting of this page

This commit is contained in:
moodler
2005-03-07 06:33:41 +00:00
parent ffa1447181
commit 875b56946b
+3 -2
View File
@@ -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,
"<a class=\"dimmed\" $extra href=\"view.php?id=$resource->coursemodule\">$resource->name</a>",
format_text($resource->summary) );
format_text($resource->summary, FORMAT_MOODLE, $options) );
} else { //Show normal if the mod is visible
$table->data[] = array ($printsection,
"<a $extra href=\"view.php?id=$resource->coursemodule\">$resource->name</a>",
format_text($resource->summary) );
format_text($resource->summary, FORMAT_MOODLE, $options) );
}
}