[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm
From:       raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2021-01-30 23:49:52
Message-ID: cvsraeburn1612050592 () cvsserver
[Download RAW message or body]

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>


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic