Added label to language menu for accessibility MDL-8174

This commit is contained in:
moodler
2007-01-18 09:42:29 +00:00
parent ce89882a37
commit 2c6e998f41
+2 -1
View File
@@ -78,7 +78,8 @@
} else {
$currlang = current_language();
$langs = get_list_of_languages();
$langmenu = popup_form ($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true);
$langlabel = '<span class="accesshide">'.get_string('language').':</span>';
$langmenu = popup_form($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true, 'self', $langlabel);
}
$PAGE = page_create_object(PAGE_COURSE_VIEW, SITEID);