mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +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
|
@ -113,6 +113,14 @@ function config_form($frm) {
|
|||
'AUD' => 'Australian Dollars'
|
||||
);
|
||||
|
||||
$vars = array('enrol_cost', 'enrol_currency', 'enrol_paypalbusiness',
|
||||
'enrol_mailstudents', 'enrol_mailteachers', 'enrol_mailadmins');
|
||||
foreach ($vars as $var) {
|
||||
if (!isset($frm->$var)) {
|
||||
$frm->$var = '';
|
||||
}
|
||||
}
|
||||
|
||||
include("$CFG->dirroot/enrol/paypal/config.html");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue