--- loncom/xml/londefdef.pm 2009/10/15 22:39:58 1.412 +++ loncom/xml/londefdef.pm 2010/01/30 21:46:06 1.414 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.412 2009/10/15 22:39:58 raeburn Exp $ +# $Id: londefdef.pm,v 1.414 2010/01/30 21:46:06 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -549,6 +549,8 @@ sub start_body { 'text' => 'HTML Editor', 'href' => '', }); + # breadcrumbs (and tools) will be created + # in start_page->bodytag->innerregister } else { # FIXME Where are we? } @@ -561,10 +563,6 @@ sub start_body { # 'no_title' => 1, 'force_register' => 1}); - if ($env{'request.state'} eq 'construct') { - $currentstring .= &Apache::lonhtmlcommon::breadcrumbs(); - } - my $header = ''; if ($env{'request.state'} ne 'published' && $env{'request.state'} ne 'construct') { @@ -4817,8 +4815,7 @@ sub is_inside_of { # # This sub provides the typical LaTeX prefix matter for tex output: # -sub latex_header -{ +sub latex_header { my ($mode) = @_; my $currentstring = '';