[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 15 Feb 2008 12:59:50 -0000
bisitz Fri Feb 15 07:59:50 2008 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
Allow authors to use function &implicit_multiplication()
This is necessary for customsresponse problems which should behave like formularesponse problems.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.470 loncom/xml/lonxml.pm:1.471
--- loncom/xml/lonxml.pm:1.470 Wed Dec 5 09:52:15 2007
+++ loncom/xml/lonxml.pm Fri Feb 15 07:59:50 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.470 2007/12/05 14:52:15 albertel Exp $
+# $Id: lonxml.pm,v 1.471 2008/02/15 12:59:50 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -723,6 +723,7 @@
$safehole->wrap(\&Apache::chemresponse::chem_standard_order,$safeeval,
'&chem_standard_order');
$safehole->wrap(\&Apache::response::check_status,$safeeval,'&check_status');
+ $safehole->wrap(\&Apache::response::implicit_multiplication,$safeeval,'&implicit_multiplication');
$safehole->wrap(\&Apache::lonmaxima::maxima_eval,$safeeval,'&maxima_eval');
$safehole->wrap(\&Apache::lonmaxima::maxima_check,$safeeval,'&maxima_check');