Fixed some more missing strings

This commit is contained in:
moodler 2002-11-06 09:13:19 +00:00
parent 941dd21efb
commit 405ea757e6
2 changed files with 4 additions and 2 deletions

View File

@ -59,6 +59,7 @@ $string['newforumposts'] = "New forum posts";
$string['nodiscussions'] = "There are no discussion topics yet in this forum";
$string['noguestpost'] = "Sorry, guests are not allowed to post";
$string['noposts'] = "No posts";
$string['nopostscontaining'] = "No posts containing '\$a' were found";
$string['nosubscribers'] = "There are no subscribers yet for this forum";
$string['nownotsubscribed'] = "\$a->name will NOT receive copies of '\$a->forum' by email.";
$string['nowsubscribed'] = "\$a->name will receive copies of '\$a->forum' by email.";
@ -69,6 +70,7 @@ $string['openmode1'] = "No discussions, but replies are allowed";
$string['openmode2'] = "Discussions and replies are allowed";
$string['parentofthispost'] = "Parent of this post";
$string['postadded'] = "Your post was successfully added.<P>You have \$a to edit it if you want to make any changes.";
$string['postincontext'] = "See this post in context";
$string['postmailinfo'] = "This is a copy of a message posted on the \$a website.
To add your reply via the website, click on this link:";

View File

@ -53,7 +53,7 @@
ORDER BY p.modified DESC LIMIT 0, 50 ");
if (!$posts) {
print_heading("<BR>No posts found containing \"$search\"");
print_heading("<BR>".get_string("nopostscontaining", "forum", $search));
} else {
foreach ($posts as $post) {
@ -75,7 +75,7 @@
$post->subject = $fullsubject;
$post->message = highlight("$search", $post->message);
$fulllink = "<P ALIGN=right><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">See this post in context</A></P>";
$fulllink = "<P ALIGN=right><A HREF=\"discuss.php?d=$post->discussion&parent=$post->id\">".get_string("postincontext", "forum")."</A></P>";
forum_print_post($post, $course->id, false, false, false, false, $fulllink);
echo "<BR>";