From f4a01ab61f8f5ac8f39cb121e9f46b5d964b2829 Mon Sep 17 00:00:00 2001 From: nfreear Date: Tue, 25 Sep 2007 12:05:36 +0000 Subject: [PATCH] MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling. --- course/format/lams/format.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/course/format/lams/format.php b/course/format/lams/format.php index 4b1413c944..fddd972757 100644 --- a/course/format/lams/format.php +++ b/course/format/lams/format.php @@ -242,17 +242,19 @@ while ($section <= $course->numsections) { $currenttopic = ($course->marker == $section); + $currenttext = ''; if (!$thissection->visible) { $sectionstyle = ' hidden'; } else if ($currenttopic) { $sectionstyle = ' current'; + $currenttext = get_accesshide(get_string('currenttopic','access')); } else { $sectionstyle = ''; } echo ''; - echo ' '; + echo ' '.$currenttext.''; echo ''; if (!has_capability('moodle/course:viewhiddensections', $context) and !$thissection->visible) { // Hidden for students -- 2.39.5