From: nfreear Date: Tue, 25 Sep 2007 11:34:40 +0000 (+0000) Subject: MDL-11436, Encapsulate "accesshide" HTML class in function, and use. Merged. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0d0afd968dce1284cda4ad8062f283fd96ca1915;p=moodle.git MDL-11436, Encapsulate "accesshide" HTML class in function, and use. Merged. --- diff --git a/index.php b/index.php index 4428a1ca46..0eee277158 100644 --- a/index.php +++ b/index.php @@ -100,7 +100,7 @@ } else { $currlang = current_language(); $langs = get_list_of_languages(); - $langlabel = ''.get_string('language').':'; + $langlabel = get_accesshide(get_string('language')); $langmenu = popup_form($CFG->wwwroot .'/index.php?lang=', $langs, 'chooselang', $currlang, '', '', '', true, 'self', $langlabel); } diff --git a/login/index.php b/login/index.php index 77133a4815..af0d68b585 100644 --- a/login/index.php +++ b/login/index.php @@ -64,7 +64,7 @@ httpsrequired(); } else { $currlang = current_language(); $langs = get_list_of_languages(); - $langlabel = ''.get_string('language').':'; + $langlabel = get_accesshide(get_string('language')); $langmenu = popup_form ("$CFG->httpswwwroot/login/index.php?lang=", $langs, "chooselang", $currlang, "", "", "", true, 'self', $langlabel); }