[Zope-Checkins]
SVN: Zope/trunk/lib/python/ZPublisher/HTTPResponse.py
Collector #2133: standard_error_messages are out of sync.
Stefan H. Holek
cvs-admin at zope.org
Thu Jun 15 14:05:59 EDT 2006
Log message for revision 68667:
Collector #2133: standard_error_messages are out of sync.
Changed:
U Zope/trunk/lib/python/ZPublisher/HTTPResponse.py
-=-
Modified: Zope/trunk/lib/python/ZPublisher/HTTPResponse.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/HTTPResponse.py 2006-06-15 18:05:20 UTC (rev 68666)
+++ Zope/trunk/lib/python/ZPublisher/HTTPResponse.py 2006-06-15 18:05:55 UTC (rev 68667)
@@ -626,18 +626,9 @@
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 @@
</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'):
More information about the Zope-Checkins
mailing list