Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use.

This commit is contained in:
nfreear 2007-10-15 10:04:41 +00:00
parent bddd9f6f40
commit f79f249490
3 changed files with 5 additions and 5 deletions

View file

@ -3499,7 +3499,7 @@ function build_navigation($extranavlinks, $cm = null) {
//Construct an unordered list from $navlinks
//Accessibility: heading hidden from visual browsers by default.
$navigation = '<h2 class="accesshide">'.get_string('youarehere','access')."</h2> <ul>\n";
$navigation = get_accesshide(get_string('youarehere','access'), 'h2')." <ul>\n";
$lastindex = count($navlinks) - 1;
$i = -1; // Used to count the times, so we know when we get to the last item.
$first = true;