--- loncom/homework/grades.pm 2008/12/08 18:25:13 1.533 +++ loncom/homework/grades.pm 2008/12/17 13:06:17 1.537 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.533 2008/12/08 18:25:13 bisitz Exp $ +# $Id: grades.pm,v 1.537 2008/12/17 13:06:17 harmsja Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2758,8 +2758,10 @@ sub handback_files { $newflg.'_'.$part_resp.'_returndoc'.$file_counter, $save_file_name); if ($result !~ m|^/uploaded/|) { - $request->print('An error occurred ('.$result. - ') while trying to upload '.$newflg.'_'.$part_resp.'_returndoc'.$file_counter.'
'); + $request->print('
'. + &mt('An error occurred ([_1]) while trying to upload [_2].', + $result,$newflg.'_'.$part_resp.'_returndoc'.$file_counter). + ''); } else { # mark the file as read only my @files = ($save_file_name); @@ -8176,8 +8178,8 @@ GRADINGMENUJS '.$table.' -
-
+
+
'.&mt('Sections').' @@ -8187,27 +8189,21 @@ GRADINGMENUJS $result.= '   '; $result.='
-
- -
+
'.&mt('Groups').' '.&Apache::lonstatistics::GroupSelect('group','multiple',5).'
-
- -
+
'.&mt('Access Status').' '.&Apache::lonhtmlcommon::StatusOptions($saveStatus,undef,5,undef,'mult').'
-
- -
+
'.&mt('Submission Status').' @@ -8220,7 +8216,7 @@ GRADINGMENUJS
-
+

@@ -8820,7 +8816,9 @@ sub handler { } $ssi_error = 0; - $request->print(&Apache::loncommon::start_page('Grading')); + my $brcrum = [{href=>"/adm/grades",text=>"Grading"}]; + $request->print(&Apache::loncommon::start_page('Grading',undef, + {'bread_crumbs' => $brcrum})); if ($symb eq '' && $command eq '') { if ($env{'user.adv'}) { if (($env{'form.codeone'}) && ($env{'form.codetwo'}) &&