plugins/SpecialUserFuncs.php
changeset 58 8f532d8ab5f5
parent 57 b354deeaa4c4
child 60 71b50f8c8f85
--- a/plugins/SpecialUserFuncs.php	Fri Jul 06 11:45:50 2007 -0400
+++ b/plugins/SpecialUserFuncs.php	Tue Jul 10 00:40:52 2007 -0400
@@ -853,7 +853,9 @@
       </div>
     </form>
     <script type="text/javascript">
-    disableJSONExts();
+    if ( !KILL_SWITCH )
+    {
+      disableJSONExts();
       str = '';
       for(i=0;i<keySizeInBits/4;i++) str+='0';
       var key = hexToByteArray(str);
@@ -889,6 +891,7 @@
       }
       function runEncryption()
       {
+        var frm = document.forms.resetform;
         pass1 = frm.pass.value;
         pass2 = frm.pass_confirm.value;
         if ( pass1 != pass2 )
@@ -917,6 +920,7 @@
         }
         return true;
       }
+    }
     </script>
     <?php
     $template->footer();