From: nicolasconnault Date: Thu, 6 Aug 2009 00:37:34 +0000 (+0000) Subject: MDL-19795 Upgraded call to choose_from_menu_yesno X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=73fb41a0479cb9d56a0a9546228180a00027918a;p=moodle.git MDL-19795 Upgraded call to choose_from_menu_yesno --- diff --git a/enrol/mnet/config.html b/enrol/mnet/config.html index 3ed12aefd8..bca7f4b5ba 100644 --- a/enrol/mnet/config.html +++ b/enrol/mnet/config.html @@ -8,6 +8,8 @@ $servercount = 0; if (is_array($mnethosts)) { $servercount = count(array_keys($mnethosts)); } +$select = moodle_select::make_yes_no('enrol_mnet_allow_allcourses', $frm->enrol_mnet_allow_allcourses); + ?> @@ -18,7 +20,7 @@ if (is_array($mnethosts)) {
allow_allcourses: - enrol_mnet_allow_allcourses); ?> + select($select); ?>