--- loncom/interface/lonfeedback.pm 2009/03/04 17:07:31 1.267 +++ loncom/interface/lonfeedback.pm 2009/04/04 21:47:40 1.269 @@ -1,7 +1,7 @@ # The LearningOnline Network # Feedback # -# $Id: lonfeedback.pm,v 1.267 2009/03/04 17:07:31 bisitz Exp $ +# $Id: lonfeedback.pm,v 1.269 2009/04/04 21:47:40 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -639,9 +639,9 @@ END if ($dischash{$toggkey}) { my $storebutton = &mt('Save read/unread changes'); $discussion.=''. - ''."\n". + ''."\n". ''."\n". + ' onClick="this.form.submit();" />'."\n". ''; } $discussion .= (< - - - + + + END @@ -2477,7 +2477,8 @@ sub redirect_back { } my $grouptag; if ($group ne '') { - $grouptag = ''; my $refarg; + $grouptag = ''; + my $refarg; if (exists($env{'form.ref'})) { $refarg = '&ref='.$env{'form.ref'}; $grouptag .= ''; @@ -2935,7 +2936,7 @@ sub generate_preview_button { return(<
- + @@ -3044,7 +3045,7 @@ END $r->print(''."\n"); } $r->print(< + $end_page END @@ -3316,7 +3317,7 @@ sub handler { ['hide','unhide','deldisc','postdata','preview','replydisc','editdisc','cmd','symb','onlyunread','allposts','onlyunmark','previous','markread','markonread','markondisp','toggoff','toggon','modifydisp','changes','navtime','navmaps','navurl','sortposts','applysort','rolefilter','statusfilter','sectionpick','groupick','posterlist','userpick','attach','origpage','currnewattach','deloldattach','keepold','allversions','export','sendmessageonly','group','ref']); my $group = $env{'form.group'}; my %attachmax = ( - text => '(128 KB max size)', + text => &mt('(128 KB max size)'), num => 131072, ); if ($env{'form.editdisc'}) {