From: moodler Date: Mon, 4 Jun 2007 12:42:17 +0000 (+0000) Subject: Merged typo fixes for MDL-10013 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=05c8db0fa754130ee90c01c39cff1c7a2de76c26;p=moodle.git Merged typo fixes for MDL-10013 --- diff --git a/course/request_form.php b/course/request_form.php index 715b29e28c..63daa7b486 100644 --- a/course/request_form.php +++ b/course/request_form.php @@ -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 +?>