--- loncom/interface/lonpopulate.pm 2013/12/24 19:15:11 1.80
+++ loncom/interface/lonpopulate.pm 2014/12/12 14:30:47 1.82
@@ -1,5 +1,5 @@
# automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.80 2013/12/24 19:15:11 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.82 2014/12/12 14:30:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -290,7 +290,7 @@ sub print_main_frame {
# Get course settings
my %enrollvar;
my %settings = &Apache::lonnet::dump('environment',$dom,$crs);
- foreach my $item (keys %settings) {
+ foreach my $item (keys(%settings)) {
if ($item =~ m/^internal\.(.+)$/) {
$enrollvar{$1} = $settings{$item};
} elsif ($item =~ /^default_enrollment_(start|end)_date$/) {
@@ -749,7 +749,7 @@ sub print_main_frame {
$r->print(
&mt('Currently, this LON-CAPA course is crosslisted with [quant,_1,course section,course sections].',$cross_str).' '.
&mt('Students enrolling in these course sections will be automatically added to the class roster for the course, if you have chosen to enable a nightly automated enrollment update.').' '.
- &mt('For each crosslisting, leave the checkbox checked if you want registered students in that course to be included in the student roster for LON-CAPA course: [_1; otherwise uncheck it.',"$realm ($enrollvar{coursecode})").' '.
+ &mt('For each crosslisting, leave the checkbox checked if you want registered students in that course to be included in the student roster for LON-CAPA course: [_1]; otherwise uncheck it.',"$realm ($enrollvar{coursecode})").' '.
&mt('If you wish to change the section ID assigned in your LON-CAPA course for a crosslisted course, enter the new section ID in the appropriate textbox.').' '.
&mt('The LON-CAPA section ID can be left (or set to) empty, if you do not wish to tie a section ID to this crosslisting.').' '.
&mt('If you wish to add new crosslisted courses, enter the number of new courses to add in the textbox at the bottom of the page.').' '.