[LON-CAPA-cvs] cvs: loncom /homework edit.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 10 Mar 2005 02:33:30 -0000
www Wed Mar 9 21:33:30 2005 EDT
Modified files:
/loncom/homework edit.pm
Log:
Include parameters in numericalresponse template
Remove whitespace in hint
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.89 loncom/homework/edit.pm:1.90
--- loncom/homework/edit.pm:1.89 Wed Jan 5 16:20:13 2005
+++ loncom/homework/edit.pm Wed Mar 9 21:33:30 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.89 2005/01/05 21:20:13 albertel Exp $
+# $Id: edit.pm,v 1.90 2005/03/10 02:33:30 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -300,6 +300,8 @@
sub insert_numericalresponse {
return '
<numericalresponse answer="">
+<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
+<responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" />
<textline />
<hintgroup>
<startouttext /><endouttext />
@@ -426,8 +428,7 @@
sub insert_hintpart {
return '
<hintpart on="default">
- <startouttext/>
- <endouttext />
+ <startouttext/><endouttext />
</hintpart>';
}