]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-8696 - Just reduced input field from 64 to 48
authornicolasconnault <nicolasconnault>
Tue, 13 Mar 2007 07:38:54 +0000 (07:38 +0000)
committernicolasconnault <nicolasconnault>
Tue, 13 Mar 2007 07:38:54 +0000 (07:38 +0000)
mod/forum/post_form.php
mod/resource/mod_form.php

index 86cd30682754573110fb3c830172aabbd07d80b1..20296b821f87bd3b91956a8f5f9ead22d6699423 100644 (file)
@@ -21,7 +21,7 @@ class mod_forum_post_form extends moodleform {
 
         $mform->addElement('header', 'general', '');//fill in the data depending on page params
                                                     //later using set_data
-               $mform->addElement('text', 'subject', get_string('subject', 'forum'), 'size="64"');
+               $mform->addElement('text', 'subject', get_string('subject', 'forum'), 'size="48"');
                $mform->setType('subject', PARAM_TEXT);
                $mform->addRule('subject', get_string('required'), 'required', null, 'client');
 
index 5afed4c5acf176da21401954fd93783f8132d634..37e59b5d1c08a3fa12fedc7aafa565d9258c5e55 100644 (file)
@@ -30,7 +30,7 @@ class mod_resource_mod_form extends moodleform_mod {
 
 //        $mform->addElement('static', 'statictype', get_string('assignmenttype', 'assignment'), get_string('type'.$type,'assignment'));
 
-        $mform->addElement('text', 'name', get_string('name'), array('size'=>'64'));
+        $mform->addElement('text', 'name', get_string('name'), array('size'=>'48'));
         $mform->setType('name', PARAM_TEXT);
         $mform->addRule('name', null, 'required', null, 'client');