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
RevLine 
[797]1GLOBALS = globals()
[1954]2PRODUCT_NAME = 'quintagroup.captcha.core'
[956]3CAPTCHA_KEY = 'captcha_key'
[797]4CAPTCHAS_COUNT = 165
[817]5
[1955]6LAYERS = ['captchas', 'captcha_core']
7LAYER_DYNAMIC_CAPTCHAS = 'captcha_core/dynamic'
8LAYER_STATIC_CAPTCHAS = 'captcha_core/static'
[817]9ALL_LAYERS = LAYERS + [LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS]
10
[1550]11#TOOL_ICON = 'tool.gif'
[1955]12TOOL_ICON = 'skins/captcha_core/tool.gif'
[797]13TOOL_ID = 'portal_captchas'
[1690]14CONFIGLET_ID = "qpc_tool"
[963]15PROPERTY_SHEET = 'qPloneCaptchas'
[797]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.