Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
17a35cb2
Commit
17a35cb2
authored
Jul 29, 2007
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Die, implicit, die
parent
341a2a5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
lib/python/Products/Five/browser/adding.py
lib/python/Products/Five/browser/adding.py
+3
-5
No files found.
lib/python/Products/Five/browser/adding.py
View file @
17a35cb2
...
@@ -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
=
ZopeTwo
PageTemplateFile
(
"adding.pt"
)
index
=
View
PageTemplateFile
(
"adding.pt"
)
def
addingInfo
(
self
):
def
addingInfo
(
self
):
"""Return menu data.
"""Return menu data.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment