--- loncom/interface/Attic/londropadd.pm 2004/11/12 16:34:15 1.121 +++ loncom/interface/Attic/londropadd.pm 2005/01/11 22:12:22 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to drop and add students in courses # -# $Id: londropadd.pm,v 1.121 2004/11/12 16:34:15 matthew Exp $ +# $Id: londropadd.pm,v 1.123 2005/01/11 22:12:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -141,7 +141,7 @@ sub print_main_menu { my ($cdom,$cnum) = split/_/,$ENV{'request.course.id'}; my @menu = ( - { text => 'Uploade a class list', + { text => 'Upload a class list', help => 'Course_Create_Class_List', action => 'upload', permission => $enrl_permission, @@ -937,8 +937,8 @@ sub print_enroll_single_student_form { # my $username = $ENV{'form.cuname'}; my $domain = $ENV{'form.cudomain'}; - $username=~s/[\W|_]//gs; - $domain=~s/[\W|_]//gs; + $username=~s/\W//gs; + $domain=~s/\W//gs; my $home = &Apache::lonnet::homeserver($username,$domain); # $new_user flags whether we are creating a new user or using an old one my $new_user = 1;