--- loncom/interface/loncommon.pm 2003/12/08 15:06:42 1.158 +++ loncom/interface/loncommon.pm 2003/12/22 23:34:49 1.162 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.158 2003/12/08 15:06:42 raeburn Exp $ +# $Id: loncommon.pm,v 1.162 2003/12/22 23:34:49 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -554,6 +554,8 @@ sub help_open_topic { my $template = ""; my $link; + $topic=~s/\W/\_/g; + if (!$stayOnPage) { $link = "javascript:void(open('/adm/help/${filename}.hlp', 'Help_for_$topic', 'menubar=0,toolbar=1,scrollbars=1,width=$width,height=$height,resizable=yes'))"; @@ -1118,7 +1120,7 @@ sub authform_local{ @_, ); my $jscall = "javascript:changed_radio('loc',$in{'formname'});"; - my $result.=&mt('[_1] Local Authentication with arguement [_2]', + my $result.=&mt('[_1] Local Authentication with argument [_2]', '', '