Début d'intégration de PayPal.
[photoprint.git] / configure.zcml
1 <!--
2
3
4 -->
5 <configure
6 xmlns="http://namespaces.zope.org/zope"
7 xmlns:meta="http://namespaces.zope.org/meta"
8 xmlns:cmf="http://namespaces.zope.org/cmf"
9 xmlns:five="http://namespaces.zope.org/five"
10 xmlns:i18n="http://namespaces.zope.org/i18n">
11
12 <include file="permissions.zcml"/>
13 <cmf:registerDirectory directory="skins" name="photoprint" recursive="True"/>
14 <i18n:registerTranslations directory="locales"/>
15
16 <five:registerClass
17 class=".order.PrintOrderTemplate"
18 meta_type="Print order template"
19 permission="photoprint.AddPrintOrderTemplate"
20 />
21 <utility
22 component=".order.PrintOrderTemplateFactory"
23 name="photoprint.order_template"
24 />
25
26 <meta:redefinePermission from="zope2.Public" to="zope.Public" />
27 <five:registerClass
28 class=".order.PrintOrder"
29 meta_type="Print order"
30 permission="photoprint.AddPrintOrder"
31 />
32
33 <utility
34 component=".order.PrintOrderFactory"
35 name="photoprint.order"
36 />
37 </configure>