--- loncom/interface/lonwhatsnew.pm 2012/10/04 06:07:11 1.105.2.3 +++ loncom/interface/lonwhatsnew.pm 2012/12/13 22:09:33 1.105.2.4 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.105.2.3 2012/10/04 06:07:11 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.105.2.4 2012/12/13 22:09:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -285,6 +285,11 @@ END $scripttag.='document.visible.submit(); } +function thresholdreset() { + document.visible.command.value="reset"; + document.visible.submit(); +} + function togglelogins() { var total = document.visible.logincount.value; var sumrow = document.visible.loginrow.value; @@ -1663,12 +1668,9 @@ sub display_abovethreshold { ); if (@{$warnings} > 0) { @{$warnings} = sort { &cmp_title($a,$b,$res_title) } @{$warnings}; - $r->print('
'. - ' '."\n". - ' '. - "\n"); $r->print(''. - ''.$lt{'reso'}.''. + ''.$lt{'reso'}. + ''. ''.$lt{'part'}.''.$lt{'nust'}.''. ''.$lt{'avat'}.''.$lt{'dedi'}.''. ''.$lt{'lare'}.''. @@ -1704,7 +1706,7 @@ sub display_abovethreshold { } } } - $r->print('
'); + $r->print('
'); } elsif ($itemserror) { $r->print(''.$itemserror.''); } else { @@ -1921,7 +1923,7 @@ sub display_coursediscussion { my $forum_title = $$unread{$ressymb}{'title'}; my $type = 'Resource'; my $feedurl=&Apache::lonfeedback::get_feedurl($ressymb); - my $disclink = $feedurl.'?symb='.$$unread{$ressymb}{symb}; + my $disclink = $feedurl.'?symb='.&escape($$unread{$ressymb}{symb}); if ($feedurl =~ /bulletinboard/) { $type = 'Discussion Board'; }