Changed one place where the old course->shorname size was still 10. MDL-10026
authorstronk7 <stronk7>
Thu, 9 Aug 2007 12:05:56 +0000 (12:05 +0000)
committerstronk7 <stronk7>
Thu, 9 Aug 2007 12:05:56 +0000 (12:05 +0000)
Credit goes to Josh Benner by finding it.

backup/restore_form.html

index 5c440fe3d0b4fa293b54dbc1aa639e9630866c0e..a077e0826f8e8be93cddda51ec7aa3075dacad52 100644 (file)
@@ -222,9 +222,9 @@ function selectItemInCheckboxByName(formId, checkName, checked ) {
         echo "<td align=\"right\">";
         print_string("shortname");
         echo " :</td>";
-        echo "<td><input type=\"text\" name=\"shortname\" maxlength=\"15\"  size=\"10\" value=\"$form1->shortname\" alt=\"".get_string("shortname")."\"  />" ;
+        echo "<td><input type=\"text\" name=\"shortname\" maxlength=\"100\"  size=\"10\" value=\"$form1->shortname\" alt=\"".get_string("shortname")."\"  />" ;
         helpbutton("courseshortname", get_string("shortname")) ;
-        if (isset($err["shortname"])) formerr($err["shortname"]); 
+        if (isset($err["shortname"])) formerr($err["shortname"]);
         echo "<tr valign=\"top\" >";
         echo "<td align=\"right\">";
         print_string("fullname");