[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /xml scripttag.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 29 Mar 2006 04:32:19 -0000
albertel Tue Mar 28 23:32:19 2006 EDT
Modified files: (Branch: version_2_1_X)
/loncom/xml scripttag.pm
Log:
- enable import in webgrade
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.134 loncom/xml/scripttag.pm:1.134.2.1
--- loncom/xml/scripttag.pm:1.134 Thu Dec 15 14:00:36 2005
+++ loncom/xml/scripttag.pm Tue Mar 28 23:32:19 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# <script> definiton
#
-# $Id: scripttag.pm,v 1.134 2005/12/15 19:00:36 albertel Exp $
+# $Id: scripttag.pm,v 1.134.2.1 2006/03/29 04:32:19 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -350,8 +350,8 @@
$bodytext=Apache::run::evaluate($bodytext,$safeeval,$$parstack[$#$parstack]);
- if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' ||
- $target eq 'tex' || $target eq 'analyze' ) {
+ if ($target eq 'web' || $target eq 'webgrade' || $target eq 'grade'
+ || $target eq 'answer' || $target eq 'tex' || $target eq 'analyze' ) {
# FIXME this probably needs to be smart about construction vs.
# non construction space.
my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext);