MDL-7861, fixing broken xhtml tags

This commit is contained in:
toyomoyo 2006-12-20 03:44:59 +00:00
parent 6e6014aea1
commit 5c8ea9d958

View file

@ -278,7 +278,7 @@
$oldfile = $basedir.'/'.$file; $oldfile = $basedir.'/'.$file;
$newfile = $basedir.$wdir."/".$shortfile; $newfile = $basedir.$wdir."/".$shortfile;
if (!rename($oldfile, $newfile)) { if (!rename($oldfile, $newfile)) {
echo "<p>Error: $shortfile not moved"; echo "<p>Error: $shortfile not moved</p>";
} }
} }
} }
@ -307,7 +307,7 @@
$strcancel = get_string("cancel"); $strcancel = get_string("cancel");
$strrenamefileto = get_string("renamefileto", "moodle", $file); $strrenamefileto = get_string("renamefileto", "moodle", $file);
html_header($course, $wdir, "form.name"); html_header($course, $wdir, "form.name");
echo "<p>$strrenamefileto:"; echo "<p>$strrenamefileto:</p>";
echo "<table><tr><td>"; echo "<table><tr><td>";
echo "<form action=\"index.php\" method=\"post\" name=\"form\">"; echo "<form action=\"index.php\" method=\"post\" name=\"form\">";
echo ' <input type="hidden" name="choose" value="'.$choose.'" />'; echo ' <input type="hidden" name="choose" value="'.$choose.'" />';