[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface createaccount.pm
raeburn
raeburn at source.lon-capa.org
Tue Sep 8 14:35:31 EDT 2020
raeburn Tue Sep 8 18:35:31 2020 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface createaccount.pm
Log:
- For 2.11
Backport 1.80
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.72.4.3 loncom/interface/createaccount.pm:1.72.4.4
--- loncom/interface/createaccount.pm:1.72.4.3 Sun Aug 25 13:55:55 2019
+++ loncom/interface/createaccount.pm Tue Sep 8 18:35:31 2020
@@ -4,7 +4,7 @@
# kerberos, or SSO) or an e-mail address. Requests to use an e-mail address as
# username may be processed automatically, or may be queued for approval.
#
-# $Id: createaccount.pm,v 1.72.4.3 2019/08/25 13:55:55 raeburn Exp $
+# $Id: createaccount.pm,v 1.72.4.4 2020/09/08 18:35:31 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -570,8 +570,7 @@
my %js_lt = &Apache::lonlocal::texthash (
email => 'The e-mail address you entered',
notv => 'is not a valid e-mail address',
- avae => 'A valid e-mail address is not formed when the value you entered',
- isco => 'is combined with the required domain',
+ avae => 'A valid e-mail address is not formed when the value you entered is combined with the required domain',
);
my $output = "\n".'<script type="text/javascript">'."\n".
'// <![CDATA['."\n".
@@ -583,7 +582,7 @@
var condition = '$condition';
if (validmail(field,condition) == false) {
if ((condition != undefined) && (condition != '')) {
- alert("$js_lt{'avae'}: "+field.value+" $js_lt{'isco'}: "+condition);
+ alert("$js_lt{'avae'}: "+condition);
} else {
alert("$js_lt{'email'}: "+field.value+" $js_lt{'notv'}.");
}
More information about the LON-CAPA-cvs
mailing list