plugins/SpecialUserFuncs.php
changeset 359 e0787bb6285b
parent 348 87e08a6e4fec
child 371 dc6026376919
equal deleted inserted replaced
358:b25d34fbc7ab 359:e0787bb6285b
   968                 }
   968                 }
   969             });
   969             });
   970           }
   970           }
   971           function regenCaptcha()
   971           function regenCaptcha()
   972           {
   972           {
       
   973             var frm = document.forms.regform;
   973             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
   974             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
   974             return false;
   975             return false;
   975           }
   976           }
   976           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
   977           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
   977           var frm = document.forms.regform;
   978           var frm = document.forms.regform;