[LON-CAPA-cvs] cvs: loncom /homework hint.pm
www
lon-capa-cvs@mail.lon-capa.org
Sun, 23 Feb 2003 20:37:56 -0000
www Sun Feb 23 15:37:56 2003 EDT
Modified files:
/loncom/homework hint.pm
Log:
Adding links to help on units and format.
Index: loncom/homework/hint.pm
diff -u loncom/homework/hint.pm:1.35 loncom/homework/hint.pm:1.36
--- loncom/homework/hint.pm:1.35 Thu Feb 13 18:48:27 2003
+++ loncom/homework/hint.pm Sun Feb 23 15:37:56 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# implements the tags that control the hints
#
-# $Id: hint.pm,v 1.35 2003/02/13 23:48:27 albertel Exp $
+# $Id: hint.pm,v 1.36 2003/02/23 20:37:56 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -98,8 +98,10 @@
$result.=&Apache::edit::text_arg('Name:','name',$token);
$result.=&Apache::edit::text_arg('Answer:','answer',$token);
if ($token->[1] eq 'numericalhint') {
- $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 'stringhint') {
$result.=&Apache::edit::select_arg('Type:','type',['cs','ci','mc'],$token);
} elsif ($token->[1] eq 'formulahint') {