]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861, fixing broken xhtml tags
authortoyomoyo <toyomoyo>
Wed, 20 Dec 2006 03:44:59 +0000 (03:44 +0000)
committertoyomoyo <toyomoyo>
Wed, 20 Dec 2006 03:44:59 +0000 (03:44 +0000)
files/index.php

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