version 1.84, 2008/12/20 01:39:47
|
version 1.86, 2009/02/10 09:30:16
|
Line 681 function toggle_countunread(choice) {
|
Line 681 function toggle_countunread(choice) {
|
} |
} |
</script>'); |
</script>'); |
$r->print('<br />' |
$r->print('<br />' |
.&mt('Choose whether or not to display a count of the number of new posts for each resource or bulletin board which has unread posts.') |
.&mt('Choose whether or not to display a count of the number of new posts for each resource or discussion board which has unread posts.') |
.'<br />' |
.'<br />' |
.&mt("This can increase the time taken to gather data for the '<i>What's New?</i>' page by a few seconds.") |
.&mt("This can increase the time taken to gather data for the '<i>What's New?</i>' page by a few seconds.") |
.' ' |
.' ' |
Line 1699 sub display_coursediscussion {
|
Line 1699 sub display_coursediscussion {
|
my $feedurl=&Apache::lonfeedback::get_feedurl($ressymb); |
my $feedurl=&Apache::lonfeedback::get_feedurl($ressymb); |
my $disclink = $feedurl.'?symb='.$$unread{$ressymb}{symb}; |
my $disclink = $feedurl.'?symb='.$$unread{$ressymb}{symb}; |
if ($feedurl =~ /bulletinboard/) { |
if ($feedurl =~ /bulletinboard/) { |
$type = 'Bulletin Board'; |
$type = 'Discussion Board'; |
} |
} |
if ($$unread{$ressymb}{'enclink'}) { |
if ($$unread{$ressymb}{'enclink'}) { |
$disclink = $$unread{$ressymb}{'enclink'}.'?symb='.$$unread{$ressymb}{'encsymb'}; |
$disclink = $$unread{$ressymb}{'enclink'}.'?symb='.$$unread{$ressymb}{'encsymb'}; |