From: nfreear Date: Tue, 6 Nov 2007 17:46:15 +0000 (+0000) Subject: Fixes MDL-7878 in new course format, "Link identification and skipping" - skip_main_d... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=23adb9c84f9a1e72b61d79e4bd0005d46f37d50d;p=moodle.git Fixes MDL-7878 in new course format, "Link identification and skipping" - skip_main_destination function + use the $currenttext string (MDL-11439) - both accessibility related. --- diff --git a/course/format/topicscss/format.php b/course/format/topicscss/format.php index 8894d6fdd7..b4a62b729f 100644 --- a/course/format/topicscss/format.php +++ b/course/format/topicscss/format.php @@ -105,7 +105,7 @@ if (!empty($THEME->customcorners)) print_custom_corners_start(); - echo ''; + echo skip_main_destination(); print_heading_block(get_string('topicoutline'), 'outline'); @@ -211,7 +211,7 @@ echo '
  • '; //'
     
    '; - echo '
    '.$section.'
    '; + echo '
    '.$currenttext.$section.'
    '; // Note, 'right side' is BEFORE content. echo '
    ';