1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
4 | i18n_domain="${namespace_package}.${namespace_package2}.${package}"> |
---|
5 | |
---|
6 | #if str($include_doc) == 'True' |
---|
7 | <!-- '$skinname' Zope 3 browser layer |
---|
8 | Register views, viewlets and resources for this layer to make sure |
---|
9 | they only apply to the '${skinname}' theme. |
---|
10 | You can also use this layer to override default Plone browser views |
---|
11 | and viewlets only within the '${skinname}' theme. |
---|
12 | --> |
---|
13 | #else |
---|
14 | <!-- '$skinname' Zope 3 browser layer --> |
---|
15 | #end if |
---|
16 | <interface |
---|
17 | interface=".interfaces.IThemeSpecific" |
---|
18 | type="zope.publisher.interfaces.browser.IBrowserSkinType" |
---|
19 | name="$skinname" |
---|
20 | /> |
---|
21 | |
---|
22 | <!-- Zope 3 browser resources --> |
---|
23 | |
---|
24 | #if str($include_doc) == 'True' |
---|
25 | <!-- Resource directory for images |
---|
26 | See ${namespace_package}/${namespace_package2}/${package}/browser/images/README.txt |
---|
27 | for more information about registering images as Zope 3 browser |
---|
28 | resources. |
---|
29 | --> |
---|
30 | #else |
---|
31 | <!-- Resource directory for templates --> |
---|
32 | #end if |
---|
33 | <browser:resourceDirectory |
---|
34 | name="${namespace_package}.${namespace_package2}.${package}.templates" |
---|
35 | directory="templates" |
---|
36 | layer=".interfaces.IThemeSpecific" |
---|
37 | /> |
---|
38 | |
---|
39 | <!-- -*- extra stuff goes here -*- --> |
---|
40 | |
---|
41 | </configure> |
---|