[LON-CAPA-cvs] cvs: loncom /interface lonconfigsettings.pm

raeburn raeburn at source.lon-capa.org
Sat Jun 3 20:06:10 EDT 2023


raeburn		Sun Jun  4 00:06:10 2023 EDT

  Modified files:              
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - Remove some trailing white space.
    Np code changes  
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.70 loncom/interface/lonconfigsettings.pm:1.71
--- loncom/interface/lonconfigsettings.pm:1.70	Fri Jun  2 01:20:26 2023
+++ loncom/interface/lonconfigsettings.pm	Sun Jun  4 00:06:10 2023
@@ -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.71 2023/06/04 00:06:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -93,7 +93,7 @@
                             var gotcode = 0;
                             for (var i=0; i<codes.length; i++) {
                                 if (codes[i].selectedIndex != 0) {
-                                     gotcode = 1; 
+                                     gotcode = 1;
                                      break;
                                 }
                             }
@@ -232,7 +232,7 @@
                     $onload .= "toggleEmailOptions(document.display,'cancreate_emailoptions','$hascustom',".
                                                        "'cancreate_emaildomain','default');";
                 }
-            } 
+            }
             if (grep(/^contacts$/, at actions)) {
                 my $customclass = 'LC_helpdesk_override';
                 my $optionsprefix = 'LC_options_helpdesk_';
@@ -570,7 +570,7 @@
         if ($showbutton) {
             $r->print('<p><input type="button" name="store" value="'.
                       $button_text.'" onclick='.$onclick.' /></p>');
-        } 
+        }
     }
     if ($phase eq 'process') {
         $r->print('</form>');
@@ -681,7 +681,7 @@
                     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 +709,7 @@
                                 my $inststatus = {
                                                    inststatustypes => $usertypes,
                                                    inststatusorder => $types,
-                                                   inststatusguest => [], 
+                                                   inststatusguest => [],
                                                  };
                                 if (ref($values->{defaults}) eq 'HASH') {
                                     $settings = {%{$inststatus},%{$values->{'defaults'}}};




More information about the LON-CAPA-cvs mailing list