--- loncom/interface/domainprefs.pm 2017/08/15 21:02:40 1.308
+++ loncom/interface/domainprefs.pm 2017/08/15 22:44:51 1.310
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.308 2017/08/15 21:02:40 raeburn Exp $
+# $Id: domainprefs.pm,v 1.310 2017/08/15 22:44:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7643,7 +7643,6 @@ sub modifiable_userdata_row {
if ($rowid) {
$rowid = ' id="'.$rowid.'"';
}
-
$output = '
'.
''.$rolename.' | '.
'';
@@ -12073,7 +12072,7 @@ sub modify_selfcreation {
if (@types) {
if (@statuses) {
$chgtext .= &mt('Processing of requests to create account with e-mail verification set as follows:').
- '';
+ '';
foreach my $status (@statuses) {
if ($status eq 'default') {
$chgtext .= '- '.$othertitle.' -- '.$choices{$cancreate{'selfcreateprocessing'}{$status}}.'
';
@@ -12274,8 +12273,8 @@ sub modify_selfcreation {
}
}
$chgtext .= ' ';
+ my $typename;
if (@types) {
- my $typename;
if ($type eq 'default') {
$typename = $othertitle;
} else {
@@ -12291,10 +12290,9 @@ sub modify_selfcreation {
'';
} else {
$resulttext .= '- '.
- &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.',
- $usertypes{$type}).
+ &mt('There are now no restrictions on e-mail addresses which may be used for verification when a user requests an account.').
'
'.
- &mt('(Affiliation: [_1])',$type);
+ &mt('(Affiliation: [_1])',$typename);
}
}
}
|