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

raeburn raeburn at source.lon-capa.org
Sat Dec 11 12:26:21 EST 2021


raeburn		Sat Dec 11 17:26:21 2021 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Appropriate text shown in enrollment change log for type/lock change by CC.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.456 loncom/interface/loncreateuser.pm:1.457
--- loncom/interface/loncreateuser.pm:1.456	Fri Dec 10 04:14:52 2021
+++ loncom/interface/loncreateuser.pm	Sat Dec 11 17:26:21 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.456 2021/12/10 04:14:52 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.457 2021/12/11 17:26:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7464,12 +7464,12 @@
                &mt('Context:').'</b><br /><select name="chgcontext">';
     my @posscontexts;
     if ($context eq 'course') {
-        @posscontexts = ('any','automated','updatenow','createcourse','course','domain','selfenroll','requestcourses');
+        @posscontexts = ('any','automated','updatenow','createcourse','course','domain','selfenroll','requestcourses','chgtype');
     } elsif ($context eq 'domain') {
         @posscontexts = ('any','domain','requestauthor','domconfig','server');
     } else {
         @posscontexts = ('any','author','domain');
-    } 
+    }
     foreach my $chgtype (@posscontexts) {
         my $selstr = '';
         if ($curr->{'chgcontext'} eq $chgtype) {
@@ -7513,6 +7513,7 @@
         %lt = &Apache::lonlocal::texthash (
                                              any          => 'Any',
                                              automated    => 'Automated Enrollment',
+                                             chgtype      => 'Enrollment Type/Lock Change',
                                              updatenow    => 'Roster Update',
                                              createcourse => 'Course Creation',
                                              course       => 'User Management in course',




More information about the LON-CAPA-cvs mailing list