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

www lon-capa-cvs@mail.lon-capa.org
Thu, 09 May 2002 23:01:41 -0000


www		Thu May  9 19:01:41 2002 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  Forward "mode" to groupsort
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.40 loncom/interface/lonindexer.pm:1.41
--- loncom/interface/lonindexer.pm:1.40	Mon Mar 25 14:27:17 2002
+++ loncom/interface/lonindexer.pm	Thu May  9 19:01:41 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.40 2002/03/25 19:27:17 matthew Exp $
+# $Id: lonindexer.pm,v 1.41 2002/05/09 23:01:41 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -200,8 +200,14 @@
 	    # by default (ie. if $mode is undefined).  This is the easy
 	    # way out.  Hopefully in the future I'll find a way to get 
 	    # the calls dealt with in a more comprehensive manner.
+
+#
+# There is now also mode "simple", which is for the simple version of the rat
+#
+#
 	    if (!defined($mode) || ($mode ne 'edit' && $mode ne 'parmset')) {
                 my $location = "/adm/groupsort?catalogmode=groupimport&";
+                $location .= "mode=".$mode."&";
                 $location .= "acts=";
 		$catalogmodefunctions=<<"END";
 function select_data(title,url) {
@@ -368,7 +374,8 @@
 	}
 	
 # ---------------------------------------------------------------- output title
-	$r->print('<h2><font color="#888888">The LearningOnline With CAPA '.
+	$r->print(
+'<h2><font color="#888888">The Learning<i>Online</i> Network with CAPA '.
 		  'Network Directory Browser</font></h2>'."\n");
 # ---------------------------------- get state of file attributes to be showing
 	if ($ENV{'form.attrs'} ne "") {