From 370b829460a2ccf0a3fcf614bcd6e4f918f6560e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 16 Jun 2011 04:59:16 +1000 Subject: reCAPTCHA support --- templates/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates/main.js') diff --git a/templates/main.js b/templates/main.js index a57ff972..cf9f9e77 100644 --- a/templates/main.js +++ b/templates/main.js @@ -161,7 +161,11 @@ function init() } } +var RecaptchaOptions = { + theme : 'clean' +}; + window.onload = init; {config[google_analytics]? -var _gaq = _gaq || [];_gaq.push(['_setAccount', '{config[google_analytics]}']);{config[google_analytics_domain]?_gaq.push(['_setDomainName', '{config[google_analytics_domain]}'])}{!config[google_analytics_domain]?_gaq.push(['_setDomainName', 'none'])};_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();} \ No newline at end of file +var _gaq = _gaq || [];_gaq.push(['_setAccount', '{config[google_analytics]}']);{config[google_analytics_domain]?_gaq.push(['_setDomainName', '{config[google_analytics_domain]}'])}{!config[google_analytics_domain]?_gaq.push(['_setDomainName', 'none'])};_gaq.push(['_trackPageview']);(function() {var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();} -- cgit v1.3