--- loncom/interface/lonhtmlcommon.pm 2004/02/20 16:21:49 1.53 +++ loncom/interface/lonhtmlcommon.pm 2004/02/20 16:44:43 1.54 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.53 2004/02/20 16:21:49 matthew Exp $ +# $Id: lonhtmlcommon.pm,v 1.54 2004/02/20 16:44:43 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -905,13 +905,20 @@ returns: nothing ); $links .= '->' if ($links ne ''); $links .= ''.$last->{'text'}.''; + # + my $icons = ''; + if (exists($last->{'faq'})) { + $icons .= &Apache::loncommon::help_open_faq($last->{'faq'}); + } if (exists($last->{'bug'})) { - $links = &Apache::loncommon::help_open_bug($last->{'bug'}).$links; + $icons .= &Apache::loncommon::help_open_bug($last->{'bug'}); } - if (exists($last->{'faq'})) { - $links = &Apache::loncommon::help_open_faq($last->{'faq'}).$links; + if ($icons ne '') { + $Str .= $icons.' '; } + # $Str .= $links.''; + # if (defined($component)) { $Str .= ''. ''.$component.'';