~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlrecaptcha/forms.py

  • Committer: Holger Rapp
  • Date: 2012-09-01 16:11:57 UTC
  • mfrom: (325.1.23 development)
  • Revision ID: sirver@gmx.de-20120901161157-nm7xupfhd2jlpypg
Merged Shevonars amazing work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
</script>
39
39
''' % self.options
40
40
        return '''%(options)s<script type="text/javascript"
41
 
   src="http://api.recaptcha.net/challenge?k=%(public_key)s">
 
41
   src="https://www.google.com/recaptcha/api/challenge?k=%(public_key)s">
42
42
</script>
43
43
 
44
44
<noscript>
45
 
   <iframe src="http://api.recaptcha.net/noscript?k=%(public_key)s"
46
 
       height="300" width="500" frameborder="0"></iframe><br />
 
45
   <iframe src="https://www.google.com/recaptcha/api/noscript?k=%(public_key)s"
 
46
       style="height: 300px; width: 500px; border: none;"></iframe><br />
47
47
   <textarea name="recaptcha_challenge_field" rows="3" cols="40">
48
48
   </textarea>
49
49
   <input type="hidden" name="recaptcha_response_field"