Permalink
Browse files

MDL-13383 fixed restore form; merged from MOODLE_19_STABLE

  • Loading branch information...
1 parent db75ffa commit 3d70d2f8df4b35668503729dfbe249eb96cd5bcd skodak committed Jul 7, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/restore_form.html
View
@@ -224,7 +224,7 @@
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=\"15\" size=\"10\" value=\"".s($form1->shortname)."\" alt=\"".get_string("shortname")."\" />" ;
helpbutton("courseshortname", get_string("shortname")) ;
if (isset($err["shortname"])) formerr($err["shortname"]);
echo "</td>";
@@ -233,7 +233,7 @@
echo "<td align=\"right\">";
print_string("fullname");
echo " :</td>";
- echo "<td><input type=\"text\" name=\"fullname\" maxlength=\"254\" size=\"50\" value=\"$form1->fullname\" alt=\" ".get_string("fullname")."\" />" ;
+ echo "<td><input type=\"text\" name=\"fullname\" maxlength=\"254\" size=\"50\" value=\"".s($form1->fullname)."\" alt=\" ".get_string("fullname")."\" />" ;
helpbutton("coursefullname", get_string("fullname")) ;
if (isset($err["fullname"])) formerr($err["fullname"]);
echo"</td></tr>";

0 comments on commit 3d70d2f

Please sign in to comment.