[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 06 Oct 2005 22:16:33 -0000
albertel Thu Oct 6 18:16:33 2005 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
- the domain is in a different location for portfolio files
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.108 loncom/interface/lonmeta.pm:1.109
--- loncom/interface/lonmeta.pm:1.108 Sat Aug 27 19:25:18 2005
+++ loncom/interface/lonmeta.pm Thu Oct 6 18:16:32 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.108 2005/08/27 23:25:18 banghart Exp $
+# $Id: lonmeta.pm,v 1.109 2005/10/06 22:16:32 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -575,6 +575,8 @@
# Looking for all bombs?
&report_bombs($r,$uri);
} elsif ($uri=~/\/portfolio\//) {
+ ($resdomain,$resuser)=
+ (&Apache::lonnet::declutter($uri)=~m|^(\w+)/(\w+)/portfolio|);
$r->print(&Apache::loncommon::bodytag
('Edit Portfolio File Information','','','',$resdomain));
&present_editable_metadata($r,$uri,'portfolio');