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
6c476cdd
Commit
6c476cdd
authored
Jun 15, 2006
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #2133: standard_error_messages are out of sync.
parent
4a6253c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
lib/python/ZPublisher/HTTPResponse.py
lib/python/ZPublisher/HTTPResponse.py
+3
-14
No files found.
lib/python/ZPublisher/HTTPResponse.py
View file @
6c476cdd
...
...
@@ -626,18 +626,9 @@ class HTTPResponse(BaseResponse):
def
_error_html
(
self
,
title
,
body
):
# XXX could this try to use standard_error_message somehow?
return
(
"""
\
<table border="0" width="100%">
<tr valign="top">
<td width="10%" align="center">
</td>
<td width="90%">
<h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>"""
+
\
"""
</p>
<p><strong>%s</strong></p>
%s"""
%
(
title
,
body
)
+
\
...
...
@@ -654,14 +645,12 @@ class HTTPResponse(BaseResponse):
</ul>
<p>For more detailed information about the error, please
refer to error log.
refer to
the
error log.
</p>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
</td></tr>
</table>"""
)
</p>"""
)
def
notFoundError
(
self
,
entry
=
'Unknown'
):
...
...
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