[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Tue Aug 15 18:44:53 EDT 2017
raeburn Tue Aug 15 22:44:53 2017 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Display affiliation description instead of interval identifier.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.309 loncom/interface/domainprefs.pm:1.310
--- loncom/interface/domainprefs.pm:1.309 Tue Aug 15 21:03:58 2017
+++ loncom/interface/domainprefs.pm Tue Aug 15 22:44:51 2017
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.309 2017/08/15 21:03:58 raeburn Exp $
+# $Id: domainprefs.pm,v 1.310 2017/08/15 22:44:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -12273,8 +12273,8 @@
}
}
$chgtext .= '</ul>';
+ my $typename;
if (@types) {
- my $typename;
if ($type eq 'default') {
$typename = $othertitle;
} else {
@@ -12290,10 +12290,9 @@
'</li>';
} else {
$resulttext .= '<li>'.
- &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.').
'</li>'.
- &mt('(Affiliation: [_1])',$type);
+ &mt('(Affiliation: [_1])',$typename);
}
}
}
More information about the LON-CAPA-cvs
mailing list