course-format-weeks MDL-24742 dont redefine maincontent

It was breaking XHTML validation due to duplicate id
This commit is contained in:
Dan Poltawski 2011-01-09 20:02:21 +00:00
parent 46f4c3932f
commit 7de9bfad15

View File

@ -65,7 +65,6 @@ defined('MOODLE_INTERNAL') || die();
echo $OUTPUT->heading(get_string('weeklyoutline'), 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='weeks'>\n";