[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 02 Mar 2006 20:57:16 -0000
www Thu Mar 2 15:57:16 2006 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
No "/adm/wrapper" in the displayed URL
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.151 loncom/interface/lonmeta.pm:1.152
--- loncom/interface/lonmeta.pm:1.151 Thu Mar 2 15:16:10 2006
+++ loncom/interface/lonmeta.pm Thu Mar 2 15:57:15 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.151 2006/03/02 20:16:10 www Exp $
+# $Id: lonmeta.pm,v 1.152 2006/03/02 20:57:15 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -793,6 +793,7 @@
my ($thisversion)=($uri=~/\.(\d+)\.(\w+)\.meta$/);
$uri=~s/\.meta$//;
my $disuri=&Apache::lonnet::clutter($uri);
+ $disuri=~s/^\/adm\/wrapper//;
# version
my $currentversion=&Apache::lonnet::getversion($disuri);
my $versiondisplay='';