Added basic infrastructure for discussion controlpanel.
svn path=/plone.app.discussion/trunk/; revision=27269
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
xmlns:browser="http://namespaces.zope.org/browser"
|
||||
i18n_domain="plone.app.discussion">
|
||||
|
||||
<include package="plone.app.registry" />
|
||||
|
||||
<!-- Traversal adapter -->
|
||||
<adapter factory=".traversal.ConversationNamespace" name="conversation" />
|
||||
|
||||
@@ -66,4 +68,20 @@
|
||||
layer="..interfaces.IDiscussionLayer"
|
||||
/>
|
||||
|
||||
<browser:page
|
||||
name="discussion-settings"
|
||||
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
||||
class=".controlpanel.DiscussionSettingsControlPanel"
|
||||
permission="cmf.ManagePortal"
|
||||
/>
|
||||
|
||||
<!-- Utility view - use in portal_css or similar as portal/@@xdv-check/enabled" -->
|
||||
<browser:page
|
||||
name="discussion-check"
|
||||
for="Products.CMFPlone.interfaces.IPloneSiteRoot"
|
||||
class=".controlpanel.Utility"
|
||||
permission="zope.Public"
|
||||
allowed_attributes="globally_enabled"
|
||||
/>
|
||||
|
||||
</configure>
|
||||
|
||||
Reference in New Issue
Block a user