From 0d0afd968dce1284cda4ad8062f283fd96ca1915 Mon Sep 17 00:00:00 2001 From: nfreear Date: Tue, 25 Sep 2007 11:34:40 +0000 Subject: [PATCH] MDL-11436, Encapsulate "accesshide" HTML class in function, and use. Merged. --- index.php | 2 +- login/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5