[LON-CAPA-cvs] cvs: loncom /homework grades.pm

riegler riegler@source.lon-capa.org
Sun, 21 Dec 2008 22:26:49 -0000


riegler		Sun Dec 21 22:26:49 2008 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  more &mt adjustment
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.539 loncom/homework/grades.pm:1.540
--- loncom/homework/grades.pm:1.539	Sun Dec 21 22:01:35 2008
+++ loncom/homework/grades.pm	Sun Dec 21 22:26:48 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.539 2008/12/21 22:01:35 riegler Exp $
+# $Id: grades.pm,v 1.540 2008/12/21 22:26:48 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1656,7 +1656,7 @@
 	$wgt.')" /></td>'."\n";
     $line.='<td>/'.$wgt.' '.$wgtmsg.
 	($$record{'resource.'.$partid.'.solved'} eq 'correct_by_student' ? '&nbsp;'.$checkIcon : '').
-	' </td><td>'."\n";
+	' </td><td><b>'.&mt('Grade Status').':</b>'."\n";
     $line.='<select name="GD_SEL'.$counter.'_'.$partid.'" '.
 	'onChange="javascript:clearRadBox(this.form,\''.$counter.'_'.$partid.'\')" >'."\n";
     if ($$record{'resource.'.$partid.'.solved'} eq 'excused') {
@@ -1669,9 +1669,9 @@
     $line.='<option value="reset status">'.&mt('reset status').'</option></select>'."\n";
 
 
+	#&mt('<td><b>Part:</b></td><td>[_1]</td><td><b>Points:</b></td><td>[_2]</td><td>or</td><td>[_3]</td>',$display_part,$radio,$line);
     $result .= 
-	&mt('<td><b>Part:</b></td><td>[_1]</td><td><b>Points:</b></td><td>[_2]</td><td>or</td><td>[_3]</td>',$display_part,$radio,$line);
-
+	    '<td><b>'.&mt('Part').':</b></td><td>'.$display_part.'</td><td><b>'.&mt('Points').':</b></td><td>'.$radio.'</td><td>'.&mt('or').'</td><td>'.$line.'</td>'.
     
     $result.='</tr></table>'."\n";
     $result.='<input type="hidden" name="stores'.$counter.'_'.$partid.'" value="" />'."\n".
@@ -3230,7 +3230,6 @@
 	$line.='<input type="hidden" name="weight_'.
 	    $partid.'" value="'.$weight{$partid}.'" />'."\n";
 
-	    #&mt('<td><b>Part:</b></td><td>[_1]</td><td><b>Points:</b></td><td>[_2]</td><td>or</td><td>[_3]</td>',$display_part,$radio,$line).
 	$result.=
 	    &Apache::loncommon::start_data_table_row()."\n".
 	    '<td><b>'.&mt('Part').':</b></td><td>'.$display_part.'</td><td><b>'.&mt('Points').':</b></td><td>'.$radio.'</td><td>'.&mt('or').'</td><td>'.$line.'</td>'.