Browse files

Formatting fixes for ratings

  • Loading branch information...
1 parent b8973de commit 6462d1a1e1d8877362870e698193bd649cd6a09e martin committed Jul 23, 2002
Showing with 15 additions and 3 deletions.
  1. +9 −0 mod/journal/user.php
  2. +6 −3 mod/journal/view.php
View
9 mod/journal/user.php
@@ -61,6 +61,15 @@ function user_journal_complete($course, $user, $mod, $journal) {
if ($entry->timemarked) {
echo "&nbsp;&nbsp;<FONT SIZE=1>".userdate($entry->timemarked)."</FONT>";
}
+ echo "<P ALIGN=RIGHT><FONT SIZE=-1><I>";
+ if ($RATING[$entry->rating]) {
+ echo "Overall rating: ";
+ echo $RATING[$entry->rating];
+ } else {
+ echo "No rating given";
+ }
+ echo "</I></FONT></P>";
+
echo "<BR><FONT COLOR=#000055>";
echo text_to_html($entry->comment);
echo "</FONT><BR>";
View
9 mod/journal/view.php
@@ -129,13 +129,16 @@ function print_feedback($course, $entry) {
echo "</TR>";
echo "\n<TR><TD WIDTH=100% BGCOLOR=\"$THEME->cellcontent\">";
+
+ echo "<P ALIGN=RIGHT><FONT SIZE=-1><I>";
if ($RATING[$entry->rating]) {
- echo "<P>Overall: ";
+ echo "Overall rating: ";
echo $RATING[$entry->rating];
- echo "</P>";
} else {
- echo "<P>No rating given</P>";
+ echo "No rating given";
}
+ echo "</I></FONT></P>";
+
echo text_to_html($entry->comment);
echo "</TD></TR></TABLE>";

0 comments on commit 6462d1a

Please sign in to comment.