--- loncom/interface/lonhtmlcommon.pm 2004/07/19 17:57:01 1.82 +++ loncom/interface/lonhtmlcommon.pm 2004/07/19 21:14:15 1.83 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.82 2004/07/19 17:57:01 albertel Exp $ +# $Id: lonhtmlcommon.pm,v 1.83 2004/07/19 21:14:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1068,6 +1068,10 @@ returns: nothing # if ($bug ne '') { # $icons .= &Apache::loncommon::help_open_bug($bug); # } + if (defined($component_help)) { + $icons .= + &Apache::loncommon::help_open_topic($component_help); + } $icons .= &Apache::loncommon::help_open_menu($color,$component,$component_help,$function,$faq,$bug); if ($icons ne '') { $Str .= $icons.' '; @@ -1077,12 +1081,7 @@ returns: nothing # if (defined($component)) { $Str .= ''. - ''.&mt($component).''; - if (defined($component_help)) { - $Str .= - &Apache::loncommon::help_open_topic($component_help); - } - $Str.= ''; + ''.&mt($component).''; } $Str .= ''."\n"; #