[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Tue, 11 Nov 2003 16:48:12 -0000
sakharuk Tue Nov 11 11:48:12 2003 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
Changes the name of environment variable for the style file.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.291 loncom/xml/lonxml.pm:1.292
--- loncom/xml/lonxml.pm:1.291 Thu Nov 6 14:24:11 2003
+++ loncom/xml/lonxml.pm Tue Nov 11 11:48:11 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.291 2003/11/06 19:24:11 sakharuk Exp $
+# $Id: lonxml.pm,v 1.292 2003/11/11 16:48:11 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -337,8 +337,8 @@
&Apache::style::styleparser($target,$styletext));
}
}
- } elsif ($ENV{'construction_space_style'} && ($ENV{'request.state'} eq 'construct')) {
- my $location=&Apache::lonnet::filelocation('',$ENV{'construction_space_style'});
+ } elsif ($ENV{'construct.style'} && ($ENV{'request.state'} eq 'construct')) {
+ my $location=&Apache::lonnet::filelocation('',$ENV{'construct.style'});
my $styletext=&Apache::lonnet::getfile($location);
if ($styletext ne '-1') {
%style_for_target = (%style_for_target,