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

www lon-capa-cvs@mail.lon-capa.org
Thu, 12 Dec 2002 18:14:32 -0000


www		Thu Dec 12 13:14:32 2002 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  Do not check on uploaded documents (bug #963) and wildcards.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.40 loncom/interface/londocs.pm:1.41
--- loncom/interface/londocs.pm:1.40	Mon Dec  9 17:27:20 2002
+++ loncom/interface/londocs.pm	Thu Dec 12 13:14:32 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.40 2002/12/09 22:27:20 www Exp $
+# $Id: londocs.pm,v 1.41 2002/12/12 18:14:32 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -275,7 +275,7 @@
     my ($r,$url,$level,$title)=@_;
     $alreadyseen{$url}=1;
     $r->rflush();
-    if ($url) {
+    if (($url) && ($url!~/^\/uploaded\//) && ($url!~/\*$/)) {
        $r->print('<br />');
        for (my $i=0;$i<=$level*5;$i++) {
            $r->print('&nbsp;');