No tabs in zcml please
svn path=/plone.app.discussion/trunk/; revision=46364
This commit is contained in:
parent
87d767651b
commit
9eb172023a
@ -1,16 +1,16 @@
|
|||||||
<configure
|
<configure
|
||||||
xmlns="http://namespaces.zope.org/zope"
|
xmlns="http://namespaces.zope.org/zope"
|
||||||
xmlns:meta="http://namespaces.zope.org/meta"
|
xmlns:meta="http://namespaces.zope.org/meta"
|
||||||
xmlns:zcml="http://namespaces.zope.org/zcml"
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
||||||
i18n_domain="plone.app.discussion">
|
i18n_domain="plone.app.discussion">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Plone 3 fixes
|
Plone 3 fixes
|
||||||
|
|
||||||
Plone 3 / Zope 2.10 does not recognize the meta:provides feature.
|
Plone 3 / Zope 2.10 does not recognize the meta:provides feature.
|
||||||
Therefore we claim to provide this feature when a suitable package is
|
Therefore we claim to provide this feature when a suitable package is
|
||||||
installed.
|
installed.
|
||||||
-->
|
-->
|
||||||
<configure zcml:condition="installed plone.formwidget.captcha">
|
<configure zcml:condition="installed plone.formwidget.captcha">
|
||||||
<meta:provides feature="plone.app.discussion-captcha" />
|
<meta:provides feature="plone.app.discussion-captcha" />
|
||||||
</configure>
|
</configure>
|
||||||
@ -35,7 +35,7 @@
|
|||||||
provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
|
provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
|
||||||
<adapter
|
<adapter
|
||||||
factory=".validator.CaptchaValidator"
|
factory=".validator.CaptchaValidator"
|
||||||
provides="z3c.form.interfaces.IValidator"
|
provides="z3c.form.interfaces.IValidator"
|
||||||
/>
|
/>
|
||||||
</configure>
|
</configure>
|
||||||
|
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<adapter
|
<adapter
|
||||||
factory="collective.akismet.validator.AkismetValidator"
|
factory="collective.akismet.validator.AkismetValidator"
|
||||||
provides="z3c.form.interfaces.IValidator"
|
provides="z3c.form.interfaces.IValidator"
|
||||||
/>
|
/>
|
||||||
</configure>
|
</configure>
|
||||||
|
|
||||||
</configure>
|
</configure>
|
@ -70,7 +70,7 @@
|
|||||||
class=".moderation.ModerateCommentsEnabled"
|
class=".moderation.ModerateCommentsEnabled"
|
||||||
permission="zope2.View"
|
permission="zope2.View"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Delete comment view -->
|
<!-- Delete comment view -->
|
||||||
<browser:page
|
<browser:page
|
||||||
for="plone.app.discussion.interfaces.IComment"
|
for="plone.app.discussion.interfaces.IComment"
|
||||||
|
@ -10,18 +10,18 @@
|
|||||||
<five:registerPackage package="." />
|
<five:registerPackage package="." />
|
||||||
|
|
||||||
<include package="plone.indexer" />
|
<include package="plone.indexer" />
|
||||||
|
|
||||||
<!-- XXX: Excluding plone.app.uuid for Plone 3 is only a temporary 'fix'.
|
<!-- XXX: Excluding plone.app.uuid for Plone 3 is only a temporary 'fix'.
|
||||||
plone.app.uuid causes the IObjectAddedEvent to be fired twice on
|
plone.app.uuid causes the IObjectAddedEvent to be fired twice on
|
||||||
Plone 3. This causes the email notifications to be send twice.
|
Plone 3. This causes the email notifications to be send twice.
|
||||||
|
|
||||||
This means that https://dev.plone.org/plone/ticket/10652 is fixed only
|
This means that https://dev.plone.org/plone/ticket/10652 is fixed only
|
||||||
for Plone 4.
|
for Plone 4.
|
||||||
-->
|
-->
|
||||||
<configure zcml:condition="have plone-4">
|
<configure zcml:condition="have plone-4">
|
||||||
<include package="plone.uuid" />
|
<include package="plone.uuid" />
|
||||||
<include package="plone.app.uuid" />
|
<include package="plone.app.uuid" />
|
||||||
</configure>
|
</configure>
|
||||||
|
|
||||||
<include file="permissions.zcml" />
|
<include file="permissions.zcml" />
|
||||||
<include file="notifications.zcml" />
|
<include file="notifications.zcml" />
|
||||||
@ -60,7 +60,7 @@
|
|||||||
</class>
|
</class>
|
||||||
|
|
||||||
|
|
||||||
<!-- XXX: Excluding plone.uuid for Plone 3 is only a temporary 'fix'.
|
<!-- XXX: Excluding plone.uuid for Plone 3 is only a temporary 'fix'.
|
||||||
See the comment above -->
|
See the comment above -->
|
||||||
<configure zcml:condition="have plone-4">
|
<configure zcml:condition="have plone-4">
|
||||||
<class class=".comment.Comment">
|
<class class=".comment.Comment">
|
||||||
|
@ -85,7 +85,6 @@
|
|||||||
zope.app.container.interfaces.IObjectRemovedEvent"
|
zope.app.container.interfaces.IObjectRemovedEvent"
|
||||||
handler=".comment.notify_content_object_deleted"
|
handler=".comment.notify_content_object_deleted"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</configure>
|
</configure>
|
||||||
|
|
||||||
<!-- Control panel event subscribers -->
|
<!-- Control panel event subscribers -->
|
||||||
|
Loading…
Reference in New Issue
Block a user