]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7861 fixing broken xhtml in lesson
authortoyomoyo <toyomoyo>
Wed, 20 Dec 2006 01:49:58 +0000 (01:49 +0000)
committertoyomoyo <toyomoyo>
Wed, 20 Dec 2006 01:49:58 +0000 (01:49 +0000)
mod/lesson/import.php

index e40108aef0af1cd8b555c3ea9c558ef98036269b..87b1b4e6849978f4299ada0d39fa115aec71a971 100644 (file)
@@ -36,7 +36,7 @@
     $strlessons = get_string("modulenameplural", "lesson");
 
     print_header_simple("$strimportquestions", " $strimportquestions",
-                 "<a href=index.php?id=$course->id>$strlessons</a> -> <a href=\"view.php?id=$cm->id\">".format_string($lesson->name,true)."</a>-> $strimportquestions");
+                 "<a href=\"index.php?id=$course->id\">$strlessons</a> -> <a href=\"view.php?id=$cm->id\">".format_string($lesson->name,true)."</a>-> $strimportquestions");
 
     if ($form = data_submitted()) {   /// Filename
 
     print_heading_with_help($strimportquestions, "import", "lesson");
 
     print_simple_box_start("center");
-    echo "<form enctype=\"multipart/form-data\" method=\"post\" action=import.php>";
-    echo "<input type=\"hidden\" name=\"id\" value=\"$cm->id\">\n";
-    echo "<input type=\"hidden\" name=\"pageid\" value=\"$pageid\">\n";
-    echo "<table cellpadding=5>";
+    echo "<form enctype=\"multipart/form-data\" method=\"post\" action=\"import.php\">";
+    echo "<input type=\"hidden\" name=\"id\" value=\"$cm->id\" />\n";
+    echo "<input type=\"hidden\" name=\"pageid\" value=\"$pageid\" />\n";
+    echo "<table cellpadding=\"5\">";
 
-    echo "<tr><td align=right>";
+    echo "<tr><td align=\"right\">";
     print_string("fileformat", "lesson");
     echo ":</td><td>";
     choose_from_menu($fileformatnames, "format", "gift", "");
-    echo "</tr>";
+    echo "</td></tr>";
 
-    echo "<tr><td align=right>";
+    echo "<tr><td align=\"right\">";
     print_string("upload");
     echo ":</td><td>";
-    echo " <input name=\"newfile\" type=\"file\" size=\"50\">";
-    echo "</tr><tr><td>&nbsp;</td><td>";
-    echo " <input type=submit name=save value=\"".get_string("uploadthisfile")."\">";
+    echo "<input name=\"newfile\" type=\"file\" size=\"50\" />";
+    echo "</td></tr><tr><td>&nbsp;</td><td>";
+    echo "<input type=\"submit\" name=\"save\" value=\"".get_string("uploadthisfile")."\" />";
     echo "</td></tr>";
 
     echo "</table>";