Permalink
Browse files

MDL-20475 - add skip to 'maincontent' handler.

  • Loading branch information...
1 parent 08c1a2f commit 6b0034a695ba45cca1822814f66f640dde96babd Rossiani Wijaya committed Jun 23, 2010
Showing with 4 additions and 2 deletions.
  1. +1 −0 course/format/topics/format.php
  2. +3 −2 course/format/weeks/format.php
View
1 course/format/topics/format.php
@@ -72,6 +72,7 @@
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";
View
5 course/format/weeks/format.php
@@ -62,6 +62,7 @@
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";
@@ -107,7 +108,7 @@
echo '</div>';
print_section($course, $thissection, $mods, $modnamesused);
-
+
if ($PAGE->user_is_editing()) {
print_section_add_menus($course, $section, $modnames);
}
@@ -236,7 +237,7 @@
echo '</div>';
print_section($course, $thissection, $mods, $modnamesused);
-
+
if ($PAGE->user_is_editing()) {
print_section_add_menus($course, $section, $modnames);
}

0 comments on commit 6b0034a

Please sign in to comment.