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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Fri, 10 Aug 2007 20:12:31 -0000


albertel		Fri Aug 10 16:12:31 2007 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - include the username/domain and the courseid to make tracking thigns down easier
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.426 loncom/homework/grades.pm:1.427
--- loncom/homework/grades.pm:1.426	Fri Aug 10 16:09:30 2007
+++ loncom/homework/grades.pm	Fri Aug 10 16:12:31 2007
@@ -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.427 2007/08/10 20:12:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1950,10 +1950,12 @@
 								   {'one_time' => 1});
 
 			    $similar="<hr /><h3><span class=\"LC_warning\">".
-				&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'}).
 				'</span></h3><blockquote><i>'.
 				&keywords_highlight($oessay).