--- loncom/interface/loncommon.pm 2007/07/03 00:17:42 1.543 +++ loncom/interface/loncommon.pm 2007/08/11 14:22:14 1.560 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.543 2007/07/03 00:17:42 albertel Exp $ +# $Id: loncommon.pm,v 1.560 2007/08/11 14:22:14 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -334,10 +334,12 @@ sub studentbrowser_javascript { return (<<'ENDSTDBRW'); + +$new_user_create + + + + + +$srchin +
$srchbysel + $srchtypesel + +
+
+END_BLOCK + + return $output; +} + + + =pod +=back + +=head1 HTTP Helpers + +=over 4 + =item * get_unprocessed_cgi($query,$possible_names) Modify the %env hash to contain unprocessed CGI form parameters held in @@ -5697,9 +5996,9 @@ sub record_sep { } else { my @allfields; if ($env{'form.upfiletype'} eq 'semisv') { - @allfields=split(/;/,$record,-1); + @allfields=split(/\s*;\s*/,$record,-1); } else { - @allfields=split(/\,/,$record,-1); + @allfields=split(/\s*\,\s*/,$record,-1); } my $i=0; my $j;