]> git.mjollnir.org Git - moodle.git/commitdiff
More tweaks to feedback display (consistency with forum posts)
authormartin <martin>
Sun, 4 Aug 2002 17:24:46 +0000 (17:24 +0000)
committermartin <martin>
Sun, 4 Aug 2002 17:24:46 +0000 (17:24 +0000)
mod/assignment/lib.php
mod/journal/lib.php

index c76198b464e2fd69e3bb44407b67789f1d9b016d..1a2bab5bc6fdfa98c334bc52cfca15eb2a2dd809 100644 (file)
@@ -275,7 +275,8 @@ function assignment_print_feedback($course, $submission) {
         error("Weird assignment error");
     }
 
-    echo "\n<TABLE BORDER=1 CELLSPACING=0 valign=top cellpadding=10>";
+    echo "\n<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=1 ALIGN=CENTER><TR><TD BGCOLOR=#888888>";
+    echo "\n<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 VALIGN=TOP>";
 
     echo "\n<TR>";
     echo "\n<TD ROWSPAN=3 BGCOLOR=\"$THEME->body\" WIDTH=35 VALIGN=TOP>";
@@ -297,6 +298,7 @@ function assignment_print_feedback($course, $submission) {
 
     echo text_to_html($submission->comment);
     echo "</TD></TR></TABLE>";
+    echo "</TD></TR></TABLE>";
 }
 
 
index 13755b7b514310d86e26c14ce769dd044bbfcbb8..c7fd845b6f2b01313a37027c2b12eb38284ea072 100644 (file)
@@ -234,7 +234,8 @@ function journal_print_feedback($course, $entry) {
         error("Weird journal error");
     }
 
-    echo "\n<TABLE BORDER=1 CELLSPACING=0 valign=top cellpadding=10>";
+    echo "\n<TABLE BORDER=0 CELLPADDING=1 CELLSPACING=1 ALIGN=CENTER><TR><TD BGCOLOR=#888888>";
+    echo "\n<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 VALIGN=TOP>";
 
     echo "\n<TR>";
     echo "\n<TD ROWSPAN=3 BGCOLOR=\"$THEME->body\" WIDTH=35 VALIGN=TOP>";
@@ -257,7 +258,7 @@ function journal_print_feedback($course, $entry) {
 
     echo text_to_html($entry->comment);
     echo "</TD></TR></TABLE>";
-
+    echo "</TD></TR></TABLE>";
 }
 
 ?>