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

<body>

<div id="glasnost">
	<h1 title="Glasnost"><img tal:reroot="src" src="/images/glasnost.png" alt="Glasnost" /></h1>
</div>

<div id="commands">
	<div tal:condition="not userToken">
		<h1>demo</h1>
	</div>
	<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>

<a name="top"></a>

<div id="main">

	<div id="content-top">
		<div id="search">
			<form method="get" tal:attributes="action roleUrl('search', 'go')">
			<span tal:translate="">Search</span>
			<input type="text" size="20" name="terms" />
			</form>
		</div>

		<div><!--<a id="search-help"
		href="" tal:attr-translate="title" title="Search Help">?</a>-->
		&nbsp;</div>
	</div>

	<div id="content">

		<div id="path" tal:condition="fileName.startswith('index') or currentObject">
			<span tal:define="objectPath getPathToObject(currentObject)" tal:condition="objectPath" >
				<span tal:condition="currentObject" tal:omit-tag="" tal:repeat="o objectPath">
					<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 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>
	<div id="login">
		<span tal:condition="not userToken" metal:use-macro="buttons.tal/newAccount"></span>
		<span tal:condition="not userToken" metal:use-macro="buttons.tal/login"></span>
		<span tal:condition="userToken" tal:omit-tag="" tal:define="Url rootUrl() + 'help/'">
			<a class="button" tal:attributes="href Url" tal:translate="">Help</a>
		</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="widgets">
	<div class="widget">
		<a href="#top"><img tal:reroot="src" src="/images/top.png" alt="up" title="Haut de page" border="0" /></a>
	</div>
</div>

<div id="navigation"><!-- Navigation -->
	<div class="cadre">
		<div class="nav1"><a class="nav" tal:attributes="href rootUrl()"
		tal:translate="">Home</a></div>
	</div>

	<div class="cadre" tal:define="mR getMainRubric()" tal:condition="mR and mR.membersSet"
	tal:on-error="nothing" tal:repeat="r1 mR.membersSet">
		<div class="nav1"><a class="nav" tal:content="r1"
			tal:attributes="href r1.getUrl()">Nav 1</a></div>
		<ul class="nav2" tal:condition="r1.membersSet" tal:on-error="nothing">
			<li tal:repeat="r2 r1.membersSet"><a class="nav" tal:content="r2.label"
			tal:attributes="href r2.getUrl()">Nav 2</a>
				<ul class="nav3" tal:condition="r2.membersSet" tal:on-error="nothing">
					<li tal:repeat="r3 r2.membersSet"><a class="nav" tal:content="r3.label"
					tal:attributes="href r3.getUrl()">Nav 3</a></li>
				</ul>
			</li>
		</ul>
	</div>
</div><!-- End of navigation -->

 
</body>
</html>

