<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/glasnost.css" />
		<link tal:reroot="href" rel="home" href="/" />
		<script metal:use-macro="forms.tal/formScript"></script>
	</head>

	<body>

		<h1 id="logo">Glasnost</h1>

		<ul id="nav" tal:define="mR getMainRubric()">
			<li><strong><a tal:attributes="href rootUrl()" tal:translate="">Home</a></strong></li>
			<li tal:condition="mR and mR.membersSet" tal:repeat="r mR.membersSet or []"><strong tal:condition="r.serverRole == 'rubrics'" tal:content="r.label">label</strong><strong tal:condition="r.serverRole != 'rubrics'"><a tal:attributes="href r.getUrl()" tal:content="r.label">label</a></strong>
				<ul tal:condition="r.serverRole == 'rubrics' and r.membersSet">
					<li tal:repeat="r2 r.membersSet"><a tal:attributes="href r2.getUrl()" tal:content="r2.label">label item</a></li>
				</ul></li>
		</ul>

		<div id="commands" tal:condition="userToken">
			<div class="dropdown"><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"><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="main-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">
			<span metal:use-macro="buttons.tal/preferences"></span>
			<span metal:use-macro="buttons.tal/admin"></span>
			<span metal:use-macro="buttons.tal/logout"></span>
			<span metal:use-macro="buttons.tal/newAccount"></span>
			<span metal:use-macro="buttons.tal/login"></span>
		</div>
	</body>
</html>

