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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 30 Jun 2006 20:33:49 -0000


albertel		Fri Jun 30 16:33:49 2006 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - paving the way for group_ folders
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.236 loncom/interface/londocs.pm:1.237
--- loncom/interface/londocs.pm:1.236	Thu Jun 29 23:44:03 2006
+++ loncom/interface/londocs.pm	Fri Jun 30 16:33:49 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.236 2006/06/30 03:44:03 albertel Exp $
+# $Id: londocs.pm,v 1.237 2006/06/30 20:33:49 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2176,7 +2176,7 @@
        $showdoc='/'.$1;
     }
     unless ($showdoc) { # got called from remote
-       if (($env{'form.folder'}=~/^default_/) || 
+       if (($env{'form.folder'}=~/^(?:group|default)_/) || 
           ($env{'form.folder'} =~ m:^\d+/(pages|sequences)/:)) {
            $forcestandard = 1;
        }