--- loncom/interface/loncommon.pm 2009/02/25 10:04:20 1.754 +++ loncom/interface/loncommon.pm 2009/02/25 13:25:52 1.755 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.754 2009/02/25 10:04:20 droeschl Exp $ +# $Id: loncommon.pm,v 1.755 2009/02/25 13:25:52 neumanie Exp $ # # Copyright Michigan State University Board of Trustees # @@ -923,10 +923,8 @@ sub help_open_topic { } # Add the text - if ($text ne "") { - $template .= - "". - "
$text"; + if ($text ne "") { + $template.="$text"; } # Add the graphic @@ -935,7 +933,7 @@ sub help_open_topic { $template .= <<"ENDTEMPLATE"; (Help: $topic) ENDTEMPLATE - if ($text ne '') { $template.='
' }; + return $template; }