[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - configure.zcml:1.19.2.1

Jim Fulton jim@zope.com
Thu, 17 Apr 2003 06:18:24 -0400


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

Modified Files:
      Tag: uk-april-2003-usability-branch
	configure.zcml 
Log Message:
Checking Seb's sprint work into a branch

=== Zope3/src/zope/app/browser/content/configure.zcml 1.19 => 1.19.2.1 ===
--- Zope3/src/zope/app/browser/content/configure.zcml:1.19	Wed Apr  9 07:47:52 2003
+++ Zope3/src/zope/app/browser/content/configure.zcml	Thu Apr 17 06:17:53 2003
@@ -21,6 +21,16 @@
       permission="zope.ManageContent"
       />
 
+  <browser:page
+      menu="zmi_views"
+      title="Browse"
+      name="browse"
+      for="zope.app.interfaces.content.file.IFile"
+      class="zope.app.browser.redirector.DefaultRedirector"
+      attribute="show"
+      permission="zope.View"
+      />
+
   <browser:editform
       name="upload.html"
       menu="zmi_views" title="Upload"
@@ -279,14 +289,15 @@
 
   </browser:pages>
 
-  <browser:pages
+  <browser:page
       for="zope.app.interfaces.content.folder.IFolder"
       permission="zope.View" 
-      class="zope.app.browser.container.contents.Contents">
-
-    <browser:page name="index.html" attribute="index" />
-
-  </browser:pages>
+      class="zope.app.browser.container.contents.Contents"
+      name="index.html"
+      attribute="index"
+      menu="zmi_views"
+      title="Browse" 
+      />
 
   <browser:page
       for="zope.app.interfaces.content.folder.IFolder"