--- loncom/homework/grades.pm 2010/03/15 07:54:04 1.598 +++ loncom/homework/grades.pm 2010/03/19 21:22:34 1.599 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.598 2010/03/15 07:54:04 www Exp $ +# $Id: grades.pm,v 1.599 2010/03/19 21:22:34 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -8695,6 +8695,117 @@ sub all_for_one { &submit_options($request); } +sub submit_options_sequence { + my ($request) = @_; + my ($symb)=&get_symb($request); + if (!$symb) {return '';} + my $probTitle = &Apache::lonnet::gettitle($symb); + + my $receiptalert = &mt("Please enter a receipt number given by a student in the receipt box."); + $request->print(&Apache::lonhtmlcommon::scripttag(<'.$section.''."\n"; + } + } + + $result.='
'."\n". + ''."\n". + ''."\n". + ''."\n". + ''."\n". + ''."\n"; + + $result.=' +

+ '.&mt('Grade Complete Folder for One Student').' +

+ +
+ +
+ + '.&mt('Sections').' + +   '; + $result.=' +
+ +
+ + '.&mt('Groups').' + + '.&Apache::lonstatistics::GroupSelect('group','multiple',5).' +
+ +
+ + '.&mt('Access Status').' + + '.&Apache::lonhtmlcommon::StatusOptions($saveStatus,undef,5,undef,'mult').' +
+ +
+ +
+ + +
+ +
+ +
'; + $result .= &show_grading_menu_form($symb); + return $result; +} #--- Displays the submissions first page ------- sub submit_options { @@ -8834,21 +8945,6 @@ GRADINGMENUJS -

- '.&mt('Grade Complete Folder for One Student').' -

-
-
- -
-
- -
-
'; $result .= &show_grading_menu_form($symb); return $result; @@ -9471,7 +9567,7 @@ sub handler { } elsif ($command eq 'table' && $perm{'vgr'}) { $request->print(&submit_options($request)); } elsif ($command eq 'all_for_one' && $perm{'vgr'}) { - $request->print(&submit_options($request)); + $request->print(&submit_options_sequence($request)); } elsif ($command eq 'viewgrades' && $perm{'vgr'}) { $request->print(&viewgrades($request)); } elsif ($command eq 'handgrade' && $perm{'mgr'}) {