--- loncom/homework/grades.pm 2011/10/10 22:45:20 1.596.2.7 +++ loncom/homework/grades.pm 2011/10/23 02:15:25 1.596.2.9 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.596.2.7 2011/10/10 22:45:20 raeburn Exp $ +# $Id: grades.pm,v 1.596.2.9 2011/10/23 02:15:25 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -416,7 +416,7 @@ sub cleanRecord { ''.$grayFont.&mt('Item ID').''. $middlerow.''. ''.$grayFont.&mt('Option ID').''. - $bottomrow.''.''; + $bottomrow.''; } elsif ($response eq 'radiobutton') { my %answer=&Apache::lonnet::str2hash($answer); my ($toprow,$bottomrow); @@ -2106,7 +2106,7 @@ sub submission { keyw => 'Keyword Options', list => 'List', past => 'Paste Selection to List', - high => 'Hightlight Attribute', + high => 'Highlight Attribute', ); # # Print out the keyword options line @@ -2468,7 +2468,7 @@ sub check_collaborators { (split(/[,;\s]+/,$record->{'resource.'.$part.'.collaborators'})) { $possible_collaborator =~ s/[\$\^\(\)]//g; next if ($possible_collaborator eq ''); - my ($co_name,$co_dom) = split(/\@|:/,$possible_collaborator); + my ($co_name,$co_dom) = split(/:/,$possible_collaborator); $co_dom = $udom if (! defined($co_dom) || $co_dom =~ /^domain$/i); next if ($co_name eq $uname && $co_dom eq $udom); # Doing this grep allows 'fuzzy' specification @@ -2481,7 +2481,7 @@ sub check_collaborators { } } if (scalar(@good_collaborators) != 0) { - $result.='
'.&mt('Collaborators: ').'
    '; + $result.='
    '.&mt('Collaborators:').'
      '; foreach my $name (@good_collaborators) { my ($lastname,$givenn) = split(/,/,$$fullname{$name}); push(@col_fullnames, $givenn.' '.$lastname); @@ -7176,7 +7176,7 @@ ENDSCRIPT } $r->print(&verify_bubbles_checked(@lines_to_correct)); } elsif ($error eq 'missingbubble') { - $r->print('

      .&mt("There have been [_1]no[_2] bubbles scanned for some question(s)",'','')."

      \n"); + $r->print('

      '.&mt("There have been [_1]no[_2] bubbles scanned for some question(s)",'','')."

      \n"); $r->print($message); $r->print("

      ".&mt("Please indicate which bubble should be used for grading.")."

      "); $r->print(&mt("Some questions have no scanned bubbles.")."\n"); @@ -8464,7 +8464,7 @@ sub checkscantron_results { } } $r->print('

      '. - &mt('Comparison of bubblesheet data (including corrections) with corresponding submission records (most recent submission) for [_1][quant,_2,student][_3] ([quant,_4,bubblesheet line] per student).', + &mt('Comparison of bubblesheet data (including corrections) with corresponding submission records (most recent submission) for [_1][quant,_2,student][_3] ([quant,_4,bubblesheet line] per student).', '', $numstudents, '',