--- loncom/xml/londefdef.pm 2010/07/21 02:00:37 1.418 +++ loncom/xml/londefdef.pm 2011/07/21 03:31:16 1.431 @@ -1,7 +1,8 @@ + # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.418 2010/07/21 02:00:37 www Exp $ +# $Id: londefdef.pm,v 1.431 2011/07/21 03:31:16 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -43,11 +44,11 @@ use Apache::lonnet; use strict; use Apache::lonxml; use Apache::lontable; -use Apache::File(); use Image::Magick; use Apache::lonmenu(); use Apache::lonmeta(); use Apache::lonlocal; +use Apache::loncommon(); use Apache::Constants qw(:common); use File::Basename; use LONCAPA(); @@ -383,6 +384,9 @@ sub start_meta { } else { $currentstring = $token->[4]; } + if ($env{'form.grade_imsexport'}) { + $currentstring = ''; + } } elsif ($target eq 'meta') { unless (&Apache::lonxml::get_param ('http-equiv',$parstack,$safeeval,undef,1)) { @@ -589,7 +593,7 @@ sub start_body { sub edit_controls { my ($nochgview) = @_; my $result .= ' -