--- loncom/interface/lonmeta.pm 2009/12/01 18:07:50 1.237 +++ loncom/interface/lonmeta.pm 2009/12/01 18:34:02 1.238 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.237 2009/12/01 18:07:50 bisitz Exp $ +# $Id: lonmeta.pm,v 1.238 2009/12/01 18:34:02 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -744,8 +744,14 @@ sub prettyinput { # Create pageheader sub pageheader { - my $output = &Apache::lonhtmlcommon::breadcrumbs(); - + my $output = ''; + # No CSTR? Include breadcrumbs + if ($env{'request.state'} ne 'construct') { + # loncommon::bodytag already includes breadcrumbs for CSTR + # by calling lonmenu::innerregister + $output = &Apache::lonhtmlcommon::breadcrumbs(); + } + # CSTR? Include CSTR header if ($env{'request.state'} eq 'construct') { $output .= &Apache::loncommon::head_subbox( &Apache::loncommon::CSTR_pageheader());