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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 11 May 2004 06:02:58 -0000


albertel		Tue May 11 02:02:58 2004 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  - marking some locations to fix
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.56 loncom/interface/loncreatecourse.pm:1.57
--- loncom/interface/loncreatecourse.pm:1.56	Fri May  7 20:48:30 2004
+++ loncom/interface/loncreatecourse.pm	Tue May 11 02:02:58 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.56 2004/05/08 00:48:30 www Exp $
+# $Id: loncreatecourse.pm,v 1.57 2004/05/11 06:02:58 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -42,6 +42,7 @@
 
 # ================================================ Get course directory listing
 
+#FIXME - doesn't support directories under /userfiles/ BUG#2999
 sub crsdirlist {
     my ($courseid,$which)=@_;
     unless ($which) { $which=''; }
@@ -51,6 +52,7 @@
 	 &Apache::loncommon::propath($crsdata{'domain'},$crsdata{'num'}));
     my @output=();
     foreach (@listing) {
+	#FIXME if list is a DIR need to recurse
 	unless ($_=~/^\./) {
 	    push (@output,(split(/\&/,$_))[0]);
 	}