diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php index b6aaf4cef9d..c25e6c182e4 100644 --- a/blocks/section_links/block_section_links.php +++ b/blocks/section_links/block_section_links.php @@ -88,7 +88,7 @@ class block_section_links extends block_base { if (!empty($display)) { $link = $CFG->wwwroot.'/course/view.php?id='.$this->instance->pageid.'&'.$sectionname.'='; } else { - $link = '#section-'; + $link = '#sectionblock-'; } $sql = "SELECT section, visible diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 62ca0699c86..d62f642cfe8 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -113,7 +113,7 @@ if ($thissection->summary or $thissection->sequence or isediting($course->id)) { echo ''; - echo ' '; + echo ' '; echo ''; echo '
'; @@ -194,7 +194,7 @@ } echo ''; - echo ''.$currenttext.$section.''; + echo ''.$currenttext.$section.''; echo ''; if (!has_capability('moodle/course:viewhiddensections', $context) and !$thissection->visible) { // Hidden for students diff --git a/course/format/weeks/format.php b/course/format/weeks/format.php index 64f3f772a19..24dc2eb7e2d 100644 --- a/course/format/weeks/format.php +++ b/course/format/weeks/format.php @@ -100,7 +100,7 @@ if ($thissection->summary or $thissection->sequence or isediting($course->id)) { echo ''; - echo ' '; + echo ' '; echo ''; echo '
'; @@ -187,7 +187,7 @@ } echo ''; - echo ' '.$currenttext.''; + echo ' '.$currenttext.''; $weekperiod = $weekday.' - '.$endweekday;