Last change
on this file since 1860 was
1860,
checked in by liebster, 14 years ago
|
Added captcha in registation form by plone4
|
File size:
985 bytes
|
Line | |
---|
1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
4 | xmlns:zcml="http://namespaces.zope.org/zcml" |
---|
5 | i18n_domain="quintagroup.plonecaptchas"> |
---|
6 | |
---|
7 | <browser:view |
---|
8 | name="captcha" |
---|
9 | for="*" |
---|
10 | permission="zope2.Public" |
---|
11 | provides=".interfaces.ICaptchaView" |
---|
12 | class=".view.Captcha" |
---|
13 | /> |
---|
14 | |
---|
15 | <view |
---|
16 | type="zope.publisher.interfaces.browser.IBrowserRequest" |
---|
17 | for=".interfaces.ICaptcha" |
---|
18 | provides="zope.app.form.interfaces.IInputWidget" |
---|
19 | factory=".widget.CaptchaWidget" |
---|
20 | permission="zope.Public" |
---|
21 | /> |
---|
22 | |
---|
23 | <!-- Join form definition --> |
---|
24 | <browser:page |
---|
25 | zcml:condition="installed plone.app.users" |
---|
26 | name="register" |
---|
27 | for="plone.app.layout.navigation.interfaces.INavigationRoot" |
---|
28 | class=".register.CustomRegistrationForm" |
---|
29 | permission="zope.Public" |
---|
30 | layer=".interfaces.IPloneChaptchaLayer" |
---|
31 | /> |
---|
32 | |
---|
33 | </configure> |
---|
Note: See
TracBrowser
for help on using the repository browser.