[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image - configure.zcml:1.1 image.zcml:NONE
Steve Alexander
steve@cat-box.net
Mon, 17 Jun 2002 15:33:59 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image
In directory cvs.zope.org:/tmp/cvs-serv8164/lib/python/Zope/App/OFS/Content/Image
Added Files:
configure.zcml
Removed Files:
image.zcml
Log Message:
changed foo-meta.zcml in tests to meta.zcml
changed zcml filenames to configure.zcml where feasible, and removed
the file attribute of include directives where I could.
=== Added File Zope3/lib/python/Zope/App/OFS/Content/Image/configure.zcml ===
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:security='http://namespaces.zope.org/security'
xmlns:zmi='http://namespaces.zope.org/zmi'
xmlns:browser='http://namespaces.zope.org/browser'
>
<security:permission id="Zope.AddImages" title="Add Images" />
<content class=".Image.">
<zmi:factory
id="Image"
permission="Zope.ManageContent"
title="Image"
description="An Image" />
<security:require
permission="Zope.View"
interface="Zope.App.OFS.Content.File.IFile.IReadFile" />
<security:require
permission="Zope.View"
interface=".Image.IImage" />
<security:require
permission="Zope.ManageContent"
interface="Zope.App.OFS.Content.File.IFile.IWriteFile" />
</content>
<adapter
factory="Zope.App.OFS.Annotation.AttributeAnnotations."
provides="Zope.App.OFS.Annotation.IAnnotations."
for=".Image." />
<!-- tabs for image -->
<zmi:tabs for=".Image.IImage.">
<zmi:tab label="Edit" action="editForm.html"/>
<zmi:tab label="View" action="."/>
<zmi:tab label="Role Permissions"
action="AllRolePermissions.html"/>
</zmi:tabs>
<zmi:icon for=".Image.IImage." file="Image_icon.gif" />
<!-- Further Directives -->
<include package=".Views" />
</zopeConfigure>
=== Removed File Zope3/lib/python/Zope/App/OFS/Content/Image/image.zcml ===