--- loncom/interface/lonconfigsettings.pm 2023/06/02 01:20:26 1.70 +++ loncom/interface/lonconfigsettings.pm 2024/07/14 16:05:27 1.73 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: lonconfigsettings.pm,v 1.70 2023/06/02 01:20:26 raeburn Exp $ +# $Id: lonconfigsettings.pm,v 1.73 2024/07/14 16:05:27 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -93,7 +93,7 @@ sub print_header { var gotcode = 0; for (var i=0; i $onload, @@ -570,7 +573,7 @@ sub print_footer { if ($showbutton) { $r->print('

'); - } + } } if ($phase eq 'process') { $r->print(''); @@ -653,8 +656,8 @@ sub make_changes { if ($context eq 'course') { $footer_text = 'Back to display/edit settings'; } - &print_footer($r,$phase,'display',$footer_text,\@actions,$container,$parm_permission); $r->print('

'); + &print_footer($r,$phase,'display',$footer_text,\@actions,$container,$parm_permission); return \%lastact; } @@ -681,7 +684,7 @@ sub display_settings { push(@items,$item); if ($context eq 'domain') { my $settings; - if (ref($values) eq 'HASH') { + if (ref($values) eq 'HASH') { $settings = $values->{$item}; } if (($item eq 'usersessions') || ($item eq 'ssl')) { @@ -709,7 +712,7 @@ sub display_settings { my $inststatus = { inststatustypes => $usertypes, inststatusorder => $types, - inststatusguest => [], + inststatusguest => [], }; if (ref($values->{defaults}) eq 'HASH') { $settings = {%{$inststatus},%{$values->{'defaults'}}};