Changeset 3168 in products for quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/widget.py
- Timestamp:
- Apr 21, 2011 1:43:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/widget.py
r2099 r3168 4 4 CAPTCHA_MACRO = "captchaField_widget" 5 5 6 6 7 class CaptchaWidget(StringWidget): 7 8 _properties = StringWidget._properties.copy() 8 _properties.update( {'macro' : CAPTCHA_MACRO})9 _properties.update({'macro': CAPTCHA_MACRO}) 9 10 10 11 11 12 registerWidget(CaptchaWidget, 12 title ='Captcha widget',13 description= 14 used_for =('quintagroup.pfg.captcha.field.CaptchaField',)13 title='Captcha widget', 14 description=('Renders captcha image and string input',), 15 used_for=('quintagroup.pfg.captcha.field.CaptchaField',) 15 16 )
Note: See TracChangeset
for help on using the changeset viewer.