mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
Captcha now loads on registration form
Captcha now loads on registration form
This commit is contained in:
parent
3b16f2b2a2
commit
64adb71d2a
2 changed files with 10 additions and 11 deletions
BIN
includes/captchabg/text4.png
Normal file
BIN
includes/captchabg/text4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
|
@ -275,16 +275,15 @@ $start = $time;
|
|||
</label>
|
||||
</div>
|
||||
<div class="field">
|
||||
<img id="captcha" src="https://ponepaste.org/captcha/securimage_show.php"
|
||||
alt="CAPTCHA Image"/>
|
||||
<div class="notification">
|
||||
<span class="tags are-large"><?php echo '<img src="' . $_SESSION['captcha']['image_src'] . '" alt="CAPTCHA" class="imagever">'; ?></span>
|
||||
<input type="text" class="input" name="scode" value=""
|
||||
placeholder="<?php echo $lang['entercode']; ?>">
|
||||
<p class="is-size-6 has-text-grey-light has-text-left mt-2">and press
|
||||
"Enter"</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<input required type="text" name="captcha_code" size="10" maxlength="6"/>
|
||||
<a href="#"
|
||||
onclick="document.getElementById('captcha').src = 'captcha/securimage_show.php?' + Math.random(); return false">[
|
||||
Different Image ]</a>
|
||||
</div>
|
||||
</div>
|
||||
<input class="button is-link is-fullwidth my-4" type="submit" name="signup" value="Register"
|
||||
value="<?php echo md5($date . $ip); ?>">
|
||||
<div class="field">
|
||||
|
|
Loading…
Add table
Reference in a new issue