Fixes MDL-7878 in new course format, "Link identification and skipping" - skip_main_destination function + use the $currenttext string (MDL-11439) - both accessibility related.

This commit is contained in:
nfreear 2007-11-06 17:46:15 +00:00
parent bec52f19b5
commit 23adb9c84f

View file

@ -105,7 +105,7 @@
if (!empty($THEME->customcorners)) print_custom_corners_start();
echo '<a name="startofcontent"></a>';
echo skip_main_destination();
print_heading_block(get_string('topicoutline'), 'outline');
@ -211,7 +211,7 @@
echo '<li id="section-'.$section.'" class="section main'.$sectionstyle.'" >'; //'<div class="left side">&nbsp;</div>';
echo '<div class="left side">'.$section.'</div>';
echo '<div class="left side">'.$currenttext.$section.'</div>';
// Note, 'right side' is BEFORE content.
echo '<div class="right side">';