--- loncom/interface/lonwhatsnew.pm 2006/07/19 22:01:37 1.60 +++ loncom/interface/lonwhatsnew.pm 2007/02/27 22:16:02 1.68 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.60 2006/07/19 22:01:37 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.68 2007/02/27 22:16:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -243,9 +243,6 @@ END sub display_actions_box { my ($r,$tabbg,$command,$refpage,$threshold_titles,$interval_titles, $initpage,$cdom,$crs,$checkallowed) = @_; - my $rowColor1 = "#ffffff"; - my $rowColor2 = "#eeeeee"; - my $udom = $env{'user.domain'}; my $uname = $env{'user.name'}; my $cid = $env{'request.course.id'}; @@ -286,11 +283,7 @@ sub display_actions_box { $result = &store_courseinit_setting($uname,$udom,$cid,$initpage); } - my %threshold = ( - av_attempts => 2, - degdiff => 0.5, - numstudents => 2, - ); + my %threshold = (); my %pagedesc = &Apache::lonlocal::texthash ( firstres => 'First resource', whatsnew => "What's New? page", @@ -400,7 +393,7 @@ sub display_actions_box { } if ($needitems) { - &getitems(\%unread,\%ungraded,\%bombed,\%triggered,\%changed,\@newdiscussions,\@tograde,\@bombs,\@warnings,$rowColor1,$rowColor2,\%threshold,$cdom,$crs,\%res_title,\%show,$starttime,$countunread); + &getitems(\%unread,\%ungraded,\%bombed,\%triggered,\%changed,\@newdiscussions,\@tograde,\@bombs,\@warnings,\%threshold,$cdom,$crs,\%res_title,\%show,$starttime,$countunread); } if ($show{'coursenormalmail'}) { $msgcount = &getnormalmail(\@newmsgs); @@ -436,7 +429,7 @@ sub display_actions_box { if ($displayed == $halfway) { $r->print('