Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
81675ccb
Commit
81675ccb
authored
Jan 31, 2017
by
Nguyen Van Anh
Committed by
GitHub
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rollback #57
parent
d6d559f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
src/NoCaptcha.php
src/NoCaptcha.php
+1
-10
No files found.
src/NoCaptcha.php
View file @
81675ccb
...
@@ -29,11 +29,6 @@ class NoCaptcha
...
@@ -29,11 +29,6 @@ class NoCaptcha
*/
*/
protected
$http
;
protected
$http
;
/**
* API requested control
*/
protected
$api_requested
=
false
;
/**
/**
* NoCaptcha.
* NoCaptcha.
*
*
...
@@ -61,11 +56,7 @@ class NoCaptcha
...
@@ -61,11 +56,7 @@ class NoCaptcha
{
{
$attributes
[
'data-sitekey'
]
=
$this
->
sitekey
;
$attributes
[
'data-sitekey'
]
=
$this
->
sitekey
;
$html
=
''
;
$html
=
'<script src="'
.
$this
->
getJsLink
(
$lang
)
.
'" async defer></script>'
.
"
\n
"
;
if
(
empty
(
$this
->
api_requested
))
{
$this
->
api_requested
=
true
;
$html
.=
'<script src="'
.
$this
->
getJsLink
(
$lang
)
.
'" async defer></script>'
.
"
\n
"
;
}
$html
.=
'<div class="g-recaptcha"'
.
$this
->
buildAttributes
(
$attributes
)
.
'></div>'
;
$html
.=
'<div class="g-recaptcha"'
.
$this
->
buildAttributes
(
$attributes
)
.
'></div>'
;
return
$html
;
return
$html
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment