[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser - contents.pt:1.11.2.2

Jim Fulton jim@zope.com
Fri, 4 Oct 2002 13:30:40 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv10951/lib/python/Zope/App/OFS/Content/Folder/Views/Browser

Modified Files:
      Tag: ZopeDublinCore-branch
	contents.pt 
Log Message:
Commiting branch prior to merge

=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/contents.pt 1.11.2.1 => 1.11.2.2 ===
--- Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/contents.pt:1.11.2.1	Thu Oct  3 18:16:51 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/contents.pt	Fri Oct  4 13:30:10 2002
@@ -18,70 +18,10 @@
 <body>
 <div metal:fill-slot="body">
 
-<div>Folder Contents <a href="+"> Add... </a> </div>
+  <div metal:use-macro="view/contentsMacros/macros/contents" />
 
-  <form name="folderContentsForm" method="get" action="." 
-        tal:define="folder_contents view/listContentInfo">
-
-    <metal:block tal:condition="folder_contents">
-
-      <table id="sortable" class="listing" summary="Content listing"
-             cellpadding="2" cellspacing="0"
-             metal:define-macro="folder_listing">
-    
-        <thead> 
-          <tr>
-            <th>&nbsp;</th>
-            <th>&nbsp;</th>
-            <th>Name</th>
-            <th>Title</th>
-            <th>Created</th>
-            <th>Modified</th>
-          </tr>
-        </thead>
-        <tbody>
-        <metal:block tal:repeat="item folder_contents"> 
-          <tr tal:define="oddrow repeat/item/odd; url item/url"
-              tal:attributes="class python:oddrow and 'even' or 'odd'" > 
-            <td>
-              <input type="checkbox" class="noborder" name="ids:list" id="#"
-                     value="#"
-                     tal:attributes="value item/id;
-                                     id python: 'cb_'+item['id'];
-                                     checked request/ids_checked|nothing;"/>
-            </td>
-            <td> 
-              <a href="#" 
-                 tal:attributes="href 
-                                 string:${url}/@@SelectedManagementView.html"
-                 tal:content="structure item/icon|default"
-                 >
-              </a> 
-            </td>
-            <td> 
-              <a href="#" 
-                 tal:attributes="href 
-                                 string:${url}/@@SelectedManagementView.html"
-                 tal:content="item/id"
-                 >foo</a> 
-            </td>          
-            <td><span tal:content="item/title|default">&nbsp;</span></td>
-            <td><span tal:content="item/created|default">&nbsp;</span></td>
-            <td><span tal:content="item/modified|default">&nbsp;</span></td>
-          </tr>
-        </metal:block>
-        </tbody> 
-      </table>
-      <br />
-
-      <input type="submit" name="@@removeObjects.html:method" value="Delete"
-             tal:attributes="value string:menu_delete_button"
-             i18n:attributes="value" /> 
-
-    </metal:block>
-  </form>
-
-  <p><a href="./++etc++Services/"
+  <p>
+    <a href="./++etc++Services/"
         tal:condition="context/hasServiceManager">Services</a>
     <a href="@@addServiceManager.html" 
        tal:condition="not: context/hasServiceManager">Allow Services</a>