2013-09-11 26 views
0

坦克auth驗證碼未帶有默認值。我如何將recaptcha主題/自定義主題應用於tank auth recaptcha?
嘗試在頁面的<head>標籤中添加以下內容,但沒有運氣。將recaptcha主題應用於坦克身份驗證

<script type="text/javascript"> 
var RecaptchaOptions = { 
    theme : 'red' 
}; 
</script> 

試圖改變auth.php_create_recaptcha()方法是這樣的。

$options = "<script>var RecaptchaOptions = {theme: 'red', custom_theme_widget: 'recaptcha_widget'};</script>\n"; 

然後我得到了enter image description here

回答

0

你是在正確的道路,你所要做的下一件事就是刪除顯式調用從視圖驗證碼組件。然後它會按預期工作