--- loncom/publisher/Attic/lonconstruct.pm 2002/09/16 13:05:49 1.9 +++ loncom/publisher/Attic/lonconstruct.pm 2003/05/28 21:07:19 1.10 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.9 2002/09/16 13:05:49 www Exp $ +# $Id: lonconstruct.pm,v 1.10 2003/05/28 21:07:19 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -44,6 +44,8 @@ use Apache::Constants qw(:common :http : use Apache::lonnet; use Apache::Log (); use HTML::Entities(); +use Apache::loncommon; +use Apache::lonmenu; my $DEBUG = 0; =pod @@ -105,11 +107,17 @@ sub handler { &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe); $lowerframe= &HTML::Entities::encode($lowerframe); &Debug($r, "LOwer frame URL after quote subst: ".$lowerframe); - + my $loadevents=&Apache::lonmenu::loadevents(); + my $unloadevents=&Apache::lonmenu::unloadevents(); + my $script=&Apache::lonmenu::registerurl(); $r->print(< -LON-CAPA Construction Space - +LON-CAPA Construction Space +$script + +