--- loncom/interface/createaccount.pm 2010/08/22 19:28:28 1.41
+++ loncom/interface/createaccount.pm 2010/11/29 15:12:25 1.42
@@ -3,7 +3,7 @@
# institutional log-in ID (institutional authentication required - localauth
# or kerberos) or an e-mail address.
#
-# $Id: createaccount.pm,v 1.41 2010/08/22 19:28:28 raeburn Exp $
+# $Id: createaccount.pm,v 1.42 2010/11/29 15:12:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1136,17 +1136,17 @@ sub invalid_state {
my ($error,$domdesc,$contact_name,$contact_email,$msgtext) = @_;
my $msg = '
'.&mt('Account creation unavailable').'
';
if ($error eq 'baduseremail') {
- $msg = &mt('The e-mail address you provided does not appear to be a valid address.');
+ $msg .= &mt('The e-mail address you provided does not appear to be a valid address.');
} elsif ($error eq 'existinguser') {
- $msg = &mt('The e-mail address you provided is already in use as a username in LON-CAPA at this institution.');
+ $msg .= &mt('The e-mail address you provided is already in use as a username in LON-CAPA at this institution.');
} elsif ($error eq 'userrules') {
- $msg = &mt('Username rules at this institution do not allow the e-mail address you provided to be used as a username.');
+ $msg .= &mt('Username rules at this institution do not allow the e-mail address you provided to be used as a username.');
} elsif ($error eq 'userformat') {
- $msg = &mt('The e-mail address you provided may not be used as a username at this LON-CAPA institution.');
+ $msg .= &mt('The e-mail address you provided may not be used as a username at this LON-CAPA institution.');
} elsif ($error eq 'captcha') {
- $msg = &mt('Validation of the code your entered failed.');
+ $msg .= &mt('Validation of the code your entered failed.');
} elsif ($error eq 'noemails') {
- $msg = &mt('Creation of a new user account using an e-mail address as username is not permitted at this LON-CAPA institution.');
+ $msg .= &mt('Creation of a new user account using an e-mail address as username is not permitted at this LON-CAPA institution.');
}
$msg .= '';
if ($msgtext) {