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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 25 Mar 2002 19:28:41 -0000


matthew		Mon Mar 25 14:28:41 2002 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  Uses "only=sequence" when opening lonindexer.  This should prevent users
  from making their top-level sequence an html page or something similarly
  stupid.
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.6 loncom/interface/loncreatecourse.pm:1.7
--- loncom/interface/loncreatecourse.pm:1.6	Mon Mar 18 09:26:28 2002
+++ loncom/interface/loncreatecourse.pm	Mon Mar 25 14:28:41 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.6 2002/03/18 14:26:28 matthew Exp $
+# $Id: loncreatecourse.pm,v 1.7 2002/03/25 19:28:41 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -63,7 +63,8 @@
     url += 'catalogmode=interactive&';
     url += 'mode=edit&';
     url += 'form=' + formname + '&';
-    url += 'element=' + elementname + '';
+    url += 'element=' + elementname + '&';
+    url += 'only=sequence' + '';
     var title = 'Browser';
     var options = 'scrollbars=1,resizable=1,menubar=0';
     options += ',width=700,height=600';