<DIV>...</DIV> if other method available.
This commit is contained in:
@@ -19,7 +19,9 @@ class authorize_enrol_form extends moodleform
|
||||
$renderer =& $mform->defaultRenderer();
|
||||
|
||||
$mform->addElement('header', '', ' ' . get_string('paymentrequired'), '');
|
||||
$mform->addElement('static', '', '<div align="right">' . other_method($paymentmethod) . ' </div>', '');
|
||||
if ($othermethodstr = other_method($paymentmethod)) {
|
||||
$mform->addElement('static', '', '<div align="right">' . $othermethodstr . ' </div>', '');
|
||||
}
|
||||
|
||||
$mform->addElement('hidden', 'id', $course->id);
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
||||
Reference in New Issue
Block a user