--- loncom/interface/portfolio.pm 2012/12/17 02:06:32 1.238 +++ loncom/interface/portfolio.pm 2012/12/17 06:29:02 1.239 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.238 2012/12/17 02:06:32 raeburn Exp $ +# $Id: portfolio.pm,v 1.239 2012/12/17 06:29:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2379,12 +2379,13 @@ sub get_port_path { sub missing_priv { my ($r,$url,$priv) = @_; - my $longtext = { + my %longtext = + &Apache::lonlocal::texthash( upload => 'upload files', delete => 'delete files', rename => 'rename files', setacl => 'set access controls for files', - }; + ); my $escpath = &HTML::Entities::encode($env{'form.currentpath'},'&<>"'); my $rtnlink = 'print(' '.&mt("in the group's group portfolio.")); $rtnlink .= &group_args() } else { - $r->print(&mt('in this portfolio.')); + $r->print(' '.&mt('in this portfolio.')); } $rtnlink .= '">'.&mt('Return to directory').''; $r->print('
'.$rtnlink);