;;; This file contains the main canevas of each pages.
;;; License GPL.
;;; Authors: Arnaud Legrand, Martin Quinson

;;; You should define the tag <my-email> somewhere, because it's used here.
;;; For example, I've put the following in my customization.wml:
;;;  <define-tag my-email>Martin.Quinson@ens-lyon.fr</define-tag>

;;; You don't even have to load this file using a #include line, because
;;; banner do it for you.

;;; It defines the canevas of the file, saying we should put the html headers
;;; at the begining, then the <body> tag, then the header of the page, then
;;; the menu, then the real content, then.... You've got it. It's at the very
;;; end of this file.

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Canevas of a HTML page.
;;;  See the introduction to this file at the begining

;;; Cookies, and so on...
{#PRE_HTML#}
;;; Doctype
{#DOCTYPE#}
;;; La page html
{#TAG_HTML#}

{#TAG_HTML!#:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
{#INTAG_HTML#}
</html>

;;; 
{#PRE_HTML!#:
{#PHP_HEADER#}
{#PERL_DEF#}
{#PHP_DEF#}

{#DOCTYPE!#:
;;;<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
;;;<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">

;;; La page html
{#INTAG_HTML!#:
{#TAG_HEAD#}
{#TAG_BODY#}

{#TAG_HEAD!#:
<head>
{#INTAG_HEAD#}
</head>

{#INTAG_HEAD!#:
{#STYLE#}
{#META#}
{#TAG_TITLE#}

{#STYLE!#:
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
   <link rel="stylesheet" href="stylesheet.css" type="text/css"/>

{#TAG_TITLE!#:
<title>
{#INTAG_TITLE#}
</title>

{#INTAG_TITLE!#:
Empty location INTAG_TITLE

{#TAG_BODY!#:
<body>
{#HEADER#}
{#BODY#}
{#FOOTER#}
</body>

{#HEADER!#:
<div class="header">
{#IN_HEADER#}
</div>

{#FOOTER!#:
<div class="footer">
{#IN_FOOTER#}
</div>

{#BODY#:
<div class="body">
{#IN_BODY#}
</div>

{#IN_BODY#: