--- loncom/interface/lonmeta.pm 2006/08/16 18:06:47 1.170 +++ loncom/interface/lonmeta.pm 2006/08/21 18:04:20 1.171 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.170 2006/08/16 18:06:47 banghart Exp $ +# $Id: lonmeta.pm,v 1.171 2006/08/21 18:04:20 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -719,7 +719,6 @@ sub prettyinput { # Main Handler sub handler { my $r=shift; - # &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['currentpath']); my $uri=$r->uri; @@ -728,7 +727,6 @@ sub handler { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; return OK if $r->header_only; - # my ($resdomain,$resuser)= (&Apache::lonnet::declutter($uri)=~/^(\w+)\/(\w+)\//); if ($uri=~m:/adm/bombs/(.*)$:) { @@ -746,6 +744,11 @@ sub handler { } else { &pre_select_course($r,$uri); } + } elsif ($uri=~m|^/editupload/[^/]+/[^/]+/groups/|) { + $r->print(&Apache::loncommon::start_page('Edit Group Portfolio File Catalog Information', + undef, + {'domain' => $resdomain,})); + &present_editable_metadata($r,$uri,'portfolio'); } elsif ($uri=~m|^/~|) { # Construction space $r->print(&Apache::loncommon::start_page('Edit Catalog nformation',