Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9e3588cc
Commit
9e3588cc
authored
Apr 07, 2001
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
De-Zopified standard error messages.
parent
c616e43e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
18 deletions
+10
-18
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+10
-18
No files found.
lib/python/OFS/Application.py
View file @
9e3588cc
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.14
2 2001/03/01 15:22:22 brian
Exp $'''
__version__
=
'$Revision: 1.14
2
$'
[
11
:
-
2
]
$Id: Application.py,v 1.14
3 2001/04/07 16:37:07 jim
Exp $'''
__version__
=
'$Revision: 1.14
3
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -113,16 +113,9 @@ _standard_error_msg='''\
<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 @@ _standard_error_msg='''\
</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 @@ _standard_error_msg='''\
<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>'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment