This file is indexed.

/usr/share/pyshared/zope/app/container/browser/contents.pt is in python-zope.app.container 3.9.2-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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<html metal:use-macro="context/@@standard_macros/view"
    i18n:domain="zope">
<body>
<div metal:fill-slot="body">
  <div metal:define-macro="contents">

    <form name="containerContentsForm" method="post" action="."
          tal:attributes="action request/URL"
          tal:define="container_contents view/listContentInfo">

      <input type="hidden" name="type_name" value=""
             tal:attributes="value request/type_name"
             tal:condition="request/type_name|nothing"
             />
      <input type="hidden" name="retitle_id" value=""
             tal:attributes="value request/retitle_id"
             tal:condition="request/retitle_id|nothing"
             />

      <div class="page_error"
           tal:condition="view/error"
           tal:content="view/error"
           i18n:translate="">
        Error message
      </div>

      <table id="sortable" class="listing" summary="Content listing"
             i18n:attributes="summary">

        <thead>
          <tr>
            <th><input type="checkbox" onchange="updateCheckboxes(this, 'slaveBox');" /></th>
            <th i18n:translate="">Name</th>
            <th i18n:translate="">Title</th>
            <th i18n:translate="">Size</th>
            <th i18n:translate="">Created</th>
            <th i18n:translate="">Modified</th>
          </tr>
        </thead>

        <tbody>

        <metal:block tal:condition="view/hasAdding">
        <tr tal:define="names_required context/@@+/nameAllowed"
            tal:condition="python:names_required and request.has_key('type_name')">
          <td></td>
          <td><input name="new_value" id="focusid" value="" /></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        </metal:block>

        <metal:block tal:define="supportsRename view/supportsRename"
                     tal:repeat="item container_contents">
          <tr tal:define="oddrow repeat/item/odd; url item/url;
                          id_quoted item/id/url:quote"
              tal:attributes="class python:oddrow and 'even' or 'odd'" >
            <td>
              <input type="checkbox" class="noborder slaveBox" name="ids:list" id="#"
                     value="#"
                     tal:attributes="value item/id;
                                     id item/cb_id;
                                     checked request/ids_checked|nothing;"/>
            </td>
            <td><a href="#"
                 tal:attributes="href
                                 string:${url}/@@SelectedManagementView.html"
                 tal:content="structure item/icon|default">
                </a
                ><span tal:condition="item/rename"
                   ><input name="new_value:list"
                     tal:attributes="value item/id"
                     /><input type="hidden" name="rename_ids:list" value=""
                              tal:attributes="value item/rename"
                     /></span
                ><span tal:condition="not:item/rename">
                  <a href="#"
                     tal:attributes="href
                                 string:${url}/@@SelectedManagementView.html"
                     tal:content="item/id"
                     >foo</a
                  ><a href="#"
                     tal:attributes="href
                         string:${request/URL}?rename_ids:list=${id_quoted}"
                     tal:condition="supportsRename"
                     >&nbsp;&nbsp;</a
                ></span
               ></td>
            <td>
              <input name="new_value" id="focusid"
                     tal:attributes="value item/title|nothing"
                     tal:condition="item/retitle"
                     />
              <a href="#"
                 tal:attributes="href
                                 string:${request/URL}?retitle_id=${id_quoted}"
                 tal:condition="item/retitleable"
                 tal:content="item/title|default"
                 i18n:translate=""
                 >&nbsp;&nbsp;&nbsp;&nbsp;</a>
              <span
                 tal:condition="item/plaintitle"
                 tal:content="item/title|default"
                 i18n:translate=""
                 >&nbsp;&nbsp;&nbsp;&nbsp;</span>
            </td>

            <td><span tal:content="item/size/sizeForDisplay|nothing"
                    i18n:translate="">
                      &nbsp;</span></td>
            <td><span tal:define="created item/created|default"
                      tal:content="created"
                      i18n:translate="">&nbsp;</span></td>
            <td><span tal:define="modified item/modified|default"
                      tal:content="modified"
                      i18n:translate="">&nbsp;</span></td>
          </tr>
        </metal:block>

        </tbody>
      </table>

      <tal:block tal:condition="view/normalButtons">

        <input type="submit" name="container_rename_button" value="Rename"
               i18n:attributes="value container-rename-button"
               tal:condition="view/supportsRename"
               />
        <input type="submit" name="container_cut_button" value="Cut"
               i18n:attributes="value container-cut-button"
               tal:condition="view/supportsCut"
               />
        <input type="submit" name="container_copy_button" value="Copy"
               i18n:attributes="value container-copy-button"
               tal:condition="view/supportsCopy"
               />
        <input type="submit" name="container_paste_button" value="Paste"
               tal:condition="view/hasClipboardContents"
               i18n:attributes="value container-paste-button"
               />
        <input type="submit" name="container_delete_button" value="Delete"
               i18n:attributes="value container-delete-button"
               tal:condition="view/supportsDelete"
               i18n:domain="zope"
               />

        <div tal:condition="view/hasAdding" tal:omit-tag="">
        <div tal:omit-tag=""
             tal:define="adding nocall:context/@@+;
                         addingInfo adding/addingInfo;
                         has_custom_add_view adding/hasCustomAddView;
                         names_required adding/nameAllowed"
             tal:condition="adding/isSingleMenuItem">
          <input type="submit" name="container_add_button" value="Add"
                 i18n:attributes="value add-button"
                 i18n:domain="zope"
               />
          <input type="text" name="single_new_value" id="focusid"
                 tal:condition="python:names_required and not has_custom_add_view"
                 i18n:domain="zope"
               />
          <input type="hidden" name="single_type_name"
               value=""
               tal:attributes="value python:addingInfo[0]['action']"
               />
        </div>
        </div>

      </tal:block>

      <div tal:condition="view/specialButtons">
        <input type="submit" value="Apply"
               i18n:attributes="value container-apply-button"
               />
        <input type="submit" name="container_cancel_button" value="Cancel"
               i18n:attributes="value container-cancel-button"
               />
      </div>

    </form>

    <script type="text/javascript"><!--
        if (document.containerContentsForm.new_value)
            document.containerContentsForm.new_value.focus();
        //-->
    </script>

  </div>

</div>
</body>
</html>