--- loncom/homework/lonhomework.pm 2004/11/30 22:57:16 1.185 +++ loncom/homework/lonhomework.pm 2004/12/03 21:47:38 1.186 @@ -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.186 2004/12/03 21:47:38 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.").'
'.&mt("Then");} my %lt=&Apache::lonlocal::texthash( 'create' => 'Creating a new', 'resource' => 'resource',