Files
gallery3/modules/recaptcha/views/form_recaptcha.html.php

18 lines
519 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",
custom_translations : { instructions_visual : "<?= t("Type words to check:") ?>"},
callback: Recaptcha.focus_response_field
}
);
}, 0);
</script>