2009-06-02 12:31:27 -07:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-10-04 00:27:22 -06:00
|
|
|
<div id="g-recaptcha"></div>
|
2009-06-01 23:58:49 -07:00
|
|
|
<script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
setTimeout(function() {
|
|
|
|
|
Recaptcha.create(
|
|
|
|
|
"<?= $public_key ?>",
|
2009-10-04 00:27:22 -06:00
|
|
|
"g-recaptcha",
|
2009-06-15 05:54:45 -07:00
|
|
|
{
|
|
|
|
|
theme: "white",
|
2009-09-01 01:28:52 -07:00
|
|
|
custom_translations : { instructions_visual : <?= t("Type words to check:")->for_js() ?>},
|
2009-06-15 05:54:45 -07:00
|
|
|
callback: Recaptcha.focus_response_field
|
|
|
|
|
}
|
|
|
|
|
);
|
2009-11-03 13:40:59 -08:00
|
|
|
}, 500);
|
2009-06-01 23:58:49 -07:00
|
|
|
</script>
|
|
|
|
|
|