]> git.mjollnir.org Git - moodle.git/commitdiff
Merged typo fixes for MDL-10013
authormoodler <moodler>
Mon, 4 Jun 2007 12:42:17 +0000 (12:42 +0000)
committermoodler <moodler>
Mon, 4 Jun 2007 12:42:17 +0000 (12:42 +0000)
course/request_form.php

index 715b29e28c10ee51f04f6b9167521555bd9c0eda..63daa7b48625a2295fbfa9457b4a4c3ad7f5b00b 100644 (file)
@@ -7,11 +7,11 @@ class course_request_form extends moodleform {
         $mform =& $this->_form;
 
         $mform->addElement('text', 'fullname', get_string('fullname'), 'maxlength="254" size="50"');
-        $mform->addRule('fullname', get_string('missingshortname'), 'required', null, 'client');
+        $mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
         $mform->setType('fullname', PARAM_TEXT);
 
         $mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="15" size="10"');
-        $mform->addRule('shortname', get_string('missingfullname'), 'required', null, 'client');
+        $mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
         $mform->setType('shortname', PARAM_TEXT);
 
         $mform->addElement('htmleditor', 'summary', get_string('summary'), array('rows'=>'15', 'cols'=>'50'));
@@ -76,4 +76,4 @@ class course_request_form extends moodleform {
     }
 
 }
-?>
\ No newline at end of file
+?>