From a7ef57d4da4903f1bebd25ba3024bff1b584614e Mon Sep 17 00:00:00 2001 From: defacer Date: Wed, 23 Nov 2005 23:16:24 +0000 Subject: [PATCH] Making section links point to #section-NNN instead of #NNN --- blocks/section_links/block_section_links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php index 70d70f530e7..f48ecfc0504 100644 --- a/blocks/section_links/block_section_links.php +++ b/blocks/section_links/block_section_links.php @@ -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) {