Changeset 1036

Show
Ignore:
Timestamp:
02/05/08 06:39:54
Author:
crchemist
Message:

Added captcha to sendto_form.

Files:

Legend:

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

    r848 r1036  
    2626    updateProperties(props_sheet, out, PROPERTIES) 
    2727 
    28  
    29  
    3028    Layers = [] 
    3129    Layers += LAYERS 
     
    5452    join_form_layer = '/'.join([LAYER_JOIN_FORM, plone_version]) 
    5553    Layers.append(join_form_layer) 
     54     
     55     
     56    sendto_form_layer = '/'.join([LAYER_SENDTO_FORM, plone_version]) 
     57    Layers.append(sendto_form_layer) 
     58 
    5659    out.write('Call setupSkin... \n') 
    5760    setupSkin(self, out, Layers) 
     
    6366                                        action='string:${portal_url}/%s' % CONFIGLET_ID, 
    6467                                        appId=PRODUCT_NAME, permission=ManagePortal, imageUrl='group.gif') 
     68    return out.getvalue() 
    6569 
    6670def setupSkin(self, out, layers): 
  • qPloneCaptchas/trunk/config.py

    r848 r1036  
    33CAPTCHAS_COUNT = 165 
    44LAYERS = ['captchas', 'plone_captchas'] 
     5LAYER_SENDTO_FORM = "captchas_sendto_form" 
    56LAYER_JOIN_FORM = 'captchas_join_form' 
    67LAYER_DISCUSSION = 'captchas_discussion' 
     
    910LAYER_STATIC_CAPTCHAS = 'plone_captchas/static' 
    1011ALL_LAYERS = LAYERS + [LAYER_DISCUSSION, LAYER_FORMMAILER, 
    11              LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS, LAYER_JOIN_FORM
     12             LAYER_STATIC_CAPTCHAS, LAYER_DYNAMIC_CAPTCHAS, LAYER_JOIN_FORM, LAYER_SENDTO_FORM
    1213TOOL_ICON = 'tool.gif' 
    1314TOOL_ID = 'portal_captchas' 
  • qPloneCaptchas/trunk/version.txt

    r956 r1036  
    1 1.2.3 
     11.2.3+