forked from ashmatadeen/no-captcha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add in <noscript> to catch submissions when JS is disabled
- Loading branch information
1 parent
9a237b0
commit b6d3eb3
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<noscript> | ||
<div style="width: 302px; height: 422px;"> | ||
<div style="width: 302px; height: 422px; position: relative;"> | ||
<div style="width: 302px; height: 422px; position: absolute;"> | ||
<iframe src="https://www.google.com/recaptcha/api/fallback?k=<?php echo get_option( 'wr_no_captcha_site_key' ); ?>" | ||
frameborder="0" scrolling="no" | ||
style="width: 302px; height:422px; border-style: none;"> | ||
</iframe> | ||
</div> | ||
<div style="width: 300px; height: 60px; border-style: none; | ||
bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; | ||
background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;"> | ||
<textarea id="g-recaptcha-response" name="g-recaptcha-response" | ||
class="g-recaptcha-response" | ||
style="width: 250px; height: 40px; border: 1px solid #c1c1c1; | ||
margin: 10px 25px; padding: 0px; resize: none;" > | ||
</textarea> | ||
</div> | ||
</div> | ||
</div> | ||
</noscript> |