--- loncom/enrollment/Enrollment.pm 2006/02/07 05:08:21 1.28 +++ loncom/enrollment/Enrollment.pm 2006/02/08 23:47:26 1.31 @@ -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.31 2006/02/08 23:47:26 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -326,7 +326,7 @@ sub update_LC { } else { &execute_add($context,'newstudent',$uname,$dom,$auth,$authparam,$first,$middle,$last,$gene,$pid,$usec,$end,$start,$emailenc,$cid,\$addresult,\$enrollcount,$linefeed,$logmsg); } - if ($courseinfo{'showphotos'}) { + if ($courseinfo{'showphoto'}) { my ($result,$resulttype) = &Apache::lonnet::auto_checkphotos($uname,$dom,$pid); if ($resulttype) { @@ -337,7 +337,7 @@ sub update_LC { } } } - if ($courseinfo{'showphotos'}) { + if ($courseinfo{'showphoto'}) { if (keys(%{$phototypes})>0) { my %lt = &photo_response_types(); foreach my $type (sort(keys(%{$phototypes}))) { @@ -345,18 +345,18 @@ sub update_LC { if ($numphoto > 0) { if ($context eq 'updatenow') { $photoresult .= '
'. - &mt('For [_1] students, photos ',$numphoto). - $lt{$type}.'