--- loncom/interface/lonhtmlcommon.pm 2009/01/12 01:37:57 1.197
+++ 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.197 2009/01/12 01:37:57 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.200 2009/01/22 14:44:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1308,14 +1308,15 @@ returns: nothing
my ($component,$component_help,$menulink,$helplink,$css_class,$no_mt) = @_;
#
$css_class ||= 'LC_breadcrumbs';
- my $Str = "\n".'
';
+ my $Str1 = '';
+ my $Str = '';
#
# Make the faq and bug data cascade
my $faq = '';
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);
#
@@ -1338,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 = '
';
if ($no_mt) {
$Str .= $component;
} else {
@@ -1394,15 +1396,14 @@ returns: nothing
if ($icons ne '') {
$Str .= ' '.$icons;
}
- $Str .= '
';
+ $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 {
@@ -1552,7 +1553,7 @@ sub role_select_row {
$output = &row_title($title,$css_class);
}
$output .= qq|
-