[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser - ZPTPageEval.py:1.4 configure.zcml:1.11
Steve Alexander
steve@cat-box.net
Tue, 12 Nov 2002 12:30:10 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv28634/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser
Modified Files:
ZPTPageEval.py configure.zcml
Log Message:
tidied up formatting. removed extraneous imports.
=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/ZPTPageEval.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/ZPTPageEval.py:1.3 Tue Jun 18 10:47:03 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/ZPTPageEval.py Tue Nov 12 12:30:09 2002
@@ -17,7 +17,6 @@
"""
from Zope.Publisher.Browser.BrowserView import BrowserView
-from Zope.Proxy.ContextWrapper import getWrapperContainer
class ZPTPageEval(BrowserView):
=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/configure.zcml 1.10 => 1.11 ===
--- Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/configure.zcml:1.10 Mon Nov 11 16:11:16 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/Views/Browser/configure.zcml Tue Nov 12 12:30:09 2002
@@ -2,7 +2,8 @@
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">
+ package="Zope.App.OFS.Content.ZPTPage"
+>
<!-- ZPT Page View Directives -->
@@ -20,10 +21,10 @@
</browser:view>
<form:edit
- schema = ".ZPTPage.IZPTPage."
- name = "edit.html"
- label = "Edit a ZPT page"
- permission = "Zope.ManageContent"
+ schema=".ZPTPage.IZPTPage."
+ name="edit.html"
+ label="Edit a ZPT page"
+ permission="Zope.ManageContent"
/>
<!-- tabs for ZPT Page -->
@@ -36,7 +37,8 @@
<browser:icon name="zmi_icon" for=".ZPTPage.IZPTPage." file="zpt.gif" />
-<browser:menuItem menu="add_content"
+<browser:menuItem
+ menu="add_content"
for="Zope.App.OFS.Container.IAdding."
title="Zope Page Template Page" action="ZPTPage"
description="An object for dynamic content based on Page Templates." />