mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Making section links point to #section-NNN instead of #NNN
This commit is contained in:
parent
4baeb9b028
commit
a7ef57d4da
@ -68,7 +68,7 @@ class block_section_links extends block_base {
|
||||
if (!empty($display)) {
|
||||
$link = $CFG->wwwroot.'/course/view.php?id='.$this->instance->pageid.'&'.$sectionname.'=';
|
||||
} else {
|
||||
$link = '#';
|
||||
$link = '#section-';
|
||||
}
|
||||
$text = '';
|
||||
for ($i = $inc; $i <= $course->numsections; $i += $inc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user