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

raeburn raeburn at source.lon-capa.org
Sun Nov 24 11:00:54 EST 2013


raeburn		Sun Nov 24 16:00:54 2013 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - Exclude syllabus-related items in a course's environment.db from the 
    "Other settings" panel in the Course Settings screen. 
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.61 loncom/interface/courseprefs.pm:1.62
--- loncom/interface/courseprefs.pm:1.61	Sat Nov 23 20:33:58 2013
+++ loncom/interface/courseprefs.pm	Sun Nov 24 16:00:53 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.61 2013/11/23 20:33:58 raeburn Exp $
+# $Id: courseprefs.pm,v 1.62 2013/11/24 16:00:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3754,7 +3754,8 @@
                     ($parameter =~ m/^selfenroll_/) || ($parameter =~ /_selfenroll$/)
                     || ($parameter eq 'type') ||
                     ($parameter =~ m/^(cc|co|in|ta|ep|ad|st)\.plaintext$/)
-                    || ($parameter =~ m/^discussion_post_fonts/)) {
+                    || ($parameter =~ m/^discussion_post_fonts/) ||
+                    ($parameter =~ m{^(minimal|updated|uploaded|external)syllabus$})) {
                 push(@ordered,$parameter);
             }
         }




More information about the LON-CAPA-cvs mailing list