--- loncom/publisher/loncfile.pm 2009/08/28 14:32:26 1.100.2.2 +++ loncom/publisher/loncfile.pm 2009/08/28 01:08:48 1.102 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.100.2.2 2009/08/28 14:32:26 raeburn Exp $ +# $Id: loncfile.pm,v 1.102 2009/08/28 01:08:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -856,7 +856,6 @@ sub NewFile1 { } my @okexts = qw(xml html xhtml htm xhtm problem page sequence rights sty task library js css txt); - if (($extension eq '') || (!grep(/^\Q$extension\E/,@okexts))) { my $validexts = '.'.join(', .',@okexts); $request->print('

'. @@ -1447,10 +1446,26 @@ function writeDone() { $loaditem{'onload'} = "writeDone()"; } + # Breadcrumbs + &Apache::lonhtmlcommon::clear_breadcrumbs(); + &Apache::lonhtmlcommon::add_breadcrumb({ + 'text' => 'Construction Space', + 'href' => &Apache::loncommon::authorspace(), + }); + &Apache::lonhtmlcommon::add_breadcrumb({ + 'text' => 'File Operation', + 'title' => 'Construction Space File Operation', + 'href' => '', + }); + $r->print(&Apache::loncommon::start_page('Construction Space File Operation', $js, - {'add_entries' => \%loaditem,})); - + {'add_entries' => \%loaditem,}) + .&Apache::lonhtmlcommon::breadcrumbs() + .&Apache::loncommon::head_subbox( + &Apache::loncommon::CSTR_pageheader()) + ); + $r->print('

'.&mt('Location').': '.&display($fn).'

'); if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {