Move to plone.app.discussion-captcha feature declaration to meta.zcml.
svn path=/plone.formwidget.captcha/trunk/; revision=37138
This commit is contained in:
parent
c0a14efbb1
commit
2ce47ee061
|
@ -4,6 +4,9 @@ Changelog
|
|||
1.0b2 - unreleased
|
||||
------------------
|
||||
|
||||
* Move to plone.app.discussion-captcha feature declaration to meta.zcml.
|
||||
[timo]
|
||||
|
||||
* Fix verify method for empty string input values. This is necessary for
|
||||
plone.app.discussion 1.0b5 compatibility.
|
||||
[timo]
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
<include package=".browser" />
|
||||
|
||||
<include file="meta.zcml" />
|
||||
|
||||
<class class=".widget.CaptchaWidget">
|
||||
<require
|
||||
permission="zope.Public"
|
||||
|
@ -42,11 +44,6 @@
|
|||
provides="Products.GenericSetup.interfaces.EXTENSION"
|
||||
/>
|
||||
|
||||
<!-- Declare that plone.formwidget.captcha provides a Captcha field that
|
||||
can be used by plone.app.discussion to add a Captcha field to comment
|
||||
forms. -->
|
||||
<meta:provides feature="plone.app.discussion-captcha" />
|
||||
|
||||
<!--
|
||||
example:
|
||||
http://yourplonesite/@@captcha_form
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<configure
|
||||
xmlns:meta="http://namespaces.zope.org/meta"
|
||||
xmlns:zcml="http://namespaces.zope.org/zcml">
|
||||
|
||||
<!-- Declare that plone.formwidget.captcha provides a Captcha field that
|
||||
can be used by plone.app.discussion to add a Captcha field to comment
|
||||
forms. -->
|
||||
<meta:provides feature="plone.app.discussion-captcha" />
|
||||
|
||||
</configure>
|
Reference in New Issue