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

raeburn raeburn at source.lon-capa.org
Mon Oct 24 14:08:55 EDT 2016


raeburn		Mon Oct 24 18:08:55 2016 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - vpa priv allows Course Settings to be viewed, but not modified.
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.81 loncom/interface/courseprefs.pm:1.82
--- loncom/interface/courseprefs.pm:1.81	Mon Oct 24 17:20:19 2016
+++ loncom/interface/courseprefs.pm	Mon Oct 24 18:08:55 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.81 2016/10/24 17:20:19 raeburn Exp $
+# $Id: courseprefs.pm,v 1.82 2016/10/24 18:08:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4662,8 +4662,8 @@
                     '</b><input type="hidden" name="checkforpriv_'.$num.
                     '" value="'.$currdom.'" /></span><br />'.
                     '<span class="LC_nobreak"><label><input type="checkbox" '.
-                    'name="checkforpriv_delete" value="'.$num.'" />'.
-                    &mt('Delete').$disabled.'</label></span></td>'.
+                    'name="checkforpriv_delete" value="'.$num.'"'.$disabled.' />'.
+                    &mt('Delete').'</label></span></td>'.
                     &Apache::loncommon::end_data_table_row();
                 $num ++;
                 unless (grep(/^\Q$currdom\E$/, at excdoms)) { 
@@ -4795,8 +4795,8 @@
                &substitution_selector($currnum).'</td>'.
                '</tr>'; 
         $pos ++;
-       $currnum ++;
-       $output .= 
+        $currnum ++;
+        $output .= 
                '<tr>'.
                '<td align="left"><span class="LC_nobreak">'.
                &position_selector($pos,$currnum,$maxnum).
@@ -4857,7 +4857,7 @@
     }
     $output .= '</select></td><td align="left">'.&mt('Size limit').'<br />'.
                '<input type="textbox" name="printfmthdr_limit_'.$num.
-               '" value="'.$limit.'" size="5" /></span>';
+               '" value="'.$limit.'" size="5"'.$disabled.' /></span>';
     return $output;
 }
 




More information about the LON-CAPA-cvs mailing list