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