--- loncom/publisher/loncfile.pm 2003/06/19 21:04:37 1.32 +++ loncom/publisher/loncfile.pm 2003/08/01 18:06:33 1.34 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.32 2003/06/19 21:04:37 albertel Exp $ +# $Id: loncfile.pm,v 1.34 2003/08/01 18:06:33 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -92,6 +92,7 @@ use Apache::Constants qw(:common :http : use Apache::loncacc; use Apache::Log (); use Apache::lonnet; +use Apache::loncommon(); my $DEBUG=0; my $r; # Needs to be global for some stuff RF. @@ -878,6 +879,8 @@ sub phaseone { $ENV{'form.action'} eq 'newproblemfile' || $ENV{'form.action'} eq 'newpagefile' || $ENV{'form.action'} eq 'newsequencefile' || + $ENV{'form.action'} eq 'newrightsfile' || + $ENV{'form.action'} eq 'newstyfile' || $ENV{'form.action'} eq 'Select Action') { if($ENV{'form.newfilename'}) { my $newfilename = $ENV{'form.newfilename'}; @@ -1282,8 +1285,7 @@ sub handler { $r->print('LON-CAPA Construction Space'); - $r->print( - ''); + $r->print(&Apache::loncommon::bodytag('File Operation')); $r->print('

Construction Space '.$fn.'

'); @@ -1309,6 +1311,8 @@ sub handler { $ENV{'form.action'} eq 'newproblemfile' || $ENV{'form.action'} eq 'newpagefile' || $ENV{'form.action'} eq 'newsequencefile' || + $ENV{'form.action'} eq 'newrightsfile' || + $ENV{'form.action'} eq 'newstyfile' || $ENV{'form.action'} eq 'Select Action' ) { $r->print('

New Resource

'); } else {