This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.contact/tabellio/contact/configure.zcml

30 lines
778 B
XML

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="tabellio.contact">
<five:registerPackage package="." initialize=".initialize" />
<browser:page
name="contact"
for="Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot"
class=".form.ContactForm"
permission = "zope.Public" />
<!-- Captcha factory -->
<adapter
for="Products.CMFPlone.interfaces.siteroot.IPloneSiteRoot"
provides=".form.IContactForm"
factory=".form.Contact" />
<!-- Captcha validator -->
<adapter
factory=".form.CaptchaValidator"
/>
</configure>