From ac6865311d10b35688c5660f3bc0b8a070cdef81 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Thu, 10 Jun 2010 14:57:03 +0000 Subject: [PATCH] Move captcha registration to its own captcha.zcml file. Fix captcha registration for Plone 3/Zope 2.10 svn path=/plone.app.discussion/trunk/; revision=37140 --- CHANGES.txt | 3 ++ plone/app/discussion/browser/captcha.zcml | 45 +++++++++++++++++++++ plone/app/discussion/browser/configure.zcml | 23 ++--------- 3 files changed, 51 insertions(+), 20 deletions(-) create mode 100644 plone/app/discussion/browser/captcha.zcml diff --git a/CHANGES.txt b/CHANGES.txt index fb9a1f2..38d682d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Changelog 1.0b5 (unreleased) ------------------ +* Move captcha registration to its own captcha.zcml file. + [timo] + * Akismet (http://akismet.com/) spam protection plugin (collective.akismet) support added. [timo] diff --git a/plone/app/discussion/browser/captcha.zcml b/plone/app/discussion/browser/captcha.zcml new file mode 100644 index 0000000..8870759 --- /dev/null +++ b/plone/app/discussion/browser/captcha.zcml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plone/app/discussion/browser/configure.zcml b/plone/app/discussion/browser/configure.zcml index 02e8bb5..491f294 100644 --- a/plone/app/discussion/browser/configure.zcml +++ b/plone/app/discussion/browser/configure.zcml @@ -1,11 +1,13 @@ + + @@ -81,25 +83,6 @@ permission="zope2.View" /> - - - - - - - -