[LON-CAPA-cvs] cvs: rat / lonpageflip.pm doc/loncapafiles loncapafiles.lpml

www lon-capa-cvs@mail.lon-capa.org
Sat, 12 Apr 2003 16:03:16 -0000


www		Sat Apr 12 12:03:16 2003 EDT

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
    /rat	lonpageflip.pm 
  Log:
  Link logging, and installation of managekeys handler.
  
  
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.231 doc/loncapafiles/loncapafiles.lpml:1.232
--- doc/loncapafiles/loncapafiles.lpml:1.231	Fri Apr 11 14:17:26 2003
+++ doc/loncapafiles/loncapafiles.lpml	Sat Apr 12 12:03:16 2003
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- loncapafiles.lpml -->
 
-<!-- $Id: loncapafiles.lpml,v 1.231 2003/04/11 18:17:26 bowersj2 Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.232 2003/04/12 16:03:16 www Exp $ -->
 
 <!--
 
@@ -2593,6 +2593,15 @@
 <dependencies>
 ../../loncom/interface/lonsearchcat.pm
 </dependencies>
+</file>
+<file>
+<source>loncom/interface/lonmanagekeys.pm</source>
+<target dist='default'>home/httpd/lib/perl/Apache/lonmanagekeys.pm</target>
+<categoryname>handler</categoryname>
+<description>
+Allows users with "mky" privileges to generate and manage course access keys.
+</description>
+<status>works/unverified</status>
 </file>
 <file>
 <source>loncom/interface/londropadd.pm</source>
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.37 rat/lonpageflip.pm:1.38
--- rat/lonpageflip.pm:1.37	Fri Mar  7 20:39:29 2003
+++ rat/lonpageflip.pm	Sat Apr 12 12:03:16 2003
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.37 2003/03/08 01:39:29 www Exp $
+# $Id: lonpageflip.pm,v 1.38 2003/04/12 16:03:16 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -311,6 +311,12 @@
 # ============================================== Do not return before this line
               if ($redirecturl) {
 # ----------------------------------------------------- There is a URL to go to
+		  if ($direction eq 'forward') {
+                     &Apache::lonnet::linklog($currenturl,$redirecturl);
+		  }
+		  if ($direction eq 'back') {
+                     &Apache::lonnet::linklog($redirecturl,$currenturl);
+		  }
 # ------------------------------------------------- Check for critical messages
 		  if ((time-$ENV{'user.criticalcheck.time'})>300) {
                      my @what=&Apache::lonnet::dump