mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-19800 Converted calls to popup_form()
This commit is contained in:
parent
d81b05e701
commit
2af1c9dec5
@ -46,8 +46,10 @@
|
||||
} else {
|
||||
$currlang = current_language();
|
||||
$langs = get_list_of_languages();
|
||||
$langlabel = get_accesshide(get_string('language'));
|
||||
$langmenu = popup_form ("$CFG->httpswwwroot/login/index.php?lang=", $langs, "chooselang", $currlang, "", "", "", true, 'self', $langlabel);
|
||||
$select = moodle_select::make_popup_form("$CFG->httpswwwroot/login/index.php", 'lang', $langs, 'chooselang', $currlang);
|
||||
$select->nothinglabel = false;
|
||||
$select->set_label(get_accesshide(get_string('language')));
|
||||
$langmenu = $OUTPUT->select($select);
|
||||
}
|
||||
|
||||
$loginsite = get_string("loginsite");
|
||||
|
@ -51,7 +51,9 @@
|
||||
} else {
|
||||
$currlang = current_language();
|
||||
$langs = get_list_of_languages();
|
||||
$langmenu = popup_form ("$CFG->wwwroot/login/signup.php?lang=", $langs, "chooselang", $currlang, "", "", "", true);
|
||||
$select = moodle_select::make_popup_form("$CFG->wwwroot/login/signup.php", 'lang', $langs, 'chooselang', $currlang);
|
||||
$select->nothinglabel = false;
|
||||
$langmenu = $OUTPUT->select($select);
|
||||
}
|
||||
|
||||
$navlinks = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user