[LON-CAPA-cvs] cvs: loncom(version_2_2_X) /interface lonmeta.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 28 Aug 2006 00:13:22 -0000


albertel		Sun Aug 27 20:13:22 2006 EDT

  Modified files:              (Branch: version_2_2_X)
    /loncom/interface	lonmeta.pm 
  Log:
  - backport 1.171
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.168 loncom/interface/lonmeta.pm:1.168.2.1
--- loncom/interface/lonmeta.pm:1.168	Thu Aug 10 18:19:06 2006
+++ loncom/interface/lonmeta.pm	Sun Aug 27 20:13:22 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.168 2006/08/10 22:19:06 banghart Exp $
+# $Id: lonmeta.pm,v 1.168.2.1 2006/08/28 00:13:22 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -724,7 +724,6 @@
     &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/(.*)$:) {
@@ -742,6 +741,11 @@
         } 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',