[Zope-Checkins] CVS: Zope2 - Application.py:1.135.12.8

Jim Fulton jim@digicool.com
Sat, 7 Apr 2001 12:33:53 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/OFS
In directory korak:/tmp/cvs-serv12526

Modified Files:
      Tag: zope-2_3-branch
	Application.py 
Log Message:
De-Zopified standard error messages.



--- Updated File Application.py in package Zope2 --
--- Application.py	2001/03/01 15:22:03	1.135.12.7
+++ Application.py	2001/04/07 16:33:51	1.135.12.8
@@ -113,16 +113,9 @@
  <dtml-var error_message>
 <dtml-else>
 
-<TABLE BORDER="0" WIDTH="100%">
-<TR VALIGN="TOP">
+  <H2>Site Error</H2>
 
-<TD WIDTH="10%" ALIGN="CENTER">
-<IMG SRC="<dtml-var BASE1>/p_/ZButton" ALT="Zope">
-</TD>
-
-<TD WIDTH="90%">
-  <H2>Zope Error</H2>
-  <P>Zope has encountered an error while publishing this resource.
+  <P>An error was encountered while publishing this resource.
   </P>
   
   <P>
@@ -141,7 +134,8 @@
   </dtml-if>
   <LI>The URL may be incorrect.</LI>
   <LI>The parameters passed to this resource may be incorrect.</LI>
-  <LI>A resource that this resource relies on may be encountering an error.</LI>
+  <LI>A resource that this resource relies on may be encountering
+      an error.</LI>
   </UL>
 
   <P>For more detailed information about the error, please
@@ -151,13 +145,11 @@
   <P>If the error persists please contact the site maintainer.
   Thank you for your patience.
   </P>
-</TD></TR>
-</TABLE>
 
-<dtml-comment>
- Here, events like logging and other actions may also be performed, such as
- sending mail automatically to the administrator.
-</dtml-comment>
+  <dtml-comment>
+   Here, events like logging and other actions may also be performed, such as
+   sending mail automatically to the administrator.
+  </dtml-comment>
 
 </dtml-if>
 <dtml-var standard_html_footer>'''