Last change
on this file since 870 was
870,
checked in by mylan, 17 years ago
|
Fix batching bugs..forget template update
|
File size:
485 bytes
|
Line | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | class ICaptchaView(Interface): |
---|
4 | """ Captcha generating and verifying view that is wrapper around |
---|
5 | captcha generation scripts located in skins folder. |
---|
6 | |
---|
7 | Use the view from a page to generate an image tag ('image_tag' method) |
---|
8 | and to verify user input ('verify' method). |
---|
9 | """ |
---|
10 | |
---|
11 | def image_tag(): |
---|
12 | """Generate an image tag linking to a captcha""" |
---|
13 | |
---|
14 | def verify(input): |
---|
15 | """ Verify user input. |
---|
16 | """ |
---|
Note: See
TracBrowser
for help on using the repository browser.