--- loncom/interface/portfolio.pm 2006/11/21 21:38:44 1.173 +++ loncom/interface/portfolio.pm 2008/04/17 14:46:18 1.192 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.173 2006/11/21 21:38:44 raeburn Exp $ +# $Id: portfolio.pm,v 1.192 2008/04/17 14:46:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -99,9 +99,8 @@ sub display_common { my $help_createdir = &Apache::loncommon::help_open_topic('Portfolio CreateDirectory'); # FIXME: This line should be deleted once Portfolio uses breadcrumbs - $r->print(&Apache::loncommon::help_open_topic('Portfolio About', 'Help on the portfolio')); + $r->print(&Apache::loncommon::help_open_topic('Portfolio About', &mt('Help on the portfolio'))); - $r->print(<<"TABLE");
'); $r->print(' | '.$version_flag.' | '); } else { # this is a graded or handed back file - my ($user,$domain) = &get_name_dom(); + my ($user,$domain) = &get_name_dom($env{'form.group'}); my $permissions_hash = &Apache::lonnet::get_portfile_permissions($domain,$user); if (defined($$permissions_hash{$fullpath})) { foreach my $array_item (@{$$permissions_hash{$fullpath}}) { @@ -232,7 +231,7 @@ sub display_directory { my $select_mode; my $checked_files; my $port_path = &get_port_path(); - my ($uname,$udom) = &get_name_dom(); + my ($uname,$udom) = &get_name_dom($group); my $access_admin_text = &mt('View Status'); if ($can_setacl) { $access_admin_text = &mt('View/Change Status'); @@ -268,15 +267,16 @@ sub display_directory { } else { $r->print('