<html
    tal:define="mangle python:modules['Products'].Silva.mangle;">
  <head>
    <link rel="stylesheet" tal:attributes="href here/globals/silva.css/absolute_url | nothing " />
    <title>Who are you?</title>
  </head>

  <body>

    <div tal:condition="python:options.has_key('message_type')">
      <div class="feedback" tal:condition="python:options['message_type'] == 'feedback'">
        <span tal:replace="structure python:options['message']" />&nbsp;&nbsp;(<span tal:replace="python:mangle.Now().toStr()">datetime</span>)
      </div>

      <div class="feedback" tal:condition="python:options['message_type'] == 'error'">
        <span class="error" tal:content="structure python:options['message']" />
      </div>
    </div>

    <div>
      <h2>System problem</h2>
      <p>Something went wrong. If you're testing, the information below is important. <br />
        <span class="error">Please note what you were doing when this error occured.</span></p>
        <p>In any case, you can use your back button to return to the previous page.</p>
        <p>Sorry for the irritation.</p>

        <hr class="netscape4" size="" />
        <h4>Error Type: <span class="error" tal:content="structure options/error_type|string:unknown">error_type</span></h4>
        <h4>Error Value: <span class="error" tal:content="structure options/error_value|string:unknown"></span></h4>

        <h4>Zope reported an error for:</h4>
        Path: <span class="error" tal:content="request/PATH_INFO|string:unknown">error</span> <br />
        URL: <span class="error" tal:content="request/SERVER_URL|string:unknown" /><span class="error" tal:content="request/PATH_INFO|string:unknown" /><span tal:replace="request/QUERY_STRING|string:unknown" />
        <br />

        <h4>Client:</h4>
        Browser: <span class="error" tal:content="request/HTTP_USER_AGENT|string:unknown">error</span><br />
        Remote address: <span class="error" tal:content="request/REMOTE_ADDR|string:unknown">error</span><br />
        Remote identity: <span class="error" tal:content="request/REMOTE_IDENT|string:unknown">error</span><br />

        <h4>Linked from:</h4>
        <span class="error" tal:content="request/HTTP_REFERER|string:unknown">error</span>
        <br />

        <hr class="netscape4" size="" />
    </div>
  </body>
</html>
