--- loncom/homework/grades.pm 2007/08/10 20:09:30 1.426 +++ loncom/homework/grades.pm 2007/08/21 18:41:27 1.430 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.426 2007/08/10 20:09:30 albertel Exp $ +# $Id: grades.pm,v 1.430 2007/08/21 18:41:27 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1950,10 +1950,12 @@ KEYWORDS {'one_time' => 1}); $similar="

". - &mt('Essay is [_1]% similar to an essay by [_2] in course [_3]:[_4]', + &mt('Essay is [_1]% similar to an essay by [_2] ([_3]:[_4]) in course [_5] (course id [_6]:[_7])', $osim, &Apache::loncommon::plainname($oname,$odom), + $oname,$odom, $old_course_desc{'description'}, + $old_course_desc{'num'}, $old_course_desc{'domain'}). '

'. &keywords_highlight($oessay). @@ -2969,12 +2971,13 @@ sub viewgrades { ''."\n"; my $sectionClass; + my $section_display = join (", ",&Apache::loncommon::get_env_multiple('form.section')); if ($env{'form.section'} eq 'all') { $sectionClass='Class '; } elsif ($env{'form.section'} eq 'none') { $sectionClass='Students in no Section '; } else { - $sectionClass='Students in Section '.$env{'form.section'}.''; + $sectionClass='Students in Section(s) '.$section_display.''; } $result.='

Assign Common Grade To '.$sectionClass; $result.= '
'."\n". @@ -6930,7 +6933,7 @@ GRADINGMENUJS $result.=''; $result.='
'."\n". - ' '.&mt('Select Section').': '."\n"; if (ref($sections)) { foreach (sort (@$sections)) { $result.='