Permalink
Browse files

Just a couple of changes

  • Loading branch information...
1 parent 6af8e53 commit 8c3c848114b51bddb62b7fa9b8693a8e07792d4c martin committed Aug 2, 2002
Showing with 6 additions and 2 deletions.
  1. +6 −2 mod/forum/lib.php
View
8 mod/forum/lib.php
@@ -773,7 +773,7 @@ function forum_print_discussion($course, $discussion, $post, $mode) {
}
if ($discussion->assessed && $USER->id) {
- echo "<CENTER><P ALIGN=center><INPUT TYPE=submit VALUE=\"Send in my latest ratings\"></P></CENTER>";
+ echo "<CENTER><P ALIGN=center><INPUT TYPE=submit VALUE=\"".get_string("sendinratings", "forum")."\"></P></CENTER>";
echo "</FORM>";
}
}
@@ -821,7 +821,11 @@ function forum_print_posts_threaded($parent, $course, $depth, $assessed) {
forum_print_post($post, $course, $ownpost, $reply, $link, $assessed); // link=true?
echo "<BR>";
} else {
- echo "<LI><P><B><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">$post->subject</A></B> by $post->firstname $post->lastname, ".userdate($post->created)."</P>";
+ $by->name = "$post->firstname $post->lastname";
+ $by->date = userdate($post->created);
+ echo "<LI><P><FONT SIZE=-1><B><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">$post->subject</A></B> ";
+ print_string("bynameondate", "forum", $by);
+ echo "</FONT></P></LI>";
}
forum_print_posts_threaded($post->id, $course, $depth-1, $assessed);

0 comments on commit 8c3c848

Please sign in to comment.