Skip to content

Commit

Permalink
Added expired-callback support to PHP template
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael H. Arieli committed Aug 7, 2015
1 parent 97d0351 commit 16266a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/ewz_recaptcha_widget.html.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php if ($ewz_recaptcha_enabled): ?>
<?php if (!$ewz_recaptcha_ajax): ?>
<script src="<?php echo $url_challenge ?>" type="text/javascript"></script>
<div class="g-recaptcha" data-theme="<?php echo $attr['options']['theme'] ?>" data-type="<?php echo $attr['options']['type'] ?>" data-sitekey="<?php echo $public_key ?>"></div>
<div class="g-recaptcha" data-theme="<?php echo $attr['options']['theme'] ?>" data-type="<?php echo $attr['options']['type'] ?>" data-sitekey="<?php echo $public_key ?>" <?php if (isset($attr['options']['expiredCallback']): ?>data-expired-callback="<?php echo $attr['options']['expiredCallback'] ?>"<?php endif ?>></div>
<noscript>
<div style="width: 302px; height: 352px;">
<div style="width: 302px; height: 352px; position: relative;">
Expand Down

0 comments on commit 16266a5

Please sign in to comment.