plugins/SpecialUserFuncs.php
changeset 448 f725a16e4a20
parent 324 16d0c9f33466
child 456 e133d321fce4
equal deleted inserted replaced
447:a9a3789ce02d 448:f725a16e4a20
   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;