source: products/quintagroup.plonecaptchas/branches/plone4/quintagroup/plonecaptchas/configure.zcml @ 2470

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

#194: Fixed some buggs in register forom overriden

File size: 1.7 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:i18n="http://namespaces.zope.org/i18n"
5    xmlns:cmf="http://namespaces.zope.org/cmf"
6    xmlns:gs="http://namespaces.zope.org/genericsetup"
7    i18n_domain="quintagroup.plonecaptchas">
8
9    <!-- include dependent packages -->
10    <include package="quintagroup.captcha.core" />
11
12    <five:registerPackage package="." initialize=".initialize" />
13
14    <!-- include packages -->
15    <include package=".browser" />
16
17    <!-- File System Directory Views registration -->
18    <cmf:registerDirectory name="captchas_discussion" />
19    <cmf:registerDirectory name="captchas_sendto_form" />
20    <cmf:registerDirectory name="captchas_contact_info" />
21
22    <gs:registerProfile
23        name="default"
24        title="Plone Captchas"
25        directory="profiles/default"
26        description="This product adds captcha support to Plone."
27        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
28        provides="Products.GenericSetup.interfaces.EXTENSION"
29        />
30
31    <gs:registerProfile
32        name="register_form"
33        title="Plone Captchas Register Forms for Plone 4"
34        directory="profiles/register_form"
35        description="This profile adds captcha protection of Register Form in Plone 4."
36        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
37        provides="Products.GenericSetup.interfaces.EXTENSION"
38        />
39
40    <gs:registerProfile
41        name="uninstall"
42        title="Uninstall Plone Captchas"
43        directory="profiles/uninstall"
44        description="Uninstall Plone Captchas product."
45        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
46        provides="Products.GenericSetup.interfaces.EXTENSION"
47        />
48
49</configure>
Note: See TracBrowser for help on using the repository browser.