echo $OUTPUT->heading(get_string('topicoutline'), 2, 'headingblock header outline');
-echo "<span id='maincontent'></span>";
// Note, an ordered list would confuse - "1" could be the clipboard or summary.
echo "<ul class='topics'>\n";
echo '<div class="content">';
if (!has_capability('moodle/course:viewhiddensections', $context) and !$thissection->visible) { // Hidden for students
- echo get_string('notavailable').'</div>';
+ echo get_string('notavailable');
} else {
if (!is_null($thissection->name)) {
echo $OUTPUT->heading($thissection->name, 3, 'sectionname');