--- loncom/interface/lonwhatsnew.pm 2012/08/27 15:27:58 1.105.2.2 +++ loncom/interface/lonwhatsnew.pm 2012/10/04 05:59:22 1.107 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.105.2.2 2012/08/27 15:27:58 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.107 2012/10/04 05:59:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1604,13 +1604,13 @@ sub display_handgrade { foreach my $res (@{$tograde}) { $rowNum ++; my $css_class = $rowNum%2?' class="LC_odd_row"':''; - my ($map,$id,$url)=&Apache::lonnet::decode_symb($res); - my $linkurl=&Apache::lonnet::clutter($url); - $linkurl .= '?symb='.&escape($res); + my $linkurl='/adm/grades'; if ($$ungraded{$res}{'enclink'}) { - $linkurl = - $$ungraded{$res}{'enclink'}.'?symb='.$$ungraded{$res}{'encsymb'}; + $linkurl.='?symb='.$$ungraded{$res}{'encsymb'}; + } else { + $linkurl.='?symb='.&escape($res); } + $linkurl.='&command=ungraded'; $r->print(''.$$ungraded{$res}{title}.''.$$ungraded{$res}{count}.''); } } elsif ($itemserror) { @@ -1698,7 +1698,7 @@ sub display_abovethreshold { if (ref($$triggered{$res}{text}) eq 'ARRAY') { if (@{$$triggered{$res}{text}} > 1) { for (my $i=1; $i<@{$$triggered{$res}{text}}; $i++) { - $r->print(''. + $r->print(''. $$triggered{$res}{text}[$i].''); } }