plugins/SpecialUserFuncs.php
changeset 57 b354deeaa4c4
parent 32 4d87aad3c4c0
child 60 71b50f8c8f85
--- a/plugins/SpecialUserFuncs.php	Mon Jul 09 15:30:22 2007 -0400
+++ b/plugins/SpecialUserFuncs.php	Mon Jul 09 22:01:27 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();