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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 05 Jan 2006 21:17:39 -0000


albertel		Thu Jan  5 16:17:39 2006 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - allowing to set randompick for published sequnces includes in a DOCS folder
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.215 loncom/interface/londocs.pm:1.216
--- loncom/interface/londocs.pm:1.215	Thu Dec 22 15:23:39 2005
+++ loncom/interface/londocs.pm	Thu Jan  5 16:17:38 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.215 2005/12/22 20:23:39 albertel Exp $
+# $Id: londocs.pm,v 1.216 2006/01/05 21:17:38 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1588,7 +1588,7 @@
 	}
     }
     my $parameterset=' ';
-    if ($isfolder) {
+    if ($isfolder || $extension eq 'sequence') {
 	my $foldername=&Apache::lonnet::escape($foldertitle);
 	my $folderpath=$env{'form.folderpath'};
 	if ($folderpath) { $folderpath.='&' };