Skip to content

Commit

Permalink
Increasing the displayed size of course->shortinfo to 20. MDL-10026
Browse files Browse the repository at this point in the history
(bigger but enough smaller than the fullname field)
  • Loading branch information
stronk7 committed Aug 9, 2007
1 parent 90274c7 commit 4f6bd3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backup/restore_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
echo "<td align=\"right\">";
print_string("shortname");
echo " :</td>";
echo "<td><input type=\"text\" name=\"shortname\" maxlength=\"100\" size=\"10\" value=\"$form1->shortname\" alt=\"".get_string("shortname")."\" />" ;
echo "<td><input type=\"text\" name=\"shortname\" maxlength=\"100\" size=\"20\" value=\"$form1->shortname\" alt=\"".get_string("shortname")."\" />" ;
helpbutton("courseshortname", get_string("shortname")) ;
if (isset($err["shortname"])) formerr($err["shortname"]);
echo "<tr valign=\"top\" >";
Expand Down
2 changes: 1 addition & 1 deletion course/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function definition() {
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
$mform->setType('fullname', PARAM_MULTILANG);

$mform->addElement('text','shortname', get_string('shortname'),'maxlength="100" size="10"');
$mform->addElement('text','shortname', get_string('shortname'),'maxlength="100" size="20"');
$mform->setHelpButton('shortname', array('courseshortname', get_string('shortname')), true);
$mform->setDefault('shortname', get_string('defaultcourseshortname'));
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
Expand Down
2 changes: 1 addition & 1 deletion course/request_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function definition() {
$mform->addRule('fullname', get_string('missingfullname'), 'required', null, 'client');
$mform->setType('fullname', PARAM_TEXT);

$mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="100" size="10"');
$mform->addElement('text', 'shortname', get_string('shortname'), 'maxlength="100" size="20"');
$mform->addRule('shortname', get_string('missingshortname'), 'required', null, 'client');
$mform->setType('shortname', PARAM_TEXT);

Expand Down

0 comments on commit 4f6bd3b

Please sign in to comment.