--- loncom/interface/lonhtmlcommon.pm 2009/01/22 14:26:04 1.199 +++ loncom/interface/lonhtmlcommon.pm 2009/01/22 14:44:40 1.200 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.199 2009/01/22 14:26:04 bisitz Exp $ +# $Id: lonhtmlcommon.pm,v 1.200 2009/01/22 14:44:40 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1316,7 +1316,7 @@ returns: nothing my $bug = ''; my $help=''; # Crumb Symbol - my $crumbsymbol = ' ▶ '; + my $crumbsymbol = '▶ '; # The last breadcrumb does not have a link, so handle it separately. my $last = pop(@Crumbs); # @@ -1339,31 +1339,31 @@ returns: nothing no_mt =>$no_mt_descr, }); } - my $links .= - join($crumbsymbol, + my $links .= '
  • '. + join('
  • '.$crumbsymbol, map { $faq = $_->{'faq'} if (exists($_->{'faq'})); $bug = $_->{'bug'} if (exists($_->{'bug'})); $help = $_->{'help'} if (exists($_->{'help'})); - my $result = '
  • {'href'}.'" '; if (defined($_->{'target'}) && $_->{'target'} ne '') { $result .= 'target="'.$_->{'target'}.'" '; } if ($_->{'no_mt'}) { $result .='title="'.$_->{'title'}.'">'. - $_->{'text'}.'
  • '; + $_->{'text'}.''; } else { $result .='title="'.&mt($_->{'title'}).'">'. - &mt($_->{'text'}).''; + &mt($_->{'text'}).''; } $result; } @Crumbs - ); - $links .= $crumbsymbol if ($links ne ''); + ).''; + $links .= '
  • '.$crumbsymbol if ($links ne ''); if ($last->{'no_mt'}) { - $links .= '
  • '.$last->{'text'}.'
  • '; + $links .= ''.$last->{'text'}.''; } else { - $links .= '
  • '.&mt($last->{'text'}).'
  • '; + $links .= ''.&mt($last->{'text'}).''; } # my $icons = '';