[LON-CAPA-cvs] cvs: loncom /homework/caparesponse caparesponse.pm
www
lon-capa-cvs@mail.lon-capa.org
Sun, 23 Feb 2003 20:31:51 -0000
www Sun Feb 23 15:31:51 2003 EDT
Modified files:
/loncom/homework/caparesponse caparesponse.pm
Log:
After wasting half an hour trying to figure out how "format" works ...
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.76 loncom/homework/caparesponse/caparesponse.pm:1.77
--- loncom/homework/caparesponse/caparesponse.pm:1.76 Mon Jan 13 16:22:00 2003
+++ loncom/homework/caparesponse/caparesponse.pm Sun Feb 23 15:31:51 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# caparesponse definition
#
-# $Id: caparesponse.pm,v 1.76 2003/01/13 21:22:00 sakharuk Exp $
+# $Id: caparesponse.pm,v 1.77 2003/02/23 20:31:51 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -85,8 +85,10 @@
$result.=&Apache::edit::tag_start($target,$token);
$result.=&Apache::edit::text_arg('Answer:','answer',$token);
if ($token->[1] eq 'numericalresponse') {
- $result.=&Apache::edit::text_arg('Unit:','unit',$token,5);
- $result.=&Apache::edit::text_arg('Format:','format',$token,4);
+ $result.=&Apache::edit::text_arg('Unit:','unit',$token,5).
+ &Apache::loncommon::help_open_topic('Physical_Units');
+ $result.=&Apache::edit::text_arg('Format:','format',$token,4).
+ &Apache::loncommon::help_open_topic('Numerical_Response_Format');
} elsif ($token->[1] eq 'stringresponse') {
$result.=&Apache::edit::select_arg('Type:','type',
[['cs','Case Sensitive'],['ci','Case Insensitive'],