From ac39fae94d7e6f32f38ac47a85e6dae9a4ec8812 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 10 Jan 2007 14:06:49 +0000 Subject: [PATCH] MDL-6987 fixed wrong labels --- mod/assignment/mod_form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assignment/mod_form.php b/mod/assignment/mod_form.php index f6b90ef6d1..e8796d8347 100644 --- a/mod/assignment/mod_form.php +++ b/mod/assignment/mod_form.php @@ -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'); -- 2.39.5