mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +02:00
Various cleanups for XHTML and so on
This commit is contained in:
parent
bcd4d06b2f
commit
210eddc7df
7 changed files with 92 additions and 59 deletions
|
@ -40,6 +40,13 @@ function check_entry($form, $course) {
|
|||
/// Override the base config_form() function
|
||||
function config_form($frm) {
|
||||
global $CFG;
|
||||
|
||||
$vars = array('enrol_flatfilelocation', 'enrol_mailstudents', 'enrol_mailteachers', 'enrol_mailadmins');
|
||||
foreach ($vars as $var) {
|
||||
if (!isset($frm->$var)) {
|
||||
$frm->$var = '';
|
||||
}
|
||||
}
|
||||
include ("$CFG->dirroot/enrol/flatfile/config.html");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue