Die, implicit, die

parent 341a2a5a
...@@ -35,15 +35,13 @@ from zope.app.container.interfaces import IContainerNamesContainer ...@@ -35,15 +35,13 @@ from zope.app.container.interfaces import IContainerNamesContainer
from zope.app.container.constraints import checkFactory, checkObject from zope.app.container.constraints import checkFactory, checkObject
from zope.app.publisher.browser.menu import getMenu from zope.app.publisher.browser.menu import getMenu
from Acquisition import Implicit
from zExceptions import BadRequest from zExceptions import BadRequest
from OFS.SimpleItem import SimpleItem from OFS.SimpleItem import SimpleItem
from Products.Five import BrowserView from Products.Five import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile class BasicAdding(BrowserView):
class BasicAdding(Implicit, BrowserView):
implements(IAdding, IPublishTraverse) implements(IAdding, IPublishTraverse)
def add(self, content): def add(self, content):
...@@ -164,7 +162,7 @@ class BasicAdding(Implicit, BrowserView): ...@@ -164,7 +162,7 @@ class BasicAdding(Implicit, BrowserView):
class Adding(BasicAdding): class Adding(BasicAdding):
menu_id = None menu_id = None
index = ZopeTwoPageTemplateFile("adding.pt") index = ViewPageTemplateFile("adding.pt")
def addingInfo(self): def addingInfo(self):
"""Return menu data. """Return menu data.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment