<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="home" href="/" />
	<link rel="stylesheet" tal:reroot="href" href="/css/lasso.css" type="text/css" media="screen" />
	<link rel="stylesheet" tal:condition="userToken" tal:reroot="href" href="/css/glasnost-dropdown.css" type="text/css" media="screen" />
	<link rel="stylesheet" tal:reroot="href" href="/css/without-inline-help.css" type="text/css" media="screen" title="Without Inline Help" tal:attr-translate="title"/>
	<link rel="alternate stylesheet" tal:reroot="href" href="/css/with-inline-help.css" type="text/css" media="screen" title="With Inline Help" tal:attr-translate="title"/>
	<script metal:use-macro="forms.tal/formScript"></script>
</head>

<body>

<div id="logo">
<img src="/images/lasso.png" width="233" height="66" 
alt="Lasso (Liberty Alliance Single Sign On)"
title="Lasso (Liberty Alliance Single Sign On)" />
</div>

<div id="search">
	<form method="get" tal:attributes="action roleUrl('search', 'go')">
	<input type="text" size="20" name="terms" value=" Rechercher"
	onfocus="if (this.value==' Rechercher') this.value=''" />
	</form>
</div>


<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">
	<div id="content">

	<div id="path" tal:condition="currentObject" tal:define="mR getMainRubric()" tal:on-error="nothing">
		<span tal:define="objectPath getPathToObject(currentObject)" tal:condition="objectPath">
			<span tal:omit-tag="" tal:repeat="o objectPath">
				<span tal:omit-tag="" tal:condition="o == mR" tal:on-error="nothing">
					<a tal:attributes="href rootUrl()" tal:translate="">Home</a>
					<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
				</span>
				<span tal:omit-tag="" tal:condition="o != mR" tal:on-error="nothing">
					<a tal:attributes="href o.getUrl()" tal:content="o.label">breadCrumb</a>
					<img tal:reroot="src" src="/images/right.png" width="19" height="6" alt=" - " />
				</span>
			</span>
			<span tal:condition="currentObject" tal:replace="currentObject.label">courant</span>
		</span>
	</div>

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

	<div id="bar">
		<span tal:condition="not userToken" metal:use-macro="buttons.tal/login"></span>
		<span tal:condition="userToken" metal:use-macro="buttons.tal/admin"></span>
		<span tal:condition="userToken" metal:use-macro="buttons.tal/logout"></span>
	</div>
</div>

<div id="navigation">
	<ul metal:define-macro="ulTwoLevelsAllObjects"
		tal:define="mR getMainRubric()" tal:condition="mR and mR.membersSet">
		<li><a tal:attributes="href rootUrl()" tal:translate="">Home</a></li>
		<li tal:repeat="r mR.membersSet">
			<a tal:content="r" tal:attributes="href r.getUrl()">Heading</a>
			<ul tal:on-error="nothing" tal:condition="(r.serverRole != 'articles') and (r.membersSet)">
				<li tal:repeat="r2 r.membersSet" tal:condition="(r2.serverRole != 'articles')">
					<a tal:content="r2.label" tal:attributes="href r2.getUrl()">subheading</a>
				</li>
			</ul>
		</li>
	</ul>
</div>

</body>
</html>
