[eluser]no-cost lab[/eluser]
Hi there,
I'm using the reCaptcha with Tank Auth and i'm trying to change the theme to 'red',
by changing this function:
Code:
function _create_recaptcha()
{
$this->load->helper('recaptcha');
// Add custom theme so we can get only image
$options = "[removed]var RecaptchaOptions = {theme: 'custom', custom_theme_widget: 'recaptcha_widget'};[removed]\n";
// Get reCAPTCHA JS and non-JS HTML
$html = recaptcha_get_html($this->config->item('recaptcha_public_key', 'tank_auth'));
return $options.$html;
}
problem is, that once the theme changes, the reCaptcha box appears above the form.
any ideas how to set the theme in a better way?