From ccf1e0456ff3e3980d2fe73eb90ca926014d27f9 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 3 Jun 2009 14:58:49 +0000 Subject: [PATCH] add anonymous_comments option to the discussion control panel. svn path=/plone.app.discussion/trunk/; revision=27287 --- plone/app/discussion/interfaces.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/interfaces.py b/plone/app/discussion/interfaces.py index fa75041..498652d 100644 --- a/plone/app/discussion/interfaces.py +++ b/plone/app/discussion/interfaces.py @@ -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.