[LON-CAPA-cvs] cvs: loncom /publisher lonretrieve.pm

www www at source.lon-capa.org
Mon Oct 24 18:10:21 EDT 2011


www		Mon Oct 24 22:10:21 2011 EDT

  Modified files:              
    /loncom/publisher	lonretrieve.pm 
  Log:
  Bug #1320
  
  
Index: loncom/publisher/lonretrieve.pm
diff -u loncom/publisher/lonretrieve.pm:1.43 loncom/publisher/lonretrieve.pm:1.44
--- loncom/publisher/lonretrieve.pm:1.43	Sun Oct 23 01:27:34 2011
+++ loncom/publisher/lonretrieve.pm	Mon Oct 24 22:10:21 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to retrieve an old version of a file
 #
-# $Id: lonretrieve.pm,v 1.43 2011/10/23 01:27:34 www Exp $
+# $Id: lonretrieve.pm,v 1.44 2011/10/24 22:10:21 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -209,7 +209,7 @@
               .'/';
     $r->print(&Apache::lonhtmlcommon::start_funclist()
              .&Apache::lonhtmlcommon::add_item_funclist(
-                  '<a href="/priv/'.$uname.$fn.'">'
+                  '<a href="/priv/'.$udom.'/'.$uname.$fn.'">'
                  .&mt('Back to Resource')
                  .'</a>')
              .&Apache::lonhtmlcommon::add_item_funclist(
@@ -266,7 +266,7 @@
             print $logfile "Copy failed: $error\n\n";
         }
         $r->print('</p>'
-                 .'<p><a href="/priv/'.$uname.$fn.'">'
+                 .'<p><a href="/priv/'.$udom.'/'.$uname.$fn.'">'
                  .&mt('Back to Resource')
                  .'</a></p>');
     } else {




More information about the LON-CAPA-cvs mailing list