Files
gallery3/modules/recaptcha/views/form_recaptcha.html.php
2009-06-02 12:31:27 -07:00

13 lines
401 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="gRecaptcha"></div>
<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
<script type="text/javascript">
setTimeout(function() {
Recaptcha.create(
"<?= $public_key ?>",
"gRecaptcha",
{ theme: "white", callback: Recaptcha.focus_response_field });
}, 0);
</script>