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

raeburn raeburn at source.lon-capa.org
Mon Feb 7 01:16:44 EST 2022


raeburn		Mon Feb  7 06:16:44 2022 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - Line break separator to be used after first line in a Link Protector entry
    in case where "Use identity" not included.
  - Remove extra semi-colon.
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.100 loncom/interface/courseprefs.pm:1.101
--- loncom/interface/courseprefs.pm:1.100	Sun Feb  6 21:36:59 2022
+++ loncom/interface/courseprefs.pm	Mon Feb  7 06:16:44 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.100 2022/02/06 21:36:59 raeburn Exp $
+# $Id: courseprefs.pm,v 1.101 2022/02/07 06:16:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5581,9 +5581,9 @@
                                   '<label><input type="radio" name="linkprot_requser_'.$i.'" value="0"'.
                                   $onclickrequser.$checkedrequser{'no'}.$disabled.' />'.&mt('No').'</label> '.
                                   '<label><input type="radio" name="linkprot_requser_'.$i.'" value="1"'.
-                                  $onclickrequser.$checkedrequser{'yes'}.$disabled.' />'.&mt('Yes').'</label></span>'.
-                                  '<br /><br />';
+                                  $onclickrequser.$checkedrequser{'yes'}.$disabled.' />'.&mt('Yes').'</label></span>';
                 }
+                $datatable .= '<br /><br />';
                 if ($values{'key'} ne '') {
                     $datatable .= '<span class="LC_nobreak">'.$desc{'key'};
                     if ($noedit) {
@@ -5694,7 +5694,7 @@
     }
     $datatable .= '</td></tr>';
     $$rowtotal ++;
-    return $datatable;;
+    return $datatable;
 }
 
 sub linkprot_names {




More information about the LON-CAPA-cvs mailing list