--- loncom/interface/lonhtmlcommon.pm 2009/01/20 16:38:39 1.198 +++ loncom/interface/lonhtmlcommon.pm 2009/01/22 14:26:04 1.199 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.198 2009/01/20 16:38:39 bisitz Exp $ +# $Id: lonhtmlcommon.pm,v 1.199 2009/01/22 14:26:04 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1308,7 +1308,8 @@ returns: nothing my ($component,$component_help,$menulink,$helplink,$css_class,$no_mt) = @_; # $css_class ||= 'LC_breadcrumbs'; - my $Str = "\n".''; + $Str1 .= $links.''; # if (defined($component)) { - $Str .= '
    '; + my $Str1 = '
      '; + my $Str = ''; # # Make the faq and bug data cascade my $faq = ''; @@ -1382,10 +1383,11 @@ returns: nothing $faq,$bug); } # - $Str .= $links.'
'; + $Str .= "\n".'' + .''; + $Str .= '
'; if ($no_mt) { $Str .= $component; } else { @@ -1394,15 +1396,14 @@ returns: nothing if ($icons ne '') { $Str .= ' '.$icons; } - $Str .= '
'."\n"; } - $Str .= '
'."\n"; # # Return the @Crumbs stack to what we started with push(@Crumbs,$last); shift(@Crumbs); # - return $Str; + return "$Str\n$Str1"; } sub clear_breadcrumbs {