[Zope-Checkins] SVN: Zope/branches/2.9/ Collector #2133: standard_error_messages are out of sync.

Stefan H. Holek cvs-admin at zope.org
Thu Jun 15 14:04:55 EDT 2006


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

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  U   Zope/branches/2.9/lib/python/ZPublisher/HTTPResponse.py

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt	2006-06-15 17:54:38 UTC (rev 68664)
+++ Zope/branches/2.9/doc/CHANGES.txt	2006-06-15 18:04:52 UTC (rev 68665)
@@ -18,6 +18,8 @@
 
    Bugs fixed
 
+      - Collector #2133: standard_error_messages are out of sync.
+
       - Updated Five to bugfix release 1.3.6.
 
       - Collector #2116: sequence.sort() did not work properly

Modified: Zope/branches/2.9/lib/python/ZPublisher/HTTPResponse.py
===================================================================
--- Zope/branches/2.9/lib/python/ZPublisher/HTTPResponse.py	2006-06-15 17:54:38 UTC (rev 68664)
+++ Zope/branches/2.9/lib/python/ZPublisher/HTTPResponse.py	2006-06-15 18:04:52 UTC (rev 68665)
@@ -611,18 +611,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) + \
@@ -639,14 +630,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