[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - configure.zcml:1.1.2.3
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:49 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/content
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/browser/content
Modified Files:
Tag: NameGeddon-branch
configure.zcml
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/browser/content/configure.zcml 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/browser/content/configure.zcml:1.1.2.2 Mon Dec 23 18:22:17 2002
+++ Zope3/src/zope/app/browser/content/configure.zcml Tue Dec 24 07:50:48 2002
@@ -2,7 +2,7 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:form="http://namespaces.zope.org/form"
- package="Zope.App.OFS.Content.File"
+ package="zope.app.content"
>
<!-- File View Directives -->
@@ -11,7 +11,7 @@
<browser:view
for="zope.app.interfaces.content.file.IFile"
- permission="Zope.View"
+ permission="zope.View"
factory="zope.app.browser.content.file.FileView">
<browser:page name="show.html" attribute="show" />
@@ -21,14 +21,14 @@
schema = "zope.app.interfaces.content.file.IFile"
name = "edit.html"
label = "Change a file"
- permission = "Zope.ManageContent"
+ permission = "zope.ManageContent"
/>
<form:edit
schema = "zope.app.interfaces.content.file.IFile"
name = "upload.html"
label = "Upload a file"
- permission = "Zope.ManageContent"
+ permission = "zope.ManageContent"
class = ".Views.Browser.FileUpload."
/>
@@ -37,12 +37,12 @@
<browser:view
name="view"
for="zope.app.interfaces.content.18nfile.II18nFile"
- permission="Zope.View"
+ permission="zope.View"
factory="zope.app.browser.content.i18n.I18nFileView" />
<browser:view
for="zope.app.interfaces.content.18nfile.II18nFile"
- permission="Zope.View"
+ permission="zope.View"
factory="zope.app.browser.content.i18n.I18nFileEdit">
<browser:page name="editForm.html" template="Views/Browser/i18n_edit.pt" />
@@ -85,14 +85,6 @@
<browser:icon name="zmi_icon" for="zope.app.interfaces.content.file.IFile" file="File_icon.gif" />
-</zopeConfigure>
-
-<zopeConfigure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:form="http://namespaces.zope.org/form"
- package="Zope.App.OFS.Content.Image">
-
<browser:defaultView for="zope.app.content.image.IImage" name="data" />
<!-- Image View Directives -->
@@ -100,7 +92,7 @@
<browser:view
name="data"
for="zope.app.content.image.IImage"
- permission="Zope.View"
+ permission="zope.View"
allowed_attributes="__call__ tag"
factory="zope.app.browser.content.image.ImageData" />
@@ -108,7 +100,7 @@
schema = "zope.app.content.image.IImage"
name = "upload.html"
label = "Upload an image"
- permission = "Zope.ManageContent"
+ permission = "zope.ManageContent"
class = ".Views.Browser.ImageUpload."
template = "Views/Browser/edit.pt"
/>
@@ -117,8 +109,8 @@
<browser:view
name="data"
- for="Zope.App.OFS.Content.Imagezope.app.content.i18nimage.II18nImage"
- permission="Zope.View"
+ for="zope.app.interfaces.content.i18nimage.II18nImage"
+ permission="zope.View"
allowed_attributes="__call__ tag"
factory="zope.app.browser.content.i18nimage.I18nImageData" />
@@ -128,7 +120,7 @@
<browser:view
for="zope.app.content.i18nimage.II18nImage"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
factory="zope.app.browser.content.i18nimage.I18nImageEdit">
<browser:page name="upload.html" template="Views/Browser/i18n_edit.pt" />
@@ -168,15 +160,6 @@
title="I18n Image" action="I18nImage"
description="A multi-locale version of an Image." />
-</zopeConfigure>
-
-<zopeConfigure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:form="http://namespaces.zope.org/form"
- package="Zope.App.OFS.Content.ZPTPage"
->
-
<!-- ZPT Page View Directives -->
<browser:defaultView
@@ -185,7 +168,7 @@
/>
<browser:view
- permission="Zope.View"
+ permission="zope.View"
for="zope.app.content.zpt.IZPTPage"
factory="zope.app.browser.content.zpt.ZPTPageEval">
@@ -196,7 +179,7 @@
schema="zope.app.content.zpt.IZPTPage"
name="edit.html"
label="Edit a ZPT page"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
/>
<!-- tabs for ZPT Page -->
@@ -216,17 +199,10 @@
title="Zope Page Template Page" action="ZPTPage"
description="An object for dynamic content based on Page Templates." />
-</zopeConfigure>
-
-<zopeConfigure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- package="Zope.App.OFS.Content.Folder">
-
<!-- Folder View Directives -->
<browser:view
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
for="zope.app.interfaces.content.folder.IFolder"
name="create"
factory="zope.app.browser.content.folder.FolderAdding">
@@ -256,10 +232,10 @@
<browser:view
for="zope.app.interfaces.content.folder.IFolder"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
factory="zope.app.browser.container.contents.Contents">
- <browser:page name="index.html" attribute="index" permission="Zope.View" />
+ <browser:page name="index.html" attribute="index" permission="zope.View" />
<browser:page name="contents.html" attribute="contents" />
<browser:page name="manage" attribute="contents" />
<browser:page name="removeObjects.html" attribute="removeObjects" />
@@ -280,15 +256,6 @@
</browser:menuItems>
-
-</zopeConfigure>
-
-<zopeConfigure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:form="http://namespaces.zope.org/form"
- package="Zope.App.OFS.Content.SQLScript">
-
<!-- SQL Script View Directives -->
<browser:defaultView
@@ -297,7 +264,7 @@
<browser:view
for="zope.app.interfaces.content.sql.ISQLScript"
- permission="Zope.View"
+ permission="zope.View"
factory="zope.app.browser.content.sql.SQLScriptTest">
<browser:page name="testForm.html" template="Views/Browser/test.pt" />
<browser:page name="testResults.html"
@@ -309,7 +276,7 @@
schema = "zope.app.interfaces.content.sql.ISQLScript"
name = "edit.html"
label = "Edit an SQL script"
- permission = "Zope.ManageContent"
+ permission = "zope.ManageContent"
/>
<browser:menuItems menu="zmi_views" for="zope.app.interfaces.content.sql.ISQLScript">
@@ -323,15 +290,6 @@
title="SQLScript" action="SQLScript"
description="A content object getting its data from a RDB." />
-</zopeConfigure>
-
-<zopeConfigure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:form="http://namespaces.zope.org/form"
- package="Zope.App.OFS.Content.DTMLPage"
- >
-
<!-- DTML Page View Directives -->
<browser:defaultView
@@ -339,7 +297,7 @@
for="zope.app.content.dtmlpage.IDTMLPage" />
<browser:view
- permission="Zope.View"
+ permission="zope.View"
for="zope.app.content.dtmlpage.IDTMLPage"
factory="zope.app.browser.content.dtmlpageeval.DTMLPageEval">
@@ -351,7 +309,7 @@
schema = "zope.app.content.dtmlpage.IDTMLPage"
name = "edit.html"
label = "Edit a DTML page"
- permission = "Zope.ManageContent"
+ permission = "zope.ManageContent"
/>
<!-- tabs for DTML Page -->