Commit 0d0afd96 authored by nfreear's avatar nfreear
Browse files

MDL-11436, Encapsulate "accesshide" HTML class in function, and use. Merged.

parent 1d75edd0
......@@ -100,7 +100,7 @@
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langlabel = '<span class="accesshide">'.get_string('language').':</span>';
$langlabel = get_accesshide(get_string('language'));
$langmenu = popup_form($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true, 'self', $langlabel);
}
......
......@@ -64,7 +64,7 @@ httpsrequired();
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langlabel = '<span class="accesshide">'.get_string('language').':</span>';
$langlabel = get_accesshide(get_string('language'));
$langmenu = popup_form ("$CFG->httpswwwroot/login/index.php?lang=", $langs, "chooselang", $currlang, "", "", "", true, 'self', $langlabel);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment