[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Wed Dec 29 19:22:02 EST 2021
raeburn Thu Dec 30 00:22:02 2021 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface domainprefs.pm
Log:
- For 2.11
Backport part of 1.389 omitted from changes included in rev. 1.160.6.113.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.116 loncom/interface/domainprefs.pm:1.160.6.117
--- loncom/interface/domainprefs.pm:1.160.6.116 Tue Dec 28 03:35:34 2021
+++ loncom/interface/domainprefs.pm Thu Dec 30 00:22:02 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.160.6.116 2021/12/28 03:35:34 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.117 2021/12/30 00:22:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -17184,8 +17184,13 @@
}
}
if ($changes{'curr'}{$balancer}{'cookie'}) {
- $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use enabled',
- $balancer).'</li>';
+ if ($currcookies{$balancer}) {
+ $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use disabled',
+ $balancer).'</li>';
+ } else {
+ $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use enabled',
+ $balancer).'</li>';
+ }
}
}
}
More information about the LON-CAPA-cvs
mailing list