[Zope3-checkins] CVS: Zope3/src/zope/app/folder/browser -
__init__.py:1.1.2.1 configure.zcml:1.1.2.1 folder.py:1.1.2.1
folder_icon.gif:1.1.2.1
Philipp von Weitershausen
philikon at philikon.de
Fri Feb 20 14:37:51 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/folder/browser
In directory cvs.zope.org:/tmp/cvs-serv20744/folder/browser
Added Files:
Tag: philikon-movecontent-branch
__init__.py configure.zcml folder.py folder_icon.gif
Log Message:
Combined all folder stuff in zope.app.folder.
=== Added File Zope3/src/zope/app/folder/browser/__init__.py ===
#
# This file is necessary to make this directory a package.
=== Added File Zope3/src/zope/app/folder/browser/configure.zcml ===
<configure
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'
xmlns:fssync='http://namespaces.zope.org/fssync'
i18n_domain='zope'
>
<browser:icon
name="zmi_icon"
for="zope.app.folder.interfaces.IFolder"
file="folder_icon.gif"
/>
<browser:addMenuItem
class="zope.app.folder.Folder"
title="Folder"
permission="zope.ManageContent"
/>
<browser:page
name="contents.html"
menu="zmi_views" title="Contents"
for="zope.app.folder.interfaces.IFolder"
permission="zope.ManageContent"
class="zope.app.browser.container.contents.Contents"
attribute="contents"
/>
<browser:page
name="index.html"
for="zope.app.folder.interfaces.IFolder"
permission="zope.View"
class="zope.app.browser.container.contents.Contents"
attribute="index"
/>
<!--browser:page
for="zope.app.folder.interfaces.IFolder"
name="preview.html"
menu="zmi_views" title="Preview"
template="preview.pt"
permission="zope.ManageContent"
/-->
</configure>
=== Added File Zope3/src/zope/app/folder/browser/folder.py ===
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Folder-specific view classes
$Id: folder.py,v 1.1.2.1 2004/02/20 19:37:50 philikon Exp $
"""
from zope.interface import implements
from zope.app.browser.container.adding import Adding
from zope.app.folder.interfaces import IFolderAdding
#XXX this is currently not used
class FolderAdding(Adding):
implements(IFolderAdding)
=== Added File Zope3/src/zope/app/folder/browser/folder_icon.gif ===
<Binary-ish file>
More information about the Zope3-Checkins
mailing list