plugins/SpecialUserFuncs.php
changeset 276 b8fd21190ae1
parent 274 f725a16e4a20
child 283 e133d321fce4
equal deleted inserted replaced
275:62e1a6f3de84 276:b8fd21190ae1
   753                 }
   753                 }
   754             });
   754             });
   755           }
   755           }
   756           function regenCaptcha()
   756           function regenCaptcha()
   757           {
   757           {
       
   758             var frm = document.forms.regform;
   758             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
   759             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
   759             return false;
   760             return false;
   760           }
   761           }
   761           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
   762           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
   762           var frm = document.forms.regform;
   763           var frm = document.forms.regform;