--- loncom/interface/loncommon.pm 2007/07/28 21:38:29 1.555 +++ 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.555 2007/07/28 21:38:29 raeburn 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
$lt{'usr'}: -$srchtypesel - -$srchbysel -
$lt{'in'}: -$srchinsel -
$lt{'doma'}:$domform
$srchbysel + $srchtypesel + +

END_BLOCK - if ($forcenewuser) { - $output .= ''.&mt('Make new user if no match found: ').''.&mt('Yes').'  '.&mt('No').'
'; - } + return $output; } + + =pod =back @@ -5905,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;