/usr/share/pyshared/zope/browsermenu/tests/menus.zcml is in python-zope.browsermenu 3.9.1-0ubuntu4.
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 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="zope">
<browser:menu
id="test_id"
title="test menu" />
<browser:menu
id="test_sub_id"
title="test sub menu 2" />
<browser:menuItems
menu="test_id"
for="zope.interface.Interface">
<browser:menuItem action="a1" title="t1" />
<browser:subMenuItem submenu="test_sub_id" title="s1" />
</browser:menuItems>
<browser:menuItems
menu="test_id"
for=".tests.test_menudirectives.I1">
<browser:menuItem action="a2" title="t2" />
</browser:menuItems>
<browser:menuItems
menu="test_id"
for=".tests.test_menudirectives.I11">
<browser:menuItem action="a3" title="t3" filter="context" />
<browser:menuItem action="a4" title="t4" filter="not:context" />
</browser:menuItems>
<browser:menuItems
menu="test_id"
for=".tests.test_menudirectives.I111">
<browser:menuItem action="a5" title="t5" />
<browser:menuItem action="a6" title="t6" />
<browser:menuItem action="f7" title="t7" />
<browser:menuItem action="u8" title="t8" />
</browser:menuItems>
<browser:menuItems
menu="test_id"
for=".tests.test_menudirectives.I12">
<browser:menuItem action="a9" title="t9" />
</browser:menuItems>
<browser:menuItems
menu="test_sub_id"
for=".tests.test_menudirectives.I111">
<browser:menuItem action="a10" title="t10" />
</browser:menuItems>
<browser:menuItems
menu="test_id"
for=".tests.test_menudirectives.I111"
layer=".tests.test_menudirectives.IMyLayer">
<browser:menuItem action="a11" title="t11" />
<browser:subMenuItem submenu="test_sub_id" title="s2" />
</browser:menuItems>
</configure>
|