--- loncom/imspackages/imsexport.pm 2004/12/23 16:31:28 1.2 +++ loncom/imspackages/imsexport.pm 2009/02/25 10:26:05 1.6 @@ -1,3 +1,7 @@ +# The LearningOnline Network +# +# $Id: imsexport.pm,v 1.6 2009/02/25 10:26:05 weissno Exp $ +# # Copyright Michigan State University Board of Trustees # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). @@ -30,11 +34,11 @@ sub simpleproblem { my ($symb) = @_; my $output; my %qparms = &Apache::lonnet::dump('resourcedata', - $ENV{'course.'.$ENV{'request.course.id'}.'.domain'}, - $ENV{'course.'.$ENV{'request.course.id'}.'.num'}, - $ENV{'request.course.id'}.'.'.$symb); + $env{'course.'.$env{'request.course.id'}.'.domain'}, + $env{'course.'.$env{'request.course.id'}.'.num'}, + $env{'request.course.id'}.'.'.$symb); if ($symb) { - my $prefix=$ENV{'request.course.id'}.'.'.$symb.'.0.'; + my $prefix=$env{'request.course.id'}.'.'.$symb.'.0.'; my $qtype=$qparms{$prefix.'questiontype'}; my $qtext=$qparms{$prefix.'questiontext'}; my $hint=$qparms{$prefix.'hinttext'}; @@ -152,7 +156,7 @@ sub external { my ($symb,$title) = @_; my $output; if ($symb =~ m-\.sequence___\d+___ext(.+)$-) { - my $exturl = &Apache::lonnet::unescape($1); + my $exturl = &unescape($1); $output = qq|