[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Sat Jan 30 18:49:52 EST 2021


raeburn		Sat Jan 30 23:49:52 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	domainprefs.pm 
  Log:
  - For 2.11
    Missing paren and fix indents in 1.160.6.107 backport of 1.340
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.107 loncom/interface/domainprefs.pm:1.160.6.108
--- loncom/interface/domainprefs.pm:1.160.6.107	Sat Jan 30 22:13:52 2021
+++ loncom/interface/domainprefs.pm	Sat Jan 30 23:49:51 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.160.6.107 2021/01/30 22:13:52 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.108 2021/01/30 23:49:51 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -801,7 +801,7 @@
              </tr>'."\n";
             if ($action eq 'coursecategories') {
                 $output .= &print_coursecategories('bottom',$dom,$item,$settings,\$rowtotal);
-            } elsif ($action eq 'contacts') || ($action eq 'passwords')) {
+            } elsif (($action eq 'contacts') || ($action eq 'passwords')) {
                 if ($action eq 'passwords') {
                     $output .= $item->{'print'}->('lower',$dom,$confname,$settings,\$rowtotal);
                 } else {
@@ -818,12 +818,12 @@
              <tr class="LC_info_row">
               <td class="LC_left_item"'.$colspan.'>'.&mt($item->{'header'}->[3]->{'col1'}).'</td>
               <td class="LC_right_item"'.$colspan.'>'.&mt($item->{'header'}->[3]->{'col2'}).'</td></tr>'."\n";
-                 if ($action eq 'passwords') {
-                        $output .= $item->{'print'}->('bottom',$dom,$confname,$settings,\$rowtotal);
-                 } else {
-                        $output .= $item->{'print'}->('bottom',$dom,$settings,\$rowtotal);
-                 }
-                 $output .= '
+                if ($action eq 'passwords') {
+                    $output .= $item->{'print'}->('bottom',$dom,$confname,$settings,\$rowtotal);
+                } else {
+                    $output .= $item->{'print'}->('bottom',$dom,$settings,\$rowtotal);
+                }
+                $output .= '
             </table>
           </td>
          </tr>




More information about the LON-CAPA-cvs mailing list