--- loncom/homework/lonhomework.pm 2004/11/30 22:57:16 1.185 +++ loncom/homework/lonhomework.pm 2004/12/17 22:30:30 1.187 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.185 2004/11/30 22:57:16 albertel Exp $ +# $Id: lonhomework.pm,v 1.187 2004/12/17 22:30:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -720,7 +720,8 @@ sub newproblem { $errormsg='
'.&mt('You did not select a template.').'
'."\n"; } my $instructions; - my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef,1); + my $bodytag=&Apache::loncommon::bodytag(undef,undef,undef, + ($ENV{'environment.remote'} ne 'off')); if ($templatelist) { $instructions=&mt(", select a template from the pull-down menu below.").'