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

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 10 Aug 2004 14:29:07 -0000


raeburn		Tue Aug 10 10:29:07 2004 EDT

  Modified files:              
    /loncom/interface	lonmodifycourse.pm 
  Log:
  Domain should be domain of current DC's role instead of user's home domain.
  
  
Index: loncom/interface/lonmodifycourse.pm
diff -u loncom/interface/lonmodifycourse.pm:1.11 loncom/interface/lonmodifycourse.pm:1.12
--- loncom/interface/lonmodifycourse.pm:1.11	Thu Jul 15 14:58:20 2004
+++ loncom/interface/lonmodifycourse.pm	Tue Aug 10 10:29:07 2004
@@ -34,7 +34,7 @@
 
 sub print_course_selection_page {
     my ($r,$tasklongref) = @_;
-    my $dom = $ENV{'user.domain'};
+    my $dom = $ENV{'request.role.domain'};
     my %lt=&Apache::lonlocal::texthash(
                     'csae' => "Course settings for automated enrollment",
                     'unst' => "Unlike standard LON-CAPA course parameters, such as course description, feedback addresses, and top level map, which are displayed and/or modified using the 'Course Environment Parameters' screen, settings that control automated enrollment based on classlist data available from your institution's student information system are handled differently.  Automated enrollment settings fall into two groups: (a) settings that can be modified by a Course Coordinator using the Automated Enrollment Manager and (b)  settings that may only be modified by a Domain Coordinator via the 'View/Modify Course settings' menu accessed from this page.",