Ajout classe .std-focusbox.
[Plinn.git] / skins / generic / standard_error_message.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 metal:use-macro="here/main_template/macros/master">
4 <head>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
6 </head>
7 <body>
8 <div metal:fill-slot="main" i18n:domain="cmf_default">
9 <div class="Desktop">
10
11
12 <div tal:condition="options/error_message"
13 tal:content="structure options/error_message" />
14
15 <div tal:condition="not: options/error_message">
16 <h2 i18n:translate="">Site Error</h2>
17
18 <p i18n:translate="">An error was encountered while publishing this
19 resource.</p>
20
21 <p>
22 <strong i18n:translate="">Error Type:
23 <span tal:replace="options/error_type" i18n:name="error_type" />
24 </strong>
25 <br />
26 <strong i18n:translate="">Error Value:
27 <span tal:replace="options/error_value" i18n:name="error_value" />
28 </strong>
29 <br />
30 </p>
31
32 <hr noshade />
33
34 <p i18n:translate="">Troubleshooting Suggestions</p>
35
36 <ul>
37 <div tal:condition="python: options['error_type'] in ('KeyError'
38 ,'NameError')">
39 <li i18n:translate="">This resource may be trying to reference a
40 nonexistent object or variable
41 <strong><span tal:replace="options/error_value"
42 i18n:name="error_value" /></strong>.</li>
43 </div>
44 <li i18n:translate="">The URL may be incorrect.</li>
45 <li i18n:translate="">The parameters passed to this resource may be
46 incorrect.</li>
47 <li i18n:translate="">A resource that this resource relies on may be
48 encountering an error.</li>
49 </ul>
50
51 <p i18n:translate="">For more detailed information about the error, please
52 refer to the HTML source for this page.
53 </p>
54
55 <p i18n:translate="">If the error persists please contact the site
56 maintainer. Thank you for your patience.
57 </p>
58
59 </div>
60
61 <div tal:condition="python:mtool.checkPermission('Log Site Errors', portal_object)" tal:omit-tag="">
62 <div tal:condition="options/error_log_url | nothing">
63 <hr noshade />
64 <a href="error_log_url" tal:attributes="href options/error_log_url"
65 i18n:translate="">
66 Show Error Log Entry
67 </a>
68 </div>
69 </div>
70 </div>
71 </div>
72 </body>
73 </html>