version 1.28, 2006/02/07 05:08:21
|
version 1.29, 2006/02/07 16:20:49
|
Line 345 sub update_LC {
|
Line 345 sub update_LC {
|
if ($numphoto > 0) { |
if ($numphoto > 0) { |
if ($context eq 'updatenow') { |
if ($context eq 'updatenow') { |
$photoresult .= '<br /><b>'. |
$photoresult .= '<br /><b>'. |
&mt('For [_1] students, photos ',$numphoto). |
&mt('For [_1] students, photos ',$numphoto). |
$lt{$type}.'</b><ul><li>'; |
$lt{$type}.'</b><ul><li>'; |
} else { |
} else { |
$photoresult .= "\nFor $numphoto students, photos ". |
$photoresult .= "\nFor $numphoto students, photos ". |
$lt{$type}."\n"; |
$lt{$type}."\n"; |
} |
} |
foreach my $user (@{$$phototypes{$type}}) { |
foreach my $user (@{$$phototypes{$type}}) { |
$photoresult .= $user.$linefeed; |
$photoresult .= $user.$linefeed; |
} |
} |
if ($context eq 'updatenow') { |
if ($context eq 'updatenow') { |
$photoresult = substr($photoresult,0, |
$photoresult = substr($photoresult,0, |
rindex($photoresult,"<li>")); |
rindex($photoresult,"<li>")); |
$photoresult .= '</ul><br />'; |
$photoresult .= '</ul><br />'; |
} else { |
} else { |
$photoresult .= "\n"; |
$photoresult .= "\n"; |
Line 856 sub CL_startdate { return 9; }
|
Line 856 sub CL_startdate { return 9; }
|
sub CL_studentID { return 10; } |
sub CL_studentID { return 10; } |
|
|
sub photo_response_types { |
sub photo_response_types { |
my %lt = &Apache::lonlocal::texthash ( |
my %lt = &Apache::lonlocal::texthash( |
'same' => 'remained unchanged', |
'same' => 'remained unchanged', |
'update' => 'were updated', |
'update' => 'were updated', |
'new' => 'were added', |
'new' => 'were added', |
Line 864 sub photo_response_types {
|
Line 864 sub photo_response_types {
|
'error' => 'were not imported because an error occurred', |
'error' => 'were not imported because an error occurred', |
'nouser' => 'were for users without accounts', |
'nouser' => 'were for users without accounts', |
'noid' => 'were for users without student IDs', |
'noid' => 'were for users without student IDs', |
); |
); |
return %lt; |
return %lt; |
} |
} |
|
|