source: products/quintagroup.captcha.core/trunk/quintagroup/captcha/core/config.py @ 2508

Last change on this file since 2508 was 1955, checked in by mylan, 14 years ago

#172: Fix 'plone_captchas' references to 'captcha_core'

File size: 687 bytes
Line 
1GLOBALS = globals()
2PRODUCT_NAME = 'quintagroup.captcha.core'
3CAPTCHA_KEY = 'captcha_key'
4CAPTCHAS_COUNT = 165
5
6LAYERS = ['captchas', 'captcha_core']
7LAYER_DYNAMIC_CAPTCHAS = 'captcha_core/dynamic'
8LAYER_STATIC_CAPTCHAS = 'captcha_core/static'
9ALL_LAYERS = LAYERS + [LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS]
10
11#TOOL_ICON = 'tool.gif'
12TOOL_ICON = 'skins/captcha_core/tool.gif'
13TOOL_ID = 'portal_captchas'
14CONFIGLET_ID = "qpc_tool"
15PROPERTY_SHEET = 'qPloneCaptchas'
16
17DEFAULT_IMAGE_SIZE = 27
18DEFAULT_BG = 'gray'
19DEFAULT_FONT_COLOR = 'black'
20DEFAULT_PERIOD = 0.1
21DEFAULT_AMPLITUDE = 5
22DEFAULT_OFFSET = (0.5, 0.5)
23DEFAULT_DISTORTION = [DEFAULT_PERIOD, DEFAULT_AMPLITUDE, DEFAULT_OFFSET]
Note: See TracBrowser for help on using the repository browser.