MDL-8696 - Just reduced input field from 64 to 48

This commit is contained in:
nicolasconnault
2007-03-13 07:37:07 +00:00
parent 9143ed3366
commit 4dfc8f1d79
2 changed files with 2 additions and 2 deletions
+1 -1
View 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');
+1 -1
View 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');