[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - commontasks.pt:1.1 configure.zcml:1.8

Sidnei da Silva sidnei@x3ng.com.br
Sat, 1 Mar 2003 12:33:22 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv16602/src/zope/app/browser/container

Modified Files:
	configure.zcml 
Added Files:
	commontasks.pt 
Log Message:
More cleanup on Zopetop. Now we have basically everything that the Rotterdam skin has. Need to make sure request/URL/1 is the right way to get pass baseurl to the tree.

=== Added File Zope3/src/zope/app/browser/container/commontasks.pt ===
<div class="content even"><strong>Add new content</strong></div>

  <tal:block repeat="info context/@@+/addingInfo">
  <div tal:define="oddrow repeat/info/odd" class="even"
         tal:attributes="class python:oddrow and 'content even' or 'content odd'">
      <a href="#"
         tal:attributes="href string:${request/getURL}?type_name=${info/action};
                       class info/selected"
                       tal:content="info/title">Folder
      </a>
  </div>
</tal:block>


=== Zope3/src/zope/app/browser/container/configure.zcml 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.7	Fri Feb  7 10:48:37 2003
+++ Zope3/src/zope/app/browser/container/configure.zcml	Sat Mar  1 12:32:49 2003
@@ -30,4 +30,10 @@
       attribute="index" 
       />
 
+  <page for="zope.app.interfaces.container.IWriteContainer"
+      permission="zope.ManageContent" 
+      name="commonTasks"
+      class="zope.app.browser.container.contents.Contents"
+      template="commontasks.pt" />
+
 </zopeConfigure>