MDL-13481, Distinguish between course fullname and user fullname

This commit is contained in:
dongsheng 2008-03-19 08:49:23 +00:00
parent 317f94b0a2
commit d6cc234114
12 changed files with 28 additions and 24 deletions

View file

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