Changeset 848

Show
Ignore:
Timestamp:
04/19/07 06:08:52
Author:
crchemist
Message:

Added captcha to join_form

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneCaptchas/trunk/Extensions/Install.py

    r743 r848  
    4747    qi = getToolByName(self, 'portal_quickinstaller') 
    4848    if qi.isProductInstalled('PloneFormMailer'): 
    49         formmailer_layer = LAYER_FORMMAILER+'/'+plone_version 
     49        formmailer_layer = LAYER_FORMMAILER+'/'+ plone_version 
    5050        Layers.append(formmailer_layer) 
    51     discussion_layer = DiscussionLayer+'/'+plone_version 
     51    discussion_layer = '/'.join([DiscussionLayer, plone_version]) 
    5252    Layers.append(discussion_layer) 
     53 
     54    join_form_layer = '/'.join([LAYER_JOIN_FORM, plone_version]) 
     55    Layers.append(join_form_layer) 
    5356    out.write('Call setupSkin... \n') 
    5457    setupSkin(self, out, Layers) 
  • qPloneCaptchas/trunk/config.py

    r682 r848  
    33CAPTCHAS_COUNT = 165 
    44LAYERS = ['captchas', 'plone_captchas'] 
     5LAYER_JOIN_FORM = 'captchas_join_form' 
    56LAYER_DISCUSSION = 'captchas_discussion' 
    67LAYER_FORMMAILER = 'captchas_ploneformmailer' 
    78LAYER_DYNAMIC_CAPTCHAS = 'plone_captchas/dynamic' 
    89LAYER_STATIC_CAPTCHAS = 'plone_captchas/static' 
    9 ALL_LAYERS = LAYERS + [LAYER_DISCUSSION, LAYER_FORMMAILER, LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS] 
     10ALL_LAYERS = LAYERS + [LAYER_DISCUSSION, LAYER_FORMMAILER, 
     11             LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS, LAYER_JOIN_FORM] 
    1012TOOL_ICON = 'tool.gif' 
    1113TOOL_ID = 'portal_captchas'