Various cleanups for XHTML and so on

This commit is contained in:
moodler 2005-02-08 17:56:22 +00:00
parent bcd4d06b2f
commit 210eddc7df
7 changed files with 92 additions and 59 deletions

View file

@ -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");
}