Skip to content

Commit

Permalink
version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 committed Sep 9, 2017
1 parent bd53a3d commit 90f6463
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
13 changes: 3 additions & 10 deletions e_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@

if($recaptchaActive)
{
// e107::js("footer", "https://www.google.com/recaptcha/api.js?onload=myCallBack" , 'jquery');

/* WORKROUND you can't use async defer with e107::js now) */
if(!function_exists("theme_foot")) {
function theme_foot() {
// e107::js("footer", "https://www.google.com/recaptcha/api.js" , 'jquery');
echo '<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"

e107::js("footer-inline", '<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
async defer>
</script>';
}
}
</script>' );

$script = " var onloadCallback = function() {
$('.g-recaptcha').each(function(){
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<e107Plugin name="NoCaptcha ReCaptcha" lan="" version="1.1" date="2017-04-10" compatibility="2.0" installRequired="true" >
<author name="Jimako" url="http://www.e107.sk/" />
<e107Plugin name="NoCaptcha ReCaptcha" lan="" version="1.2" date="2017-04-10" compatibility="2.0" installRequired="true" >
<author name="Jimako" url="https://www.e107.sk/" />
<summary lan="">Google ReCaptcha for e107. </summary>
<description lan="">A drop-in replacement for the e107 captcha, making your site more use-friendly and secure.</description>
<keywords>
Expand Down
10 changes: 10 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Source and thanks:

https://github.com/e107inc/visualcaptcha

https://github.com/archer-developer/recaptcha

https://webdesign.tutsplus.com/tutorials/how-to-integrate-no-captcha-recaptcha-in-your-website--cms-23024

http://stackoverflow.com/questions/1241947/how-do-i-show-multiple-recaptchas-on-a-single-page

0 comments on commit 90f6463

Please sign in to comment.