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

	<body>

		<h1 id="header" tal:content="str(virtualHost)">Site title</h1>

		<ul id="navigation" tal:define="mR getMainRubric()">
			<li><a tal:attributes="href rootUrl()" tal:translate="">Home</a></li>
			<li tal:condition="mR and mR.membersSet" tal:repeat="r mR.membersSet"><a tal:attributes="href r.getUrl()" tal:content="r.label">label</a></li>
		</ul>

		<div id="commands">
			<span metal:use-macro="buttons.tal/login"></span>
			<span metal:use-macro="buttons.tal/newAccount"></span>
			<span metal:use-macro="buttons.tal/logout"></span>
			<span metal:use-macro="buttons.tal/preferences"></span>
			<div class="dropdown" tal:condition="userToken"><span tal:translate="">Go</span>
				<ul>
					<li tal:repeat="labelAndLink getGotoObjectsLabelsAndLinks()"><a tal:attributes="href labelAndLink[1]" tal:content="labelAndLink[0]">role</a></li>
				</ul>
			</div>

			<div class="dropdown" tal:condition="userToken"><span tal:translate="">Add</span>
				<ul>
					<li tal:repeat="labelAndLink getNewObjectLabelsAndLinks()"><a tal:attributes="href labelAndLink[1]" tal:content="labelAndLink[0]">role</a></li>
				</ul>
			</div>
		</div>
			
		<div id="content">
			<div metal:define-slot="main">
				C'est ici que viendra le contenu du tag ayant l'attribut metal:fill-slot="main".
			</div>
			<div style="clear: both"></div>
		</div>

		<div id="footer">
			<a href="http://glasnost.entrouvert.org">Glasnost</a>
		</div>
	</body>
</html>

