[LON-CAPA-cvs] cvs: loncom /localize lonlocal.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 17 Sep 2003 23:16:27 -0000


www		Wed Sep 17 19:16:27 2003 EDT

  Modified files:              
    /loncom/localize	lonlocal.pm 
  Log:
  Oops.
  
  
Index: loncom/localize/lonlocal.pm
diff -u loncom/localize/lonlocal.pm:1.4 loncom/localize/lonlocal.pm:1.5
--- loncom/localize/lonlocal.pm:1.4	Tue Sep 16 21:45:14 2003
+++ loncom/localize/lonlocal.pm	Wed Sep 17 19:16:27 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Localization routines
 #
-# $Id: lonlocal.pm,v 1.4 2003/09/17 01:45:14 www Exp $
+# $Id: lonlocal.pm,v 1.5 2003/09/17 23:16:27 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -76,13 +76,19 @@
     }
     return %hash;
 }
+# ======================================================== Re-route translation
+
+sub clearreroutetrans {
+    &reroutetrans();
+    $reroute='';
+}
 
 # ======================================================== Re-route translation
 
 sub reroutetrans {
     $ENV{'transreroute'}=1;
-    $reroute='';
 }
+
 # ==================================================== End re-route translation
 sub endreroutetrans {
     $ENV{'transreroute'}=0;