add anonymous_comments option to the discussion control panel.

svn path=/plone.app.discussion/trunk/; revision=27287
This commit is contained in:
Timo Stollenwerk 2009-06-03 14:58:49 +00:00
parent 57c534b5d3
commit ccf1e0456f

View File

@ -12,9 +12,13 @@ class IDiscussionSettings(Interface):
""" """
globally_enabled = schema.Bool(title=_(u"Globally enabled"), globally_enabled = schema.Bool(title=_(u"Globally enabled"),
description=_(u"Use this setting to enable or disable comments globally"), description=_(u"Use this setting to enable or disable comments globally."),
default=True) default=True)
anonymous_comments = schema.Bool(title=_(u"Anonymous Comments"),
description=_(u"Use this setting to enable or disable posting comments as anonymous visitor."),
default=False)
class IConversation(IIterableMapping): class IConversation(IIterableMapping):
"""A conversation about a content object. """A conversation about a content object.