]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15804 smaller online assignment text box size; merged from MOODLE_19_STABLE
authorskodak <skodak>
Thu, 24 Jul 2008 06:02:31 +0000 (06:02 +0000)
committerskodak <skodak>
Thu, 24 Jul 2008 06:02:31 +0000 (06:02 +0000)
mod/assignment/type/online/assignment.class.php

index f047d860b404416a2600f2acc633da7ad2992b8f..df0b3e8a611b8ba57b18765bfc699e4dff7b6f2d 100644 (file)
@@ -267,7 +267,7 @@ class mod_assignment_online_edit_form extends moodleform {
         $mform =& $this->_form;
 
         // visible elements
-        $mform->addElement('htmleditor', 'text', get_string('submission', 'assignment'), array('cols'=>85, 'rows'=>30));
+        $mform->addElement('htmleditor', 'text', get_string('submission', 'assignment'), array('cols'=>60, 'rows'=>30));
         $mform->setType('text', PARAM_RAW); // to be cleaned before display
         $mform->setHelpButton('text', array('reading', 'writing', 'richtext'), false, 'editorhelpbutton');
         $mform->addRule('text', get_string('required'), 'required', null, 'client');