Commit 9e3588cc authored by Jim Fulton's avatar Jim Fulton

De-Zopified standard error messages.

parent c616e43e
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.142 2001/03/01 15:22:22 brian Exp $''' $Id: Application.py,v 1.143 2001/04/07 16:37:07 jim Exp $'''
__version__='$Revision: 1.142 $'[11:-2] __version__='$Revision: 1.143 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
import time, traceback, os, string, Products import time, traceback, os, string, Products
...@@ -113,16 +113,9 @@ _standard_error_msg='''\ ...@@ -113,16 +113,9 @@ _standard_error_msg='''\
<dtml-var error_message> <dtml-var error_message>
<dtml-else> <dtml-else>
<TABLE BORDER="0" WIDTH="100%"> <H2>Site Error</H2>
<TR VALIGN="TOP">
<TD WIDTH="10%" ALIGN="CENTER"> <P>An error was encountered while publishing this resource.
<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> </P>
<P> <P>
...@@ -141,7 +134,8 @@ _standard_error_msg='''\ ...@@ -141,7 +134,8 @@ _standard_error_msg='''\
</dtml-if> </dtml-if>
<LI>The URL may be incorrect.</LI> <LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource 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> </UL>
<P>For more detailed information about the error, please <P>For more detailed information about the error, please
...@@ -151,13 +145,11 @@ _standard_error_msg='''\ ...@@ -151,13 +145,11 @@ _standard_error_msg='''\
<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>
<dtml-comment> <dtml-comment>
Here, events like logging and other actions may also be performed, such as Here, events like logging and other actions may also be performed, such as
sending mail automatically to the administrator. sending mail automatically to the administrator.
</dtml-comment> </dtml-comment>
</dtml-if> </dtml-if>
<dtml-var standard_html_footer>''' <dtml-var standard_html_footer>'''
......
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