plugins/SpecialUserFuncs.php
changeset 517 c6118b9e13bd
parent 507 586fd7d3202d
child 519 94214ec0871c
child 521 d264784355e5
equal deleted inserted replaced
516:9a52679143db 517:c6118b9e13bd
  1068             });
  1068             });
  1069           }
  1069           }
  1070           function regenCaptcha()
  1070           function regenCaptcha()
  1071           {
  1071           {
  1072             var frm = document.forms.regform;
  1072             var frm = document.forms.regform;
  1073             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/"); ?>'+frm.captchahash.value+'/'+Math.floor(Math.random() * 100000);
  1073             document.getElementById('captchaimg').src = '<?php echo makeUrlNS("Special", "Captcha/$captchacode"); ?>/'+Math.floor(Math.random() * 100000);
  1074             return false;
  1074             return false;
  1075           }
  1075           }
  1076           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
  1076           <?php if ( getConfig('pw_strength_enable') == '1' ): ?>
  1077           var frm = document.forms.regform;
  1077           var frm = document.forms.regform;
  1078           password_score_field(frm.password);
  1078           password_score_field(frm.password);