--- loncom/interface/lonpopulate.pm 2013/02/11 02:39:11 1.74 +++ loncom/interface/lonpopulate.pm 2013/08/16 03:25:05 1.79 @@ -1,5 +1,5 @@ # automated enrollment configuration handler -# $Id: lonpopulate.pm,v 1.74 2013/02/11 02:39:11 raeburn Exp $ +# $Id: lonpopulate.pm,v 1.79 2013/08/16 03:25:05 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -254,7 +254,6 @@ sub print_navmenu { '); - print STDERR "action is ||$action|| and state is ||$state||\n"; foreach my $task (@{$tasksref}) { if (($task eq $action) && ($state eq 'choose')) { $r->print(' @@ -1357,7 +1356,7 @@ sub print_accessdate_table { 'fnew' => 'for new students added when you update the class roster', 'ifad' => 'If automated adds are enabled, then when students are added their student roles will become active on the date set here for first access, and their roles will become inactive on the date set here for last access. These default access dates will be overridden for specific students if the institutional classlist data supplied to the automatic enrollment process includes entries for the startdate and enddate fields for those students.', ); - $lt{'ncds'} = &mt('changing default start and end access dates will affect [_1]future enrollments[_2] and also [_1]currently inactive[_2] students (i.e., those for whom access will begin in the future).','',''); + $lt{'ncds'} = &mt('Changing default start and end access dates will affect [_1]future enrollments[_2] and also [_1]currently inactive[_2] students (i.e., those for whom access will begin in the future).','',''); $lt{'tcha'} = &mt('To change access dates for [_1]currently active[_2] students, use User Management -> "Manage Course Users" to display currently active students, then use the dropdown menu for "Action to take for selected users:" to choose "Change starting/ending dates", select the students to change, and click "Proceed".','',''); my $dateshow; if ( ($oldendshow eq '') && ($oldstartshow eq '') ) { @@ -1707,7 +1706,7 @@ sub print_setaccess_response { '
'. &mt('Any change in access dates will only apply to students who are not currently active, i.e., those who currently have access start dates in the future, and to those added by future automated enrollment.'). '

'. - &mt('To change access dates for any currently active students, use User Management -> "Manage Users" to display currently active students, then use the dropdown menu for "Action to take for selected users:" to choose "Change starting/ending dates", select the students to change, and click "Proceed".'). + &mt('To change access dates for [_1]currently active[_2] students, use User Management -> "Manage course users" to display currently active students, then use the dropdown menu for "Action to take for selected users:" to choose "Change starting/ending dates", select the students to change, and click "Proceed".','',''). '
'; # Generate message in case where old first access date was later than today, but new first access date is now today or earlier. @@ -1921,7 +1920,7 @@ sub print_crosslistings_menu { if ($numcross) { $response .= &mt('You indicated that you wish to add an additional [quant,_1,crosslisting].',$numcross).' '. - &mt('For each new crosslisting enter the insititutional course section code (e.g., fs03zol101001, for section 001 of zol101 for fs03 semester), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in the crosslisted course section.').' '. + &mt('For each new crosslisting enter the institutional course section code (e.g., fs03zol101001, for section 001 of zol101 for fs03 semester), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in the crosslisted course section.').' '. &mt('The LON-CAPA section ID can be left blank, if you do not wish to tie a section ID to this crosslisting.').' '. &mt("The institutional course section code should only contain letters and/or numbers, and must be consistent with the scheme adopted by your Domain Coordinator to map course codes (and section numbers) to your institution's student information system."). '

@@ -2251,7 +2250,7 @@ sub print_sections_menu { if ($numsec > 0) { $response .= &mt('You indicated that you wish to incorporate student enrollment in your LON-CAPA course from an additional [quant,_1,section].',$numsec).' '. - &mt('For each new section enter the insititutional section code (e.g., 004), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in this particular section.').' '. + &mt('For each new section enter the institutional section code (e.g., 004), and the LON-CAPA section ID you wish to assign to students who will be enrolled in your LON-CAPA class as a result of their registration in this particular section.').' '. &mt('The LON-CAPA section ID can be left blank, if you do not wish to designate a section ID for this course section.').' '. &mt("The institutional section code should only contain letters and/or numbers, and must be consistent with the scheme adopted by your Domain Coordinator to map course section numbers to your institution's student information system.").'

@@ -2357,7 +2356,7 @@ sub print_sections_response { } } - if ($putreply ne 'ok') { + if ($putreply eq 'ok') { $response = &mt('Students enrolling in the sections listed below will be automatically added to the class roster for LON-CAPA course [_1], if you have chosen to enable a nightly automated enrollment update.', "$realm ($coursecode)").'