--- loncom/interface/lonwhatsnew.pm 2016/10/16 23:19:59 1.119 +++ loncom/interface/lonwhatsnew.pm 2016/10/23 21:50:55 1.120 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.119 2016/10/16 23:19:59 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.120 2016/10/23 21:50:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1145,8 +1145,8 @@ sub check_thresholds { '.$stats{$part}{attempts}.' '.$stats{$part}{degdiff}.' '.$lastreset{$part}.''; - if ($checkallowed->{'resetcounters'}) { - $$triggered{$symb}{text}[$partcount] .= + if ($checkallowed->{'resetcounters'}) { + $$triggered{$symb}{text}[$partcount] .= ''. ''; } @@ -1214,7 +1214,7 @@ sub process_reset { my ($dom,$crs,$checkallowed) = @_; if (!$checkallowed->{'resetcounters'}) { return ''.&mt('You do not the required privileges to reset counters'). - '
'; + '
'; } my $result = ''.&mt('Counters reset for following problems (and parts):'). '
'; @@ -1741,7 +1741,7 @@ sub display_abovethreshold { } } } - if ($checkallowed->{'resetcounters'}) { + if ($checkallowed->{'resetcounters'}) { $r->print('
'); } } elsif ($itemserror) {