--- loncom/interface/lonfeedback.pm 2012/10/02 18:08:12 1.359
+++ loncom/interface/lonfeedback.pm 2013/01/03 20:41:45 1.362
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.359 2012/10/02 18:08:12 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.362 2013/01/03 20:41:45 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1952,7 +1952,7 @@ END
my %onload = ('onload' => 'window.focus();setposttype();');
my %parms=('add_entries' => \%onload);
- if ($env{'form.modal'} ne 'yes') { 'bread_crumbs' => $brcrum }
+ if ($env{'form.modal'} ne 'yes') { $parms{'bread_crumbs'} = $brcrum }
my $start_page=
&Apache::loncommon::start_page('Resource Feedback and Discussion',$js,\%parms);
@@ -3981,8 +3981,6 @@ sub handler {
my $feedurl = '/adm/navmaps';
if ($env{'form.navurl'}) { $feedurl .= '?'.$env{'form.navurl'}; }
my %lt = &Apache::lonlocal::texthash(
- 'mnpa' => 'Marked "New" posts as read in a total of',
- 'robb' => 'resources/bulletin boards.',
'twnp' => 'There are currently no resources or discussion boards with unread discussion postings.'
);
foreach my $res (@resources) {
@@ -3991,7 +3989,10 @@ sub handler {
my $lastkey = $ressymb.'_lastread';
$discinfo{$lastkey} = $env{'form.navtime'};
}
- my $textline = "$lt{'mnpa'} $numitems $lt{'robb'}";
+ my $textline = ''.
+ &mt('Marked "New" posts as read in a total of [_1] resources/bulletin boards.',
+ $numitems).
+ '';
if ($numitems > 0) {
&Apache::lonnet::put('nohist_'.$env{'request.course.id'}.'_discuss',
\%discinfo,$env{'user.domain'},$env{'user.name'});