[LON-CAPA-cvs] cvs: loncom /homework response.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 08 Mar 2006 22:17:21 -0000
albertel Wed Mar 8 17:17:21 2006 EDT
Modified files:
/loncom/homework response.pm
Log:
- rank/match/option response were not display the correct bubble line number
in PGRD of exam resources
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.136 loncom/homework/response.pm:1.137
--- loncom/homework/response.pm:1.136 Wed Mar 8 17:16:28 2006
+++ loncom/homework/response.pm Wed Mar 8 17:17:17 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# various response type definitons response definition
#
-# $Id: response.pm,v 1.136 2006/03/08 22:16:28 albertel Exp $
+# $Id: response.pm,v 1.137 2006/03/08 22:17:17 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -609,7 +609,7 @@
} else {
$result = '<table border="1"><tr>';
if ($Apache::lonhomework::type eq 'exam') {
- $result .= '<td>'.$Apache::lonxml::counter. ')</td>';
+ $result .= '<td>'.$Apache::lonxml::counter+$increment. ')</td>';
} else {
$result .= '<td>Answer for Part:'.$Apache::inputtags::part.'</td>';
}