--- loncom/interface/portfolio.pm 2008/12/10 21:46:58 1.202 +++ loncom/interface/portfolio.pm 2008/12/15 16:37:44 1.203 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.202 2008/12/10 21:46:58 kaisler Exp $ +# $Id: portfolio.pm,v 1.203 2008/12/15 16:37:44 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2245,7 +2245,8 @@ sub handler { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; # Give the LON-CAPA page header - my @brcrum = [{href=>"/adm/portfolio",text=>"Portfolio Manager"}]; + my $brcrum = [{href=>"/adm/portfolio",text=>"Portfolio Manager"}]; + if ($env{"form.mode"} eq 'selectfile'){ $r->print(&Apache::loncommon::start_page($title,undef, {'only_body' => 1})); @@ -2253,7 +2254,8 @@ sub handler { $r->print(&Apache::loncommon::start_page('New role-based condition',undef, {'no_nav_bar' => 1, })); } else { - $r->print(&Apache::loncommon::start_page($title,undef,{bread_crumbs => @brcrum})); + $r->print(&Apache::loncommon::start_page($title,undef, + {'bread_crumbs' => $brcrum})); } $r->rflush(); if (!&Apache::lonnet::usertools_access($uname,$udom,'portfolio')) {