Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Just a couple of changes

  • Loading branch information...
commit 8c3c848114b51bddb62b7fa9b8693a8e07792d4c 1 parent 6af8e53
authored August 02, 2002

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. 8  mod/forum/lib.php
8  mod/forum/lib.php
@@ -773,7 +773,7 @@ function forum_print_discussion($course, $discussion, $post, $mode) {
773 773
     }
774 774
 
775 775
     if ($discussion->assessed && $USER->id) {
776  
-        echo "<CENTER><P ALIGN=center><INPUT TYPE=submit VALUE=\"Send in my latest ratings\"></P></CENTER>";
  776
+        echo "<CENTER><P ALIGN=center><INPUT TYPE=submit VALUE=\"".get_string("sendinratings", "forum")."\"></P></CENTER>";
777 777
         echo "</FORM>";
778 778
     }
779 779
 }
@@ -821,7 +821,11 @@ function forum_print_posts_threaded($parent, $course, $depth, $assessed) {
821 821
                 forum_print_post($post, $course, $ownpost, $reply, $link, $assessed);  // link=true?
822 822
                 echo "<BR>";
823 823
             } else {
824  
-                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>";
  824
+                $by->name = "$post->firstname $post->lastname";
  825
+                $by->date = userdate($post->created);
  826
+                echo "<LI><P><FONT SIZE=-1><B><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">$post->subject</A></B> ";
  827
+                print_string("bynameondate", "forum", $by);
  828
+                echo "</FONT></P></LI>";
825 829
             }
826 830
 
827 831
             forum_print_posts_threaded($post->id, $course, $depth-1, $assessed);

0 notes on commit 8c3c848

Please sign in to comment.
Something went wrong with that request. Please try again.