mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use.
This commit is contained in:
parent
bddd9f6f40
commit
f79f249490
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue