/usr/share/pyshared/schooltool/devmode/configure.zcml is in python-schooltool 1:2.1.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:security="http://schooltool.org/securitypolicy"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="schooltool">
<!-- Register the skin for devmode -->
<interface
interface=".skin.ISchoolToolDevModeSkin"
type="zope.publisher.interfaces.browser.IBrowserSkinType"
name="SchoolToolDevMode"
/>
<!-- Generic DevMode setup -->
<interface
interface="schooltool.devmode.skin.ISchoolToolDevModeSkin"
type="zope.publisher.interfaces.browser.IBrowserSkinType"
name="SchoolToolDevMode"
/>
<configure package="schooltool.skin">
<configure zcml:condition="have apidoc">
<browser:navigationViewlet
name="inspect"
for="*"
manager="schooltool.skin.IActionMenuManager"
template="templates/actionsViewlet.pt"
permission="schooltool.edit"
link="@@introspector.html"
title="Introspect"
order="200"
/>
<browser:navigationViewlet
name="api-docs"
for="*"
manager="schooltool.app.browser.interfaces.IManageMenuViewletManager"
template="templates/navigationViewlet.pt"
class="schooltool.skin.skin.NavigationViewlet"
permission="schooltool.view"
link="++apidoc++/@@index.html"
title="API Docs"
order="220"
/>
</configure>
<browser:navigationViewlet
name="sample-data"
for="*"
manager="schooltool.app.browser.interfaces.IManageMenuViewletManager"
template="templates/navigationViewlet.pt"
class="schooltool.skin.skin.NavigationViewlet"
permission="schooltool.view"
link="@@sampledata.html"
title="Sample data"
order="230"
/>
</configure>
<browser:viewlet
name="devmode_css"
for="*"
manager="schooltool.skin.ICSSManager"
class=".devmode.DevmodeCSSViewlet"
permission="zope.View"
layer="schooltool.devmode.skin.IDevModeLayer"
/>
<!-- DevTools Menu configuration -->
<browser:resource
name="devmode.css" file="devmode.css"
layer=".skin.IDevModeLayer"
/>
<configure zcml:condition="have apidoc">
<!-- Setup schooltool as a top-level package in API doc -->
<apidoc:rootModule
xmlns:apidoc="http://namespaces.zope.org/apidoc"
module="schooltool" />
<!-- Introspector -->
<browser:viewlet
name="introspector_css"
for="*"
manager="schooltool.skin.ICSSManager"
class=".devmode.IntrospectorCSSViewlet"
permission="zope.View"
layer="schooltool.devmode.skin.IDevModeLayer"
/>
<browser:resource
name="introspector.css" file="introspector.css"
layer=".skin.IDevModeLayer"
/>
<!-- apidoc customization -->
<browser:resource
name="apidoc.css" file="apidoc.css"
layer=".skin.IDevModeLayer"
/>
<security:allow
crowds="administration"
permission="zope.app.apidoc.UseAPIDoc" />
</configure>
</configure>
|