[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Tue Apr 16 21:02:47 EDT 2024
raeburn Wed Apr 17 01:02:47 2024 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Fix typo. Display changes to Available Editors in case where domain defaults
for Authoring Space have not previously been set.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.438 loncom/interface/domainprefs.pm:1.439
--- loncom/interface/domainprefs.pm:1.438 Sun Apr 14 17:12:27 2024
+++ loncom/interface/domainprefs.pm Wed Apr 17 01:02:47 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.438 2024/04/14 17:12:27 raeburn Exp $
+# $Id: domainprefs.pm,v 1.439 2024/04/17 01:02:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -13425,7 +13425,7 @@
'nocodemirror' => 'off',
'daxecollapse' => 'off',
'domcoordacc' => 'on',
- 'editors' => ['edit','xml'].
+ 'editors' => ['edit','xml'],
'authorquota' => 500,
'webdav' => 0,
);
@@ -13506,6 +13506,12 @@
$changes{$item} = 1;
}
}
+ my @diffs =
+ &Apache::loncommon::compare_arrays($confhash{'editors'},
+ $staticdefaults{'editors'});
+ unless (@diffs == 0) {
+ $changes{'editors'} = 1;
+ }
}
foreach my $key ('authorquota','webdav') {
if (ref($curr_quotas{$key}) eq 'HASH') {
@@ -13626,6 +13632,7 @@
if ($domcoordoverride) {
$resulttext .= '</ul></li>';
}
+ $resulttext .= '</ul>';
my $cachetime = 24*60*60;
&Apache::lonnet::do_cache_new('domdefaults',$dom,\%domdefaults,$cachetime);
if (ref($lastactref) eq 'HASH') {
More information about the LON-CAPA-cvs
mailing list