--- loncom/xml/londefdef.pm 2010/08/04 14:20:26 1.419 +++ loncom/xml/londefdef.pm 2011/09/15 19:08:15 1.433 @@ -1,7 +1,8 @@ + # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.419 2010/08/04 14:20:26 raeburn Exp $ +# $Id: londefdef.pm,v 1.433 2011/09/15 19:08:15 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 .= ' -