]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/generic/standard_error_message.pt
Déplacement pour eggification.
[Plinn.git] / skins / generic / standard_error_message.pt
diff --git a/skins/generic/standard_error_message.pt b/skins/generic/standard_error_message.pt
deleted file mode 100644 (file)
index b64b641..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<html xmlns:tal="http://xml.zope.org/namespaces/tal"
-      xmlns:metal="http://xml.zope.org/namespaces/metal"
-      metal:use-macro="here/main_template/macros/master">
-  <head>
-    <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
-  </head>
-<body>
-<div metal:fill-slot="main" i18n:domain="plinn">
-<div class="Desktop">
-
-
-<div tal:condition="options/error_message"
-     tal:content="structure options/error_message" />
-
-<div tal:condition="not: options/error_message">
-  <h2 i18n:translate="">Site Error</h2>
-
-  <p i18n:translate="">An error was encountered while publishing this
-   resource.</p>
-
-  <p>
-    <strong i18n:translate="">Error Type:
-      <span tal:replace="options/error_type" i18n:name="error_type" />
-    </strong>
-    <br />
-    <strong i18n:translate="">Error Value:
-      <span tal:replace="options/error_value" i18n:name="error_value" />
-    </strong>
-    <br />
-  </p>
-
-  <hr noshade />
-
-  <p i18n:translate="">Troubleshooting Suggestions</p>
-
-  <ul>
-  <div tal:condition="python: options['error_type'] in ('KeyError'
-                                                       ,'NameError')">
-  <li i18n:translate="">This resource may be trying to reference a
-      nonexistent object or variable
-      <strong><span tal:replace="options/error_value"
-                    i18n:name="error_value" /></strong>.</li>
-  </div>
-  <li i18n:translate="">The URL may be incorrect.</li>
-  <li i18n:translate="">The parameters passed to this resource may be
-    incorrect.</li>
-  <li i18n:translate="">A resource that this resource relies on may be
-    encountering an error.</li>
-  </ul>
-
-  <p i18n:translate="">For more detailed information about the error, please
-  refer to the HTML source for this page.
-  </p>
-
-  <p i18n:translate="">If the error persists please contact the site
-    maintainer. Thank you for your patience.
-  </p>
-
-</div>
-
-<div tal:condition="python:mtool.checkPermission('Log Site Errors', portal_object)" tal:omit-tag="">
-<div tal:condition="options/error_log_url | nothing">
-  <hr noshade />
-  <a href="error_log_url" tal:attributes="href options/error_log_url"
-     i18n:translate="">
-    Show Error Log Entry
-  </a>
-</div>
-</div>
-</div>
-</div>
-</body>
-</html>