mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-7861 fixing broken xhtml in lesson
This commit is contained in:
parent
d4a18e3460
commit
220dcd583c
@ -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
|
||||
|
||||
@ -87,23 +87,23 @@
|
||||
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> </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> </td><td>";
|
||||
echo "<input type=\"submit\" name=\"save\" value=\"".get_string("uploadthisfile")."\" />";
|
||||
echo "</td></tr>";
|
||||
|
||||
echo "</table>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user