";
- echo "\n| body\" width=35 valign=TOP>";
+ echo "\n | body\" width=\"35\" valign=\"top\">";
print_user_picture($teacher->id, $course->id, $teacher->picture);
echo " | ";
- echo "cellheading\">".fullname($teacher);
- echo " ".userdate($submission->timemarked)."";
+ echo " | cellheading\">".fullname($teacher);
+ echo " ".userdate($submission->timemarked)."";
echo " |
";
- echo "\n| cellcontent\">";
- echo " ";
+ echo "";
if ($assignment->grade) {
if ($submission->grade or $submission->timemarked) {
echo get_string("grade").": $submission->grade";
diff --git a/mod/assignment/mod.html b/mod/assignment/mod.html
index 27157086e44..b4886b36cfb 100644
--- a/mod/assignment/mod.html
+++ b/mod/assignment/mod.html
@@ -28,13 +28,13 @@
diff --git a/mod/assignment/submissions.php b/mod/assignment/submissions.php
index 8a7251edabc..b80603b1dc1 100644
--- a/mod/assignment/submissions.php
+++ b/mod/assignment/submissions.php
@@ -168,10 +168,10 @@
if ($allowedtograde) {
echo '";
}
diff --git a/mod/assignment/view.php b/mod/assignment/view.php
index b81625d7a8e..af0e4cfd8c5 100644
--- a/mod/assignment/view.php
+++ b/mod/assignment/view.php
@@ -39,7 +39,7 @@
$strassignment = get_string("modulename", "assignment");
print_header_simple($assignment->name, "",
- "id>$strassignments -> $assignment->name",
+ "id\">$strassignments -> $assignment->name",
"", "", true, update_module_button($cm->id, $course->id, $strassignment), navmenu($course, $cm));
if (isteacher($course->id)) {
@@ -64,8 +64,8 @@
notice(get_string("activityiscurrentlyhidden"));
}
- print_simple_box_start("CENTER");
- print_heading($assignment->name, "CENTER");
+ print_simple_box_start("center");
+ print_heading($assignment->name, "center");
$timedifference = $assignment->timedue - time();
if ($timedifference < 31536000) { // Don't bother showing dates over a year in the future
|