[Zope-Checkins] SVN: Zope/branches/2.10/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:24 EDT 2006


Log message for revision 68666:
  Collector #2133: standard_error_messages are out of sync.
  

Changed:
  U   Zope/branches/2.10/lib/python/ZPublisher/HTTPResponse.py

-=-
Modified: Zope/branches/2.10/lib/python/ZPublisher/HTTPResponse.py
===================================================================
--- Zope/branches/2.10/lib/python/ZPublisher/HTTPResponse.py	2006-06-15 18:04:52 UTC (rev 68665)
+++ Zope/branches/2.10/lib/python/ZPublisher/HTTPResponse.py	2006-06-15 18:05:20 UTC (rev 68666)
@@ -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">
-&nbsp;
-</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