root/qPloneCaptchas/tags/1.0/config.py

Revision 656 (checked in by crchemist, 2 years ago)

Added qPloneCaptchas properties in portal_properties.

  • Property svn:eol-style set to native
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 browser.