More tweaks to feedback display (consistency with forum posts)

This commit is contained in:
martin
2002-08-04 17:24:46 +00:00
parent 77db7e4c49
commit b0f01dff9e
2 changed files with 6 additions and 3 deletions

View 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>";
}

View 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>";
}
?>