]> git.mjollnir.org Git - moodle.git/commitdiff
merged fix for MDL-8577, message textarea too big to fit
authortoyomoyo <toyomoyo>
Thu, 22 Feb 2007 03:22:31 +0000 (03:22 +0000)
committertoyomoyo <toyomoyo>
Thu, 22 Feb 2007 03:22:31 +0000 (03:22 +0000)
mod/forum/post_form.php

index 503c712099a1ee2e3707e7d8908e0fd13c770baf..86cd30682754573110fb3c830172aabbd07d80b1 100644 (file)
@@ -25,7 +25,7 @@ class mod_forum_post_form extends moodleform {
                $mform->setType('subject', PARAM_TEXT);
                $mform->addRule('subject', get_string('required'), 'required', null, 'client');
 
-               $mform->addElement('htmleditor', 'message', get_string('message', 'forum'), array('cols'=>85, 'rows'=>30));
+               $mform->addElement('htmleditor', 'message', get_string('message', 'forum'), array('cols'=>50, 'rows'=>30));
                $mform->setType('message', PARAM_RAW);
                $mform->addRule('message', get_string('required'), 'required', null, 'client');
         $mform->setHelpButton('message', array('reading', 'writing', 'questions', 'richtext'), false, 'editorhelpbutton');