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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Fri, 14 Feb 2003 00:23:37 -0000


bowersj2		Thu Feb 13 19:23:37 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Inserting a hook into lonprintout so I can work without
  disturbing Alex unduly.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.113 loncom/interface/lonprintout.pm:1.114
--- loncom/interface/lonprintout.pm:1.113	Wed Feb 12 15:44:38 2003
+++ loncom/interface/lonprintout.pm	Thu Feb 13 19:23:37 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.113 2003/02/12 20:44:38 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.114 2003/02/14 00:23:37 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1292,6 +1292,15 @@
 sub handler {
 
     my $r = shift;
+
+    # not sure where the form.* was getting processed.
+    Apache::loncommon::get_unprocessed_cgi($ENV{QUERY_STRING});
+
+    # A hook for me to work without disturbing Alex.
+    if ($ENV{'form.jeremy'}) {
+        printWizard($r);
+        return OK;
+    }
 
     my $loaderror=&Apache::lonnet::overloaderror($r);
     if ($loaderror) { return $loaderror; }