]> git.mjollnir.org Git - moodle.git/commitdiff
Added label to language menu for accessibility MDL-8174
authormoodler <moodler>
Thu, 18 Jan 2007 09:42:29 +0000 (09:42 +0000)
committermoodler <moodler>
Thu, 18 Jan 2007 09:42:29 +0000 (09:42 +0000)
index.php

index 8b52b7130bb27ebb4ce2123af2ec3e9eb00785e8..5c8d59ecc86223fac3a479d4e8773639f79a6d89 100644 (file)
--- a/index.php
+++ b/index.php
@@ -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);