mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Fix for MDL-6319, to fix opposite-state links for unread tracking settings
This commit is contained in:
parent
7ce56c1282
commit
1a030f5112
@ -90,6 +90,8 @@ $string['forumintro'] = 'Forum introduction';
|
||||
$string['forumname'] = 'Forum name';
|
||||
$string['forumposts'] = 'Forum posts';
|
||||
$string['forums'] = 'Forums';
|
||||
$string['forumtracked'] = 'Unread posts are being tracked';
|
||||
$string['forumtrackednot'] = 'Unread posts are not being tracked';
|
||||
$string['forumblockingalmosttoomanyposts'] = 'You are approaching the posting threshold. You have posted $a->numposts times in the last $a->blockperiod and the limit is $a->blockafter posts.';
|
||||
$string['forumbodyhidden'] = 'This post cannot be viewed by you, probably because you have not posted in the discussion yet.';
|
||||
$string['forumauthorhidden'] = 'Author (hidden)';
|
||||
@ -139,7 +141,7 @@ $string['noquestions'] = 'There are no questions yet in this forum';
|
||||
$string['nosubscribers'] = 'There are no subscribers yet for this forum';
|
||||
$string['nothingnew'] = 'Nothing new for $a';
|
||||
$string['notingroup'] = 'Sorry, but you need to be part of a group to see this forum.';
|
||||
$string['notrackforum'] = 'Don\'t track unread messages';
|
||||
$string['notrackforum'] = 'Don\'t track unread posts';
|
||||
$string['noviewdiscussionspermission'] = 'You do not have the permission to view discussions in this forum';
|
||||
$string['nownotsubscribed'] = '$a->name will NOT receive copies of \'$a->forum\' by email.';
|
||||
$string['nownottracking'] = '$a->name is no longer tracking \'$a->forum\'.';
|
||||
@ -233,7 +235,7 @@ $string['subscription'] = 'Subscription';
|
||||
$string['subscriptions'] = 'Subscriptions';
|
||||
$string['thisforumisthrottled'] = 'This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at $a->blockafter posting(s) in $a->blockperiod';
|
||||
$string['timestartenderror'] = 'Display end date cannot be earlier than the start date';
|
||||
$string['trackforum'] = 'Track unread messages';
|
||||
$string['trackforum'] = 'Track unread posts';
|
||||
$string['tracking'] = 'Track';
|
||||
$string['trackingon'] = 'On';
|
||||
$string['trackingoff'] = 'Off';
|
||||
|
@ -187,11 +187,11 @@
|
||||
if (forum_tp_is_tracked($forum, $USER->id)) {
|
||||
$trtitle = get_string('notrackforum', 'forum');
|
||||
$trackedlink = '<a title="'.get_string('notrackforum', 'forum').'" href="settracking.php?id='.
|
||||
$forum->id.'&returnpage=view.php">'.get_string('notrackforum', 'forum').'</a>';
|
||||
$forum->id.'&returnpage=view.php">'.get_string('forumtracked', 'forum').'</a>';
|
||||
} else {
|
||||
$trtitle = get_string('trackforum', 'forum');
|
||||
$trackedlink = '<a title="'.get_string('trackforum', 'forum').'" href="settracking.php?id='.
|
||||
$forum->id.'&returnpage=view.php">'.get_string('trackforum', 'forum').'</a>';
|
||||
$forum->id.'&returnpage=view.php">'.get_string('forumtrackednot', 'forum').'</a>';
|
||||
}
|
||||
echo "<br />";
|
||||
echo "<span class=\"helplink\">$trackedlink</span>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user