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

		<!-- Header -->
		<div id="header">
			<p><a href="/" tal:reroot="href" tal:content="str(virtualHost)">Glasnost</a></p>
		</div>


		<!-- Sidebar -->
		<div id="sidebar">
			<h2 tal:translate="">Navigation</h2>
			<div metal:use-macro="nav.tal/aBlockOneLevelAllObjects" />

			<p id="logged-user-infos" tal:condition="user">
				<span tal:condition="user" tal:replace="user" />
			</p>

			<span metal:use-macro="buttons.tal/gotoObjects" />
			<span metal:use-macro="buttons.tal/newObject" />

			<!--
			<ul tal:define="languages getPossibleLanguagesLabelAndUrl(notSelf = 1)"
					tal:condition="languages">
			  <li tal:repeat="l languages"><a
					tal:attributes="href l[2]" tal:content="l[1]">language</a></li>
			</ul>
			-->
		
		</div>
		<!-- Main Content -->

		<div id="maincontent">

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


		</div>

		<!-- Footer -->
		<div id="footer">
			<p>Glasnost</p>
			<span metal:use-macro="buttons.tal/about" />
			<span metal:use-macro="buttons.tal/logout" />
			<span metal:use-macro="buttons.tal/newAccount" />
			<span metal:use-macro="buttons.tal/login" />
			<span metal:use-macro="buttons.tal/admin" />
			<span metal:use-macro="buttons.tal/preferences" />
		</div>
	</body>
</html>

<!-- initial design idea from
     http://www.projectseven.com/grafitti/jan2003/macfly/index.htm -->

