/usr/share/pyshared/zope/app/component/browser/siteregistration.pt is in python-zope.app.component 3.9.3-0ubuntu2.
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 | <html metal:use-macro="context/@@standard_macros/view"
i18n:domain="zope">
<body>
<div metal:fill-slot="body">
<form tal:attributes="action request/URL"
method="POST"
>
<div tal:condition="not:view/registrations">
<p i18n:translate="">Nothing is registered for this site.</p>
</div>
<div tal:condition="view/registrations">
<p i18n:translate="">
Registrations for this site:
</p>
<table>
<tr tal:repeat="registration view/registrations">
<td>
<input type="checkbox"
class="noborder" name="ids:list"
tal:attributes="value registration/id;
id registration/id;
"
/>
</td>
<td tal:define="info registration/render">
<tal:block condition="info/url">
<a href="foo/bar" tal:attributes="href info/url"
tal:content="info/cname">foo/bar</a>
</tal:block>
<tal:block condition="not: info/url"
i18n:translate="">
<tal:block i18n:name="name" content="info/cname">
foo/bar
</tal:block>
(moved or deleted)
</tal:block>
<br />
<tal:block content="info/info">
zope.app.fooIFoo utility named bob
</tal:block>
<tal:block condition="info/comment">
<br />
<tal:block content="info/comment">
comment: needed a bob
</tal:block>
</tal:block>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Unregister" name="deactivate"
i18n:attributes="value unregister-button" />
</td>
</tr>
</table>
</div>
</form>
</div>
</body>
</html>
|