--- loncom/interface/lonconfigsettings.pm 2023/03/19 16:05:48 1.68 +++ 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.68 2023/03/19 16:05:48 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, @@ -503,7 +507,7 @@ ENDJS &Apache::loncommon::passwd_validation_js($name.'secretinput',$dom,$name,'add'); if ($numrules) { $js .= <print('

'); - } + } } if ($phase eq 'process') { $r->print(''); @@ -652,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; } @@ -680,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')) { @@ -708,7 +712,7 @@ sub display_settings { my $inststatus = { inststatustypes => $usertypes, inststatusorder => $types, - inststatusguest => [], + inststatusguest => [], }; if (ref($values->{defaults}) eq 'HASH') { $settings = {%{$inststatus},%{$values->{'defaults'}}};