--- loncom/publisher/Attic/lonconstruct.pm 2003/09/21 03:32:06 1.14 +++ loncom/publisher/Attic/lonconstruct.pm 2003/10/19 16:46:16 1.18 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.14 2003/09/21 03:32:06 taceyjo1 Exp $ +# $Id: lonconstruct.pm,v 1.18 2003/10/19 16:46:16 taceyjo1 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -104,7 +104,7 @@ sub handler { $lowerframe=~s/^\//\/\~/; &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe); $lowerframe= &HTML::Entities::encode($lowerframe); - &Debug($r, "LOwer frame URL after quote subst: ".$lowerframe); + &Debug($r, "Lower frame URL after quote subst: ".$lowerframe); # # Are we forcing edit mode? @@ -120,7 +120,11 @@ sub handler { if ($ENV{'form.forceColoredit'}) { $lowerframe.='?editmode=Edit&problemmode=Edit'; } - + &Apache::loncommon::get_unprocessed_cgi + ($ENV{'QUERY_STRING'},['decompress']); + if ($ENV{'form.decompress'}) { + $lowerframe="http://$ENV{'SERVER_NAME'}/cgi-bin/decompress.pl?decompress"; + } $r->print(< LON-CAPA Construction Space