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
1 changed files with 5 additions and 1 deletions

View File

@ -12,9 +12,13 @@ class IDiscussionSettings(Interface):
"""
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)
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):
"""A conversation about a content object.