--- loncom/publisher/Attic/lonconstruct.pm 2004/12/10 14:57:47 1.26 +++ loncom/publisher/Attic/lonconstruct.pm 2004/12/10 18:26:49 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.26 2004/12/10 14:57:47 raeburn Exp $ +# $Id: lonconstruct.pm,v 1.27 2004/12/10 18:26:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -97,10 +97,6 @@ sub handler { return OK if $r->header_only; my $lowerframe=$r->path_info; - my $type='file'; - if ($lowerframe =~ /\/$/) { - $type = 'dir'; - } &Debug($r, "Initial URL for lower frame: ".$lowerframe); $lowerframe=~s/^\//\/\~/; &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe); @@ -129,7 +125,7 @@ sub handler { my $topsrc = ''; if ($ENV{'environment.remote'} ne 'off') { $toprows = '110'; - $topsrc = '/adm/pubmenu?disp='.$type; + $topsrc = '/adm/localize/adm/publisher.html'; } $r->print(<