Commit 9d7144fd authored by Stefan H. Holek's avatar Stefan H. Holek

Collector #2133: standard_error_messages are out of sync.

parent 9c91edba
...@@ -18,6 +18,8 @@ Zope Changes ...@@ -18,6 +18,8 @@ Zope Changes
Bugs fixed Bugs fixed
- Collector #2133: standard_error_messages are out of sync.
- Updated Five to bugfix release 1.3.6. - Updated Five to bugfix release 1.3.6.
- Collector #2116: sequence.sort() did not work properly - Collector #2116: sequence.sort() did not work properly
......
...@@ -611,18 +611,9 @@ class HTTPResponse(BaseResponse): ...@@ -611,18 +611,9 @@ class HTTPResponse(BaseResponse):
def _error_html(self,title,body): def _error_html(self,title,body):
# XXX could this try to use standard_error_message somehow? # XXX could this try to use standard_error_message somehow?
return ("""\ return ("""\
<table border="0" width="100%">
<tr valign="top">
<td width="10%" align="center">
&nbsp;
</td>
<td width="90%">
<h2>Site Error</h2> <h2>Site Error</h2>
<p>An error was encountered while publishing this resource. <p>An error was encountered while publishing this resource.
</p>""" + \ </p>
"""
<p><strong>%s</strong></p> <p><strong>%s</strong></p>
%s""" %(title,body) + \ %s""" %(title,body) + \
...@@ -639,14 +630,12 @@ class HTTPResponse(BaseResponse): ...@@ -639,14 +630,12 @@ class HTTPResponse(BaseResponse):
</ul> </ul>
<p>For more detailed information about the error, please <p>For more detailed information about the error, please
refer to error log. refer to the error log.
</p> </p>
<p>If the error persists please contact the site maintainer. <p>If the error persists please contact the site maintainer.
Thank you for your patience. Thank you for your patience.
</p> </p>""")
</td></tr>
</table>""")
def notFoundError(self,entry='Unknown'): def notFoundError(self,entry='Unknown'):
......
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