From 6687be174ac78dcae9bf74a94143930186f5afd4 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 23 May 2003 05:00:58 +0000 Subject: [PATCH] Improvements to the wordings for subscription --- lang/en/forum.php | 4 +++- mod/forum/post.html | 8 ++++---- mod/forum/view.php | 4 +++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lang/en/forum.php b/lang/en/forum.php index ad4eb80e5f..c709e00936 100644 --- a/lang/en/forum.php +++ b/lang/en/forum.php @@ -86,8 +86,8 @@ $string['processingpost'] = "Processing post \$a"; $string['rate'] = "Rate"; $string['ratings'] = "Ratings"; $string['ratingssaved'] = "Ratings saved"; -$string['readtherest'] = "Read the rest of this topic"; $string['re'] = "Re:"; // Put in front of subjects that are replies to another post +$string['readtherest'] = "Read the rest of this topic"; $string['replies'] = "Replies"; $string['repliesmany'] = "\$a replies so far"; $string['repliesone'] = "\$a reply so far"; @@ -104,6 +104,8 @@ $string['subscribe'] = "Subscribe to this forum"; $string['subscribed'] = "Subscribed"; $string['subscribers'] = "Subscribers"; $string['subscribersto'] = "Subscribers to '\$a'"; +$string['subscribestart'] = "Send me copies of forum posts by email"; +$string['subscribestop'] = "Do not send me copies of forum postings"; $string['subscription'] = "Subscription"; $string['subscriptions'] = "Subscriptions"; $string['unsubscribe'] = "Unsubscribe from this forum"; diff --git a/mod/forum/post.html b/mod/forum/post.html index 5b105d51ac..b8b16d0735 100644 --- a/mod/forum/post.html +++ b/mod/forum/post.html @@ -64,12 +64,12 @@ } else { unset($options); if (forum_is_subscribed($USER->id, $post->forum)) { - $options[0] = get_string("subscribed", "forum"); - $options[1] = get_string("unsubscribe", "forum"); + $options[0] = get_string("subscribestart", "forum"); + $options[1] = get_string("subscribestop", "forum"); choose_from_menu($options, "unsubscribe", 0, ""); } else { - $options[0] = get_string("unsubscribed", "forum"); - $options[1] = get_string("subscribe", "forum"); + $options[0] = get_string("subscribestop", "forum"); + $options[1] = get_string("subscribestart", "forum"); choose_from_menu($options, "subscribe", 0, ""); } } diff --git a/mod/forum/view.php b/mod/forum/view.php index 46c5ecca08..081a56e6dc 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -102,12 +102,14 @@ echo ""; if (forum_is_subscribed($USER->id, $forum->id)) { + $subtexttitle = get_string("subscribestop", "forum"); $subtext = get_string("unsubscribe", "forum"); } else { + $subtexttitle = get_string("subscribestart", "forum"); $subtext = get_string("subscribe", "forum"); } echo "
"; - echo "id\">$subtext"; + echo "id\">$subtext"; echo "
"; } } -- 2.39.5