mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-13481, Distinguish between course fullname and user fullname
This commit is contained in:
parent
317f94b0a2
commit
d6cc234114
12 changed files with 28 additions and 24 deletions
|
@ -6,11 +6,11 @@ class course_request_form extends moodleform {
|
|||
function definition() {
|
||||
$mform =& $this->_form;
|
||||
|
||||
$mform->addElement('text', 'fullname', get_string('fullname'), 'maxlength="254" size="50"');
|
||||
$mform->addElement('text', 'fullname', get_string('fullnamecourse'), 'maxlength="254" size="50"');
|
||||
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
|
||||
$mform->setType('fullname', PARAM_TEXT);
|
||||
|
||||
$mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="100" size="20"');
|
||||
$mform->addElement('text', 'shortname', get_string('shortnamecourse'), 'maxlength="100" size="20"');
|
||||
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
|
||||
$mform->setType('shortname', PARAM_TEXT);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue