Fixed up formatting of this page
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user