2009-05-11 18:52:16 +02:00
|
|
|
<configure
|
|
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
|
|
xmlns:browser="http://namespaces.zope.org/browser"
|
2019-06-27 19:43:27 +02:00
|
|
|
xmlns:plone="http://namespaces.plone.org/plone"
|
2010-06-10 16:57:03 +02:00
|
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
2015-11-05 00:26:49 +01:00
|
|
|
i18n_domain="plone">
|
2009-05-25 20:59:25 +02:00
|
|
|
|
2009-06-02 23:20:53 +02:00
|
|
|
<include package="plone.app.registry" />
|
|
|
|
|
2010-06-10 16:57:03 +02:00
|
|
|
<include file="captcha.zcml" />
|
|
|
|
|
2009-05-23 06:55:06 +02:00
|
|
|
<!-- Traversal adapter -->
|
2009-05-23 13:52:57 +02:00
|
|
|
<adapter factory=".traversal.ConversationNamespace" name="conversation" />
|
2009-05-11 18:52:16 +02:00
|
|
|
|
2009-06-10 22:14:44 +02:00
|
|
|
<!-- Moderation view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFCore.interfaces.ISiteRoot"
|
|
|
|
name="moderate-comments"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.View"
|
2009-08-26 10:59:50 +02:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-10 22:14:44 +02:00
|
|
|
/>
|
|
|
|
|
2010-01-28 14:23:58 +01:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="moderate-comments"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.View"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2009-06-26 16:57:45 +02:00
|
|
|
<!-- Moderation bulk actions view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFCore.interfaces.ISiteRoot"
|
|
|
|
name="bulk-actions"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.BulkActionsView"
|
2009-08-26 10:59:50 +02:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-26 16:57:45 +02:00
|
|
|
/>
|
|
|
|
|
2010-01-28 14:23:58 +01:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="bulk-actions"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.BulkActionsView"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2010-12-08 18:45:11 +01:00
|
|
|
<!-- Moderate comments enabled view -->
|
|
|
|
<browser:page
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
name="moderate-comments-enabled"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.ModerateCommentsEnabled"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<browser:page
|
|
|
|
for="plone.app.layout.navigation.interfaces.INavigationRoot"
|
|
|
|
name="moderate-comments-enabled"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.ModerateCommentsEnabled"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
2010-12-16 00:52:56 +01:00
|
|
|
|
2013-09-17 14:03:46 +02:00
|
|
|
<!-- Edit comment view -->
|
|
|
|
<browser:page
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="edit-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".comment.EditComment"
|
|
|
|
permission="plone.app.discussion.EditComments"
|
|
|
|
/>
|
|
|
|
|
2014-08-17 04:48:44 +02:00
|
|
|
<!-- Delete comment views
|
2013-09-19 10:39:52 +02:00
|
|
|
has conditional security dependent on controlpanel settings.
|
|
|
|
-->
|
2009-10-17 15:50:55 +02:00
|
|
|
<browser:page
|
2009-06-11 15:51:33 +02:00
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="moderate-delete-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2009-06-26 16:57:45 +02:00
|
|
|
class=".moderation.DeleteComment"
|
2014-03-03 15:12:16 +01:00
|
|
|
permission="plone.app.discussion.DeleteComments"
|
2009-06-11 15:51:33 +02:00
|
|
|
/>
|
|
|
|
|
2012-05-07 13:02:07 +02:00
|
|
|
<browser:page
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
name="delete-own-comment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.DeleteOwnComment"
|
|
|
|
permission="plone.app.discussion.DeleteOwnComments"
|
2009-06-11 15:51:33 +02:00
|
|
|
/>
|
|
|
|
|
2019-12-05 21:55:23 +01:00
|
|
|
<!-- Comment Transition -->
|
2009-10-17 15:50:55 +02:00
|
|
|
<browser:page
|
2009-06-11 15:51:33 +02:00
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
2019-12-05 21:55:23 +01:00
|
|
|
name="transmit-comment"
|
2009-06-11 15:51:33 +02:00
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2019-12-05 21:55:23 +01:00
|
|
|
class=".moderation.CommentTransition"
|
2009-06-16 15:10:58 +02:00
|
|
|
permission="plone.app.discussion.ReviewComments"
|
2009-06-11 15:51:33 +02:00
|
|
|
/>
|
|
|
|
|
2019-12-08 20:01:40 +01:00
|
|
|
<browser:page
|
|
|
|
for="*"
|
|
|
|
name="translationhelper"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".moderation.TranslationHelper"
|
|
|
|
permission="plone.app.discussion.ReviewComments"
|
|
|
|
/>
|
|
|
|
|
2019-09-30 16:43:19 +02:00
|
|
|
|
2009-05-23 06:55:06 +02:00
|
|
|
<!-- Comments viewlet -->
|
|
|
|
<browser:viewlet
|
2010-01-22 18:54:30 +01:00
|
|
|
name="plone.comments"
|
2009-05-23 06:55:06 +02:00
|
|
|
for="Products.CMFCore.interfaces.IContentish"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
manager="plone.app.layout.viewlets.interfaces.IBelowContent"
|
2010-01-22 13:08:30 +01:00
|
|
|
view="plone.app.layout.globals.interfaces.IViewView"
|
2009-05-23 06:55:06 +02:00
|
|
|
class=".comments.CommentsViewlet"
|
2022-02-17 15:37:38 +01:00
|
|
|
permission="plone.app.discussion.ViewComments"
|
2009-05-23 06:55:06 +02:00
|
|
|
/>
|
2009-05-11 18:52:16 +02:00
|
|
|
|
2011-04-15 06:29:46 +02:00
|
|
|
<!-- Conversation view -->
|
|
|
|
<browser:page
|
|
|
|
name="conversation_view"
|
|
|
|
for="Products.CMFCore.interfaces.IContentish"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
|
|
|
class=".conversation.ConversationView"
|
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
2009-05-27 15:23:25 +02:00
|
|
|
<!-- Comment view -->
|
|
|
|
<browser:view
|
|
|
|
name="view"
|
|
|
|
for="plone.app.discussion.interfaces.IComment"
|
|
|
|
layer="..interfaces.IDiscussionLayer"
|
2010-01-18 10:54:27 +01:00
|
|
|
class=".comment.View"
|
2009-05-27 15:23:25 +02:00
|
|
|
permission="zope2.View"
|
|
|
|
/>
|
|
|
|
|
2009-08-17 22:31:37 +02:00
|
|
|
<!-- Control panel -->
|
2013-11-12 10:45:59 +01:00
|
|
|
<browser:page
|
|
|
|
name="discussion-controlpanel"
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
class=".controlpanel.DiscussionSettingsControlPanel"
|
|
|
|
permission="cmf.ManagePortal"
|
|
|
|
/>
|
|
|
|
<!-- Deprecated controlpanel url -->
|
2009-06-02 23:20:53 +02:00
|
|
|
<browser:page
|
|
|
|
name="discussion-settings"
|
|
|
|
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
|
|
|
class=".controlpanel.DiscussionSettingsControlPanel"
|
|
|
|
permission="cmf.ManagePortal"
|
|
|
|
/>
|
|
|
|
|
2010-12-16 00:52:56 +01:00
|
|
|
</configure>
|