--- loncom/enrollment/Enrollment.pm 2006/02/07 05:08:21 1.28
+++ loncom/enrollment/Enrollment.pm 2006/02/07 17:56:41 1.30
@@ -1,5 +1,5 @@
# Automated Enrollment manager
-# $Id: Enrollment.pm,v 1.28 2006/02/07 05:08:21 raeburn Exp $
+# $Id: Enrollment.pm,v 1.30 2006/02/07 17:56:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -345,18 +345,18 @@ sub update_LC {
if ($numphoto > 0) {
if ($context eq 'updatenow') {
$photoresult .= '
'.
- &mt('For [_1] students, photos ',$numphoto).
- $lt{$type}.'
- ';
+ &mt('For [_1] students, photos ',$numphoto).
+ $lt{$type}.'
- ';
} else {
$photoresult .= "\nFor $numphoto students, photos ".
- $lt{$type}."\n";
+ $lt{$type}."\n";
}
foreach my $user (@{$$phototypes{$type}}) {
$photoresult .= $user.$linefeed;
}
if ($context eq 'updatenow') {
$photoresult = substr($photoresult,0,
- rindex($photoresult,"
- "));
+ rindex($photoresult,"
- "));
$photoresult .= '
';
} else {
$photoresult .= "\n";
@@ -404,9 +404,6 @@ sub update_LC {
if ($context eq "updatenow") {
$addresult = substr($addresult,0,rindex($addresult," - "));
$addresult = "The following $enrollcount student(s) was/were added to this LON-CAPA course:
";
- if ($courseinfo{'showphotos'}) {
-
- }
} else {
$addresult = "The following $enrollcount student(s) was/were added to this LON-CAPA course:\n\n".$addresult."\n\n";
}
@@ -856,7 +853,7 @@ sub CL_startdate { return 9; }
sub CL_studentID { return 10; }
sub photo_response_types {
- my %lt = &Apache::lonlocal::texthash (
+ my %lt = &Apache::lonlocal::texthash(
'same' => 'remained unchanged',
'update' => 'were updated',
'new' => 'were added',
@@ -864,7 +861,7 @@ sub photo_response_types {
'error' => 'were not imported because an error occurred',
'nouser' => 'were for users without accounts',
'noid' => 'were for users without student IDs',
- );
+ );
return %lt;
}