]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-6987 fixed wrong labels
authorskodak <skodak>
Wed, 10 Jan 2007 14:06:49 +0000 (14:06 +0000)
committerskodak <skodak>
Wed, 10 Jan 2007 14:06:49 +0000 (14:06 +0000)
mod/assignment/mod_form.php

index f6b90ef6d1bba05e36f4e074761391b49e5a7c95..e8796d83474d0fe3ee27979f6682d96c6f520c70 100644 (file)
@@ -31,11 +31,11 @@ class mod_assignment_mod_form extends moodleform_mod {
 
 //        $mform->addElement('static', 'statictype', get_string('assignmenttype', 'assignment'), get_string('type'.$type,'assignment'));
 
-        $mform->addElement('text', 'name', get_string('chatname', 'chat'));
+        $mform->addElement('text', 'name', get_string('assignmentname', 'assignment'));
         $mform->setType('name', PARAM_TEXT);
         $mform->addRule('name', null, 'required', null, 'client');
 
-        $mform->addElement('htmleditor', 'description', get_string('chatintro', 'chat'));
+        $mform->addElement('htmleditor', 'description', get_string('description', 'assignment'));
         $mform->setType('description', PARAM_RAW);
         $mform->setHelpButton('description', array('writing', 'questions', 'richtext'), false, 'editorhelpbutton');
         $mform->addRule('description', get_string('required'), 'required', null, 'client');