]> git.mjollnir.org Git - moodle.git/commitdiff
This page is near to be XHTML!
authorstronk7 <stronk7>
Sat, 5 Feb 2005 01:58:37 +0000 (01:58 +0000)
committerstronk7 <stronk7>
Sat, 5 Feb 2005 01:58:37 +0000 (01:58 +0000)
Please, see bug 2496
(http://moodle.org/bugs/bug.php?op=show&bugid=2496)

files/index.php

index ee00d72e71fd3ec3043c522043a77cb8b15ed5d6..3357e259c9f0e32830488ac6a3e5ea185b8b0f38 100644 (file)
         }
 
 
-        echo "<table border=0 align=center cellspacing=3 cellpadding=3 width=640>";
+        echo "<table border=\"0\" align=\"center\" cellspacing=\"3\" cellpadding=\"3\" width=\"640\">";
         echo "<tr>";
         echo "<td colspan=\"2\">";
 
                 echo $file;
                 print_simple_box_end();
                 echo "<br />";
-                echo "<p align=center>".get_string("areyousuretorestorethisinfo")."</p>";
+                echo "<p align=\"center\">".get_string("areyousuretorestorethisinfo")."</p>";
                 $restore_path = "$CFG->wwwroot/backup/restore.php";
                 notice_yesno (get_string("areyousuretorestorethis"),
-                                $restore_path."?id=".$id."&file=".cleardoubleslashes($id.$wdir."/".$file),
-                                "index.php?id=$id&wdir=$wdir&action=cancel");
+                                $restore_path."?id=".$id."&amp;file=".cleardoubleslashes($id.$wdir."/".$file),
+                                "index.php?id=$id&amp;wdir=$wdir&amp;action=cancel");
             } else {
                 displaydir($wdir);
             }