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

raeburn raeburn@source.lon-capa.org
Mon, 22 Mar 2010 04:26:50 -0000


raeburn		Mon Mar 22 04:26:50 2010 EDT

  Modified files:              
    /loncom/interface	courseprefs.pm 
  Log:
  - Config used to let students opt in for inclusion in 
    student-viewable classlist is "student_classlist_opt_in"
    instead of "student_opt_in".
  
  
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.25 loncom/interface/courseprefs.pm:1.26
--- loncom/interface/courseprefs.pm:1.25	Mon Mar  8 14:41:01 2010
+++ loncom/interface/courseprefs.pm	Mon Mar 22 04:26:50 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set configuration settings for a course
 #
-# $Id: courseprefs.pm,v 1.25 2010/03/08 14:41:01 raeburn Exp $
+# $Id: courseprefs.pm,v 1.26 2010/03/22 04:26:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -410,13 +410,13 @@
                      ordered => ['default_enrollment_start_date',
                                  'default_enrollment_end_date',
                                  'nothideprivileged','student_classlist_view',
-                                 'student_opt_in','student_classlist_portfiles'],
+                                 'student_classlist_opt_in','student_classlist_portfiles'],
                      itemtext => {
                          default_enrollment_start_date => 'Start date',
                          default_enrollment_end_date   => 'End date',
                          nothideprivileged             => $lt{'priv'},
                          student_classlist_view        => $lt{'stuv'},
-                         student_opt_in                => $lt{'stul'},
+                         student_classlist_opt_in      => $lt{'stul'},
                          student_classlist_portfiles   => 'Include link to accessible portfolio files',
                                   },
                    },
@@ -2624,7 +2624,8 @@
         @ordered = ('nothideprivileged');
     } else {
         @ordered = ('student_classlist_view',
-                    'student_opt_in','student_classlist_portfiles');
+                    'student_classlist_opt_in',
+                     'student_classlist_portfiles');
     }
     my %lt;
 
@@ -2663,8 +2664,8 @@
                    options => \%lt,
                    order => ['disabled','all','section'],
                  },
-        'student_opt_in' => {
-                   text => '<b>'.&mt($itemtext->{'student_opt_in'}).'</b>',
+        'student_classlist_opt_in' => {
+                   text => '<b>'.&mt($itemtext->{'student_classlist_opt_in'}).'</b>',
                    input => 'radio',
                  },