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

<body bgcolor="white" text="black" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">

	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr width="100%" valign="top"><img tal:reroot="src" src="/images/crans_banner.jpg" alt="cr@ns"></tr>
		<tr width="100%" valign="top" height="8" bgcolor="white"><td></td></tr>
		<tr width="100%" valign="top" height="8" bgcolor=#FF9900><td></td></tr>
		<table width="100%" height="40" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td width="16"></td>
				<td colspan="0" align="left" valign="middle">
					<span tal:replace="structure aboutButton + '|'"></span> 
					<span metal:use-macro="buttons.tal/preferences" />
					<span tal:condition="user">|</span>
					<span metal:use-macro="buttons.tal/logout" />
					<span metal:use-macro="buttons.tal/newAccount" />
					<span tal:condition="not user">|</span>
					<span metal:use-macro="buttons.tal/login" />
				</td>
			</tr>
			<tr width="100%" valign="top" height="8" bgcolor=#FF9900><td></td><td></td></tr>
			<tr width="100%" valign="top" height="8" bgcolor="white"><td></td><td></td></tr>
		</table>
	</table>

	<table width="100%" cellpadding=0 cellspacing=0 border=0 tal:define="mR getMainRubric()">
		<tr valign="top">
			<td><img tal:reroot="src" src="/images/pixel.png" width=20 height=1></td>
			<td width="20%">
				<table width="100%" cellpadding=5 cellspacing=0 border=0>
					<tr>
						<td bgcolor="#ffaa00" class="header">
							<font face="tahoma,verdana,arial,helvetica,sans-serif"><b>
									<a tal:attributes="href rootUrl()"><font color="black" tal:translate="">Home</font></a></b>
						</td>
					</tr>
				</table>
				<p />

				<div tal:omit-tag="" tal:condition="mR"
					tal:repeat="r getSetContainedObjects(mR.membersSet, ['rubrics'])">

					<table width="100%" cellpadding=5 cellspacing=0 border=0>
						<tr>
							<td bgcolor="#ffaa00" class="header">
								<font face="tahoma,verdana,arial,helvetica,sans-serif"><b><a tal:attributes="href r.getUrl()" tal:content="r.label">blah</a></b></font>
							</td>
						</tr>
					</table>
					<table cellpadding="0" cellspacing="0" border="0"
						tal:repeat="r2 getSetContainedObjects(r.membersSet, ['rubrics'])">
						<tr>
							<td bgcolor="#ffaa00"><img tal:reroot="src" src="/images/pixel.png" width="2"
								height="1" /></td>
							<td><img tal:reroot="src" src="/images/pixel.png" width="8" height="1" /></td>
							<td><img tal:reroot="src" src="/images/puce.png" broder="0" />
								<font face="tahoma,verdana,arial,helvetica" size="2">
									<b><a tal:attributes="href r2.getUrl()" tal:content="r2.label">sdsd</a></b></font>
							</td>
						</tr>
					</table>
					<p />
				</div>
				<table width="100%" cellspacing="0" cellpadding="5" border="0">
					<tr>
						<td bgcolor="#ff9900">
							<font face="tahoma,verdana,arial,helvetica,sans-serif" color="black"><b tal:translate="">All Objects</b></font>
						</td>
					</tr>
				</table>
				<table cellpadding="0" cellspacing="0" border="0" tal:repeat="labelAndLink getGotoObjectsLabelsAndLinks()">
					<tr>
						<td bgcolor="#ff9900"><img tal:reroot="src" src="/images/pixel.png" width="2"
							height="1"></td>
						<td><img tal:reroot="src" src="/images/pixel.png" width="8" height="1" /></td>
						<td><img tal:reroot="src" src="/images/puce.png" broder="0" />
							<font face="tahoma,verdana,arial,helvetica" size="2"><b>
									<a tal:attributes="href labelAndLink[1]" tal:content="labelAndLink[0]">server</a></b></font>
						</td>
					</tr>
				</table>
				<p />

			</td>

			<td><img tal:reroot="src" src="/images/pixel.png" width="20" height="1"></td>

			<td width="55%">
				<p tal:condition="user"><font face="tahoma,verdana,arial,helvetica,sans-serif" size="1">
					<span tal:translate="">User:</span> <span tal:replace="user"></span>
				</font>
				</p>

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

			</td>

			<td><img tal:reroot="src" src="/images/pixel.png" width="20" height="1" /></td>
			<td tal:reroot="background" background="/images/point.png" width="8" height="1">
				<img tal:reroot="src" src="/images/pixel.png" width="8" height="1" />
			</td>

			<td><img tal:reroot="src" src="/images/pixel.png" width="8" height="1" /></td>

			<td width="25%">
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr><td><font face="arial,helvetica,sans-serif"
								size="4"><b tal:translate="">Short News</b></font></td></tr>
					<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="16"/></td></tr>
					<div tal:omit-tag="" tal:repeat="news getLastObjects('breves', 5)">
						<tr><td bgcolor="black"><img tal:reroot="src" src="/images/pixel.png" width="1" height="1" /></td></tr>
						<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="4" /></td></tr>
						<tr><td><font face="verdana,arial,helvetica" size="1" tal:content="news.modificationTime">[breves.modificationTime]</font></td></tr>
						<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="4" /></td></tr>
						<tr><td bgcolor="#000000"><img tal:reroot="src" src="/images/pixel.png" width="1"
								height="1" /></td></tr>
						<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="4" /></td></tr>
						<tr><td><a tal:attributes="href news.getUrl()"><font face="verdana,arial,helvetica,sans-serif"
										size="3"><b tal:content="news.title">[breves.title]</b></font></a></td></tr>
						<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="4" /></td></tr>
						<tr><td><font face="verdana,arial,helvetica" size="1" tal:content="news.body">[breves.body]</font></td></tr>
						<tr><td><img tal:reroot="src" src="/images/pixel.png" width="1" height="16" /></td></tr>
					</div>
				</table>
			</td>

			<!-- marge droite -->
			<td><img tal:reroot="src" src="/images/pixel.png" width="10" height="1" /></td>
		</tr>

		<!-- Separation horizontale -->
		<tr>
			<td colspan="9"><img tal:reroot="src" src="/images/pixel.png" width="1" height="8"/></td>
		</tr>
		<tr>
			<td></td>
			<td colspan="7" tal:reroot="background" background="/images/point.png">
				<img tal:reroot="src" src="/images/pixel.png" width="1" height="8" /></td>
			<td></td>
		</tr>

	</table>
</body>
</html>

