[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 05 Aug 2003 12:47:22 -0000


www		Tue Aug  5 08:47:22 2003 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  Bug #2008: do not append symbs for supplemental docs.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.70 loncom/interface/londocs.pm:1.71
--- loncom/interface/londocs.pm:1.70	Tue Jul 29 15:53:41 2003
+++ loncom/interface/londocs.pm	Tue Aug  5 08:47:21 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.70 2003/07/29 19:53:41 www Exp $
+# $Id: londocs.pm,v 1.71 2003/08/05 12:47:21 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -265,7 +265,7 @@
        } 
     }
     $url=~s/^http\&colon\;\/\//\/adm\/wrapper\/ext\//;
-    if ($residx) {
+    if (($residx) && ($folder!~/supplemental/)) {
        $url.=(($url=~/\?/)?'&':'?').'symb='.
        &Apache::lonnet::escape(&Apache::lonnet::symbclean(
           &Apache::lonnet::declutter('uploaded/'.