--- loncom/interface/lonaboutme.pm 2006/08/02 03:05:10 1.43
+++ loncom/interface/lonaboutme.pm 2006/08/02 20:18:10 1.45
@@ -1,7 +1,7 @@
# The LearningOnline Network
# "About Me" Personal Information
#
-# $Id: lonaboutme.pm,v 1.43 2006/08/02 03:05:10 raeburn Exp $
+# $Id: lonaboutme.pm,v 1.45 2006/08/02 20:18:10 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -281,12 +281,12 @@ sub print_portfiles_link {
$output .= ''.&mt('Display file listing').
'
';
- $output .= &mt('A total of [_1] portfolio files owned by [_2] are available for viewing.',$filecounts->{'both'},$name).'
';
+ $output .= &mt('A total of [quant,_1,portfolio file] owned by [_2] are available.',$filecounts->{'both'},$name).'';
if ($filecounts->{'withoutpass'}) {
- $output .= '- '.&mt('[_1] files are either publicly accessible, or directly available to you because of your current role, domain and/or username.',$filecounts->{'withoutpass'}).'
';
+ $output .= '- '.&mt('[quant,_1,file] are publicly accessible.',$filecounts->{'withoutpass'}).'
';
}
if ($filecounts->{'withpass'}) {
- $output .= '- '.&mt('[_1] files will be available after you have entered a passphrase set for each specific file.',$filecounts->{'withpass'}).'
';
+ $output .= '- '.&mt('[quant,_1,file] require a passphrase for access.',$filecounts->{'withpass'}).'
';
}
$output .= '
';
}
@@ -351,13 +351,14 @@ sub display_portfolio_header {
sub display_portfolio_files {
my ($r,$lt) = @_;
- my ($cdom,$cnum,$name) = aboutme_info($r);
+ my ($cdom,$cnum,$name) = &aboutme_info($r);
my $portaccess = 'withoutpass';
if (exists($env{'form.portaccess'})) {
$portaccess = $env{'form.portaccess'};
}
- my $output = '