--- loncom/homework/lonhomework.pm 2004/09/29 06:50:31 1.178.2.2 +++ loncom/homework/lonhomework.pm 2004/11/29 22:13:34 1.184 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.178.2.2 2004/09/29 06:50:31 albertel Exp $ +# $Id: lonhomework.pm,v 1.184 2004/11/29 22:13:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -52,7 +52,7 @@ use Apache::Constants qw(:common); use HTML::Entities(); use Apache::loncommon(); use Apache::lonlocal; -#use Time::HiRes qw( gettimeofday tv_interval ); +use Time::HiRes qw( gettimeofday tv_interval ); BEGIN { &Apache::lonxml::register_insert(); @@ -449,11 +449,16 @@ sub handle_save_or_undo { sub analyze_header { my ($request) = @_; + my $bodytag='
'; + if ($ENV{'environment.remote'} eq 'off') { + $bodytag=&Apache::loncommon::bodytag(); + } my $result.='