<metal:block define-macro="pre"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
</metal:block>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:define-macro="master">

<!--
Copyright &copy; 2002, 2003 Code Lutin
http://www.codelutin.com
-->

  <head>
    <title>Code Lutin</title>
    <!-- Created by: POUSSIN Benjamin, 30-Jul-2002 -->
    <!-- Changed by: POUSSIN Benjamin, 17-Jan-2003 -->
    <!-- Changed by: Benjamin Poussin, 10-Jun-2003 -->

    <link rel="stylesheet" href="/css/default.css" tal:reroot="href" />
    <link rel="stylesheet" href="/css/banquise.css" tal:reroot="href" />
    <link rel="stylesheet" href="/css/codelutin.org.css" tal:reroot="href" />
    <link rel="home" href="/" tal:reroot="href" />

    <script src="/javascript/tooltips.js" tal:reroot="src" type="text/javascript"></script>
    <script metal:use-macro="forms.tal/formScript"></script>
  </head>
  <body tal:define="treemenu loadExtension('treemenu')">

  <!-- Banquise -->
  <div metal:use-macro="banquise.tal/banquise" />

  <div id="zonetitle">
    <a href="http://www.codelutin.com/">
      <img tal:reroot="src" src="/images/lutin-title.png"
	   alt="CodeLutin.org"
	   width=443 height=95 hspace=4 vspace=6 align="bottom" border=0>
    </a>
  </div>

  <span id="zonemenu">
 
    <div class="menu">
      <ul tal:define="sub getMainRubric()" tal:condition="sub">
	<li metal:use-macro="macro.tal/treemenu"/>
      </ul>
      
      <!-- rubric de l'utilisateur logge -->
      <ul tal:on-error="nothing" tal:condition="user">
        <li class="menu-open">
          <a class="menu-label" tal:attributes="href url(user.login)" 
             tal:content="user.login"/>
          <ul tal:define="sub GlasnostObject(getWebForServerRole('pagenames').getIdByName(user.login))"
               tal:condition="sub">
            <li metal:use-macro="macro.tal/treemenu"/>
          </ul>
        </li>
      </ul>

      <ul>
        <li class="menu-open">
          <span class="menu-label">Serveur</span>
          <ul metal:use-macro="macro.tal/serverRolesMenu"></ul>
        </li>

        <li class="menu-leaf" tal:condition="not user">
          <a class="menu-label" href="/login">S'identifier</a>
        </li>

        <li class="menu-leaf" tal:condition="user">
          <a class="menu-label" href="/preferences">Préférence</a>
        </li>
        <li class="menu-leaf" tal:condition="user">
	  <a class="menu-label" href="/admin">Réglage</a>
        </li>
        <li class="menu-leaf" tal:condition="user">
          <a class="menu-label" href="/login/logout">Sortir</a>
        </li>
      </ul>
    </div> <!-- treemenu -->
  </span> <!-- zone menu -->


  <span id="zonecontent">
    <div  metal:define-slot="main">
      C'est ici que viendra le contenu du tag ayant l'attribu
    </div>
  </span> <!-- zone content -->

  <div id="zonefooter">
    <center>
&nbsp;<br/>
<hr width="50%" />
<small><font color="#315177">
Copyright&nbsp;&copy;&nbsp;2001-2002-2003&nbsp;Code&nbsp;Lutin
&amp;&nbsp;Th&eacute;ridion
&amp;&nbsp;Easter-eggs<br/>

&nbsp;<br/>

2&nbsp;rue&nbsp;Robert&nbsp;le&nbsp;Ricolais<br/>
T&eacute;l.:&nbsp;+33&nbsp;(0)2&nbsp;40&nbsp;50&nbsp;29&nbsp;28<br/>
e-mail:
<a href="mailto:info@codelutin.com">info@codelutin.com</a>
</font></small></center>
  </div> <!-- zone footer -->

  <p metal:use-macro="misc.tal/poweredBy" />
  </body>
</html>
