--- loncom/interface/lonhtmlcommon.pm 2006/07/07 19:17:19 1.143 +++ loncom/interface/lonhtmlcommon.pm 2006/07/21 08:59:30 1.145 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.143 2006/07/07 19:17:19 albertel Exp $ +# $Id: lonhtmlcommon.pm,v 1.145 2006/07/21 08:59:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1270,20 +1270,21 @@ returns: nothing # if ($bug ne '') { # $icons .= &Apache::loncommon::help_open_bug($bug); # } - if ($helplink ne 'nohelp') { + if ($faq ne '' || $component_help ne '' || $bug ne '') { $icons .= &Apache::loncommon::help_open_menu($component, $component_help, $faq,$bug); } - if ($icons ne '') { - $Str .= $icons.' '; - } # $Str .= $links.''; # if (defined($component)) { $Str .= ''. - &mt($component).''; + &mt($component); + if ($icons ne '') { + $Str .= ' '.$icons; + } + $Str .= ''; } $Str .= ''."\n"; #