--- loncom/interface/lonmodifycourse.pm 2006/05/30 12:46:09 1.25 +++ loncom/interface/lonmodifycourse.pm 2006/07/18 21:52:01 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # automated enrollment course setup handler # -# $Id: lonmodifycourse.pm,v 1.25 2006/05/30 12:46:09 www Exp $ +# $Id: lonmodifycourse.pm,v 1.27 2006/07/18 21:52:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -51,7 +51,7 @@ sub print_course_selection_page { ); # Determine the courses - my %courseIDs = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.'); + my %courseIDs = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',undef,undef,'.'); &print_header($r,$tasklongref); $r->print(< @@ -62,8 +62,8 @@ sub print_course_selection_page {

$lt{'ccrs'}: "; + $ownertable .= ""; } else { $ownertable .= ""; } @@ -705,7 +733,7 @@ sub print_footer { sub check_course { my ($dom,$course) = @_; - my %courseIDs = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.'); + my %courseIDs = &Apache::lonnet::courseiddump($dom,'.',1,'.','.','.',undef,undef,'.'); foreach my $key (sort keys %courseIDs) { if ($key =~ m/^($dom)_(\w+)$/) { if ($2 eq $course) { @@ -741,7 +769,7 @@ sub handler { 'default_enrollment_start_date' => 'Date of first student access', 'default_enrollment_end_date' => 'Date of last student access', 'coursecode' => 'Official course code', - 'courseowner' => "Username of course owner (\@$dom)", + 'courseowner' => "Username:domain of course owner", 'notifylist' => 'Course Coordinators to be notified of enrollment changes', 'sectionnums' => 'Course section number(:groupID)', 'crosslistings' => 'Crosslisted class(:groupID)',