version 1.53, 2006/08/18 13:49:34
|
version 1.54, 2006/09/13 21:37:29
|
Line 281 sub print_portfiles_link {
|
Line 281 sub print_portfiles_link {
|
if ($filecounts->{'both'} == 1) { |
if ($filecounts->{'both'} == 1) { |
$output .= &mt('One portfolio file owned by [_2] is available.',$filecounts->{'both'},$name).'<ul>'; |
$output .= &mt('One portfolio file owned by [_2] is available.',$filecounts->{'both'},$name).'<ul>'; |
} else { |
} else { |
$output .= &mt('A total of [quant,_1,portfolio file] owned by [_2] are available.',$filecounts->{'both'},$name).'<ul>'; |
$output .= &mt('A total of [_1] portfolio files owned by [_2] are available.',$filecounts->{'both'},$name).'<ul>'; |
} |
} |
if ($filecounts->{'withoutpass'}) { |
if ($filecounts->{'withoutpass'}) { |
if ($filecounts->{'withoutpass'} == 1) { |
$output .= '<li>'.&mt('[quant,_1,file is,files are] publicly accessible.',$filecounts->{'withoutpass'}).'</li>'; |
$output .= '<li>'.&mt('[quant,_1,file] is publicly accessible.',$filecounts->{'withoutpass'}).'</li>'; |
|
} else { |
|
$output .= '<li>'.&mt('[quant,_1,file] are publicly accessible.',$filecounts->{'withoutpass'}).'</li>'; |
|
} |
|
} |
} |
if ($filecounts->{'withpass'}) { |
if ($filecounts->{'withpass'}) { |
if ($filecounts->{'withpass'} == 1) { |
$output .= '<li>'.&mt('[quant,_1,file requires,files require] a passphrase for access.',$filecounts->{'withpass'}).'</li>'; |
$output .= '<li>'.&mt('[quant,_1,file] requires a passphrase for access.',$filecounts->{'withpass'}).'</li>'; |
|
} else { |
|
$output .= '<li>'.&mt('[quant,_1,file] require a passphrase for access.',$filecounts->{'withpass'}).'</li>'; |
|
} |
|
} |
} |
$output .= '</ul>'; |
$output .= '</ul>'; |
} |
} |