|
@ -24,6 +24,7 @@ class enrol_self_edit_form extends moodleform { |
|
|
$mform->addElement('header', 'header', get_string('pluginname', 'enrol_apply')); |
|
|
$mform->addElement('header', 'header', get_string('pluginname', 'enrol_apply')); |
|
|
|
|
|
|
|
|
$mform->addElement('text', 'name', get_string('custominstancename', 'enrol')); |
|
|
$mform->addElement('text', 'name', get_string('custominstancename', 'enrol')); |
|
|
|
|
|
$mform->setType('name', PARAM_TEXT); |
|
|
$options = array(ENROL_INSTANCE_ENABLED => get_string('yes'), |
|
|
$options = array(ENROL_INSTANCE_ENABLED => get_string('yes'), |
|
|
ENROL_INSTANCE_DISABLED => get_string('no')); |
|
|
ENROL_INSTANCE_DISABLED => get_string('no')); |
|
|
$mform->addElement('select', 'status', get_string('status', 'enrol_apply'), $options); |
|
|
$mform->addElement('select', 'status', get_string('status', 'enrol_apply'), $options); |
|
|