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

This commit is contained in:
nicolasconnault 2007-03-13 07:38:54 +00:00
parent 21b89cb43b
commit 9217695a64
2 changed files with 2 additions and 2 deletions

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 $mform->addElement('header', 'general', '');//fill in the data depending on page params
//later using set_data //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->setType('subject', PARAM_TEXT);
$mform->addRule('subject', get_string('required'), 'required', null, 'client'); $mform->addRule('subject', get_string('required'), 'required', null, 'client');

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('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->setType('name', PARAM_TEXT);
$mform->addRule('name', null, 'required', null, 'client'); $mform->addRule('name', null, 'required', null, 'client');