--- loncom/interface/loncommon.pm 2009/01/30 09:05:36 1.737 +++ loncom/interface/loncommon.pm 2009/02/25 21:06:27 1.757 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.737 2009/01/30 09:05:36 tempelho Exp $ +# $Id: loncommon.pm,v 1.757 2009/02/25 21:06:27 schulted 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; } @@ -1746,7 +1744,7 @@ sub select_level_form { =pod -=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc) +=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$autosubmit) Returns a string containing a \n"; + my $selectdomain = "