Last change
on this file since 2111 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
661 bytes
|
Line | |
---|
1 | GLOBALS = globals() |
---|
2 | PRODUCT_NAME = 'qPloneCaptchas' |
---|
3 | CAPTCHAS_COUNT = 165 |
---|
4 | LAYERS = ['captchas', 'plone_captchas'] |
---|
5 | LAYER_DISCUSSION = 'captchas_discussion' |
---|
6 | LAYER_FORMMAILER = 'captchas_ploneformmailer' |
---|
7 | LAYER_DYNAMIC_CAPTCHAS = 'plone_captchas/dynamic' |
---|
8 | LAYER_STATIC_CAPTCHAS = 'plone_captchas/static' |
---|
9 | ALL_LAYERS = LAYERS + [LAYER_DISCUSSION, LAYER_FORMMAILER, LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS] |
---|
10 | TOOL_ICON = 'tool.gif' |
---|
11 | TOOL_ID = 'portal_captchas' |
---|
12 | CONFIGLET_ID = "prefs_captchas_setup_form" |
---|
13 | CONFIGLET_NAME = "qPloneCaptchas setup" |
---|
14 | PROPERTIES = (('static_captchas', 'True', 'boolean'),) |
---|
15 | |
---|
16 | try: |
---|
17 | import PIL |
---|
18 | havePIL = True |
---|
19 | except: |
---|
20 | havePIL = False |
---|
Note: See
TracBrowser
for help on using the repository browser.