Changeset 8127 for main/waeup.kofa/trunk/src
- Timestamp:
- 12 Apr 2012, 10:14:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/captcha.py
r7819 r8127 28 28 from zope.interface import Interface 29 29 from zope.publisher.interfaces.http import IHTTPRequest 30 from waeup.kofa.browser import KofaPage 30 from waeup.kofa.browser import KofaPage, resources 31 31 from waeup.kofa.browser.interfaces import ( 32 32 ICaptchaRequest, ICaptchaResponse, ICaptcha, ICaptchaConfig, … … 228 228 #: name of challenge field in HTTP request 229 229 chal_field = 'recaptcha_challenge_field' 230 #: resource to set theme and other options 231 theme = resources.recaptcha_white 230 232 231 233 # Do not use the following keys in productive environments! As … … 291 293 form). 292 294 """ 295 if self.theme is not None: 296 self.theme.need() 293 297 error_param = '' 294 298 if error_code:
Note: See TracChangeset for help on using the changeset viewer.