--- loncom/interface/loncommon.pm 2007/08/23 22:21:15 1.567
+++ loncom/interface/loncommon.pm 2007/08/28 15:55:49 1.571
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.567 2007/08/23 22:21:15 albertel Exp $
+# $Id: loncommon.pm,v 1.571 2007/08/28 15:55:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5609,7 +5609,7 @@ sub get_secgrprole_info {
}
sub user_picker {
- my ($dom,$srch,$forcenewuser) = @_;
+ my ($dom,$srch,$forcenewuser,$caller) = @_;
my $currdom = $dom;
my %curr_selected = (
srchin => 'dom',
@@ -5642,6 +5642,15 @@ sub user_picker {
'instd' => 'in institutional directory',
'exact' => 'is',
'contains' => 'contains',
+ 'begins' => 'begins with',
+ 'youm' => "You must include some text to search for.",
+ 'thte' => "The text you are searching for must contain at least two characters when using a 'begins' type search.",
+ 'thet' => "The text you are searching for must contain at least three characters when using a 'contains' type search.",
+ 'yomc' => "You must choose a domain when using an institutional directory search.",
+ 'ymcd' => "You must choose a domain when using a domain search.",
+ 'whus' => "When using searching by last,first you must include a comma as separator between last name and first name.",
+ 'whse' => "When searching by last,first you must include at least one character in the first name.",
+ 'thfo' => "The following need to be corrected before the search can be run:",
);
my $domform = &select_dom_form($currdom,'srchdomain',1,1);
my $srchinsel = ' \n";
my $srchtypesel = '