[Zope-Checkins] CVS: Packages/OFS/standard - index_html.dtml:1.1.2.1 standard_error_message.dtml:1.1.2.1 standard_html_footer.dtml:1.1.2.1 standard_html_header.dtml:1.1.2.1 standard_template.pt:1.1.2.1

Evan Simpson evan@zope.com
Mon, 26 Nov 2001 10:44:46 -0500


Update of /cvs-repository/Packages/OFS/standard
In directory cvs.zope.org:/tmp/cvs-serv15627/OFS/standard

Added Files:
      Tag: evan-examples-branch
	index_html.dtml standard_error_message.dtml 
	standard_html_footer.dtml standard_html_header.dtml 
	standard_template.pt 
Log Message:



=== Added File Packages/OFS/standard/index_html.dtml ===
<dtml-var zope_quick_start>


=== Added File Packages/OFS/standard/standard_error_message.dtml ===
<dtml-var standard_html_header>

<dtml-if error_message>
 <dtml-var error_message>
<dtml-else>

  <h2>Site Error</h2>

  <p>An error was encountered while publishing this resource.
  </p>
  
  <p>
  <strong>Error Type: &dtml-error_type;</strong><br />
  <strong>Error Value: &dtml-error_value;</strong><br /> 
  </P>
 
  <hr noshade="noshade" />
 
  <p>Troubleshooting Suggestions</p>

  <ul>
  <dtml-if "error_type in ('KeyError','NameError')">
  <li>This resource may be trying to reference a
  nonexistent object or variable <strong>&dtml-error_value;</strong>.</li>
  </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>
  </ul>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>

  <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>


=== Added File Packages/OFS/standard/standard_html_footer.dtml ===
  </body>
</html>


=== Added File Packages/OFS/standard/standard_html_header.dtml ===
<html>
  <head><title>&dtml-title_or_id;</title></head>
  <body bgcolor="#FFFFFF">

=== Added File Packages/OFS/standard/standard_template.pt ===
<html metal:define-macro="page">
  <head>
   <metal:block define-slot="head">
   <title tal:content="template/title">The Title</title>
   </metal:block>
  </head>
  <body> 
    <div metal:define-slot="body">
    This is where the page's body text goes.
    </div>
  </body>
</html>