<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">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
		<meta metal:define-slot="contextualHeaders" />
		<title metal:define-slot="title">[title]</title>
		<link tal:reroot="href" rel="stylesheet" href="/css/entrouvert.be.css" />
		<link tal:reroot="href" rel="home" href="/" />
		<script metal:use-macro="forms.tal/formScript"></script>
	</head>

	<body>

		<div id="top">
			<!--
			<div class="searchBox">
				<form id="searchForm" tal:attributes="action roleUrl('search', 'go')">
					<input id="search" name="terms" size="20"/>
					<input tal:attr-translate="value" type="submit" class="button" value="Search"/>
				</form>
			</div>
			-->
			<h1><a href="/" tal:reroot="href"><img tal:reroot="src" src="/images/logo-entrouvert.be.png" alt="entrouvert.be" /></a>
			<span tal:condition="virtualHost.hostName[0] != 'entrouvert.be'" tal:content="str(virtualHost)">title</span>
			</h1>
		</div>

		<div class="rule"> <!-- could style <hr> instead ? -->
			&nbsp;
		</div>

		<div id="personalBar" tal:condition="user">
			<a class="button user" tal:condition="user" tal:attributes="href user.getUrl()" tal:content="user">userName</a>
			<span tal:condition="not user" tal:translate="">You are not logged in</span>
			<span metal:use-macro="buttons.tal/preferences" />
			<span metal:use-macro="buttons.tal/admin" />
			<span metal:use-macro="buttons.tal/logout" />
			<span metal:use-macro="buttons.tal/about" />
		</div>

		<div class="rule t20" tal:condition="user">
			&nbsp;
		</div>


		<div id="tabs">
			<div metal:use-macro="nav.tal/aBlockOneLevelAllObjects" />
		</div>

		<!--
			<span metal:use-macro="buttons.tal/gotoObjects" />
			<span metal:use-macro="buttons.tal/newObject" />
		-->

		<div id="leftBar">
			<div class="navBox" tal:define="path [x for x in getPathToObject(currentObject) if hasattr(x, 'serverRole') and x.serverRole == 'rubrics']" tal:condition="path and path[-1].serverRole == 'rubrics' and not currentURI.startswith('/news') and (path[-1] != getMainRubric() or currentObject.serverRole == 'rubrics')">
				<span class="boxTitle" tal:content="((currentObject.serverRole == 'rubrics' and currentObject) or path[-1])">title</span>
				<ul tal:define="rubric (currentObject.serverRole == 'rubrics' and currentObject) or path[-1]">
					<li tal:repeat="item rubric.membersSet" tal:attributes="class (currentObject == item and 'nav-selected') or 'nav-not-selected'"
					> <a tal:attributes="href item.getUrl()" tal:content="item">item</a></li>
				</ul>
			</div>
			
			<div class="navBox" tal:condition="user">
				<span class="boxTitle">Navigation</span>
				<ul metal:use-macro="nav.tal/ulRoles" />
			</div>

			<!--
			<div id="loginBox" tal:condition="not user">
				<span class="boxTitle" tal:translate="">Login</span>
				<form action="/login/submit" method="post">
					<label for="login" tal:translate="">Username</label> <br />
					<input name="login" size="12" type="text" value="" />
					<br />
					<label for="password" tal:translate="">Password</label> <br />
					<input name="password" size="12" type="password" value="" /> <br />
					<input name="nextUri" type="hidden" tal:attributes="value currentURI" />
					<input tal:attr-translate="value" class="button" name="loginButton" type="submit" value="Login" />
				</form>
				<div class="even" tal:condition="not user and canAddObject('people')">
					<span metal:use-macro="buttons.tal/newAccount" />
				</div>
			</div>
			-->
		</div>

		<div id="main-content">

			<div class="pathBar" tal:condition="len(getPathToObject(currentObject)) > 2"
					tal:define="breadCrumbPrefix _('Vous êtes ici: ')">
				<span metal:use-macro="misc.tal/breadCrumb" />
			</div>


			<div metal:define-slot="main">
				C'est ici que viendra le contenu du tag ayant l'attribut metal:fill-slot="main".
			</div>

		</div> <!-- end of main-content -->

		<div class="footer">
			<p>
			  Copyright &copy; 2003 entrouvert.be.
			  Contact: <a href="mailto:info@entrouvert.be">info@entrouvert.be</a>
			</p>

			<p>
			  Entr'ouvert.be est membre du réseau
				<a href="http://www.libre-entreprise.com">Libre-entreprise</a> réunissant les
			  entreprises suivantes:
			  <a href="http://www.codelutin.com">Code Lutin</a>,
				<a href="http://eitic.fr">Eitic</a>,
			  <a href="http://www.easter-eggs.com">Easter-eggs</a>,
				<a href="http://www.entrouvert.com">Entr'ouvert</a>, 
				<a href="http://www.genetux.com">Genetux</a>,
				<a href="http://www.iscream.net">iScream.Net</a>,
				<a href="http://www.net-tn.com">Net-Tn</a>,
				<a href="http://rodolphe.quiedeville.org">Quiédeville</a>
			</p>

		</div> <!-- end of footer -->

	</body>
</html>

