{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2004 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
+<!-- Pour récupérer ce bandeau sur votre site :
+ incluez le fichier http://www.polytechnique.org/bandeau dans vos php
+ ou http://www.polytechnique.org/bandeau/login pour profiter du login
+ automatique. Et rajoutez à la liste de css de vos pages
+ http://www.polytechnique.org/bandeau.css.
+ Pour avoir l'icone, pour des raisons de sécurité il n'y a pas d'accès
+ direct, il faut alors rediriger bandeau/icone.png vers celle du site :
+ http://www.polytechnique.org/bandeau/icone.png
+-->
- <!-- BANDEAU DEBUT -->
+<!-- Don't copy this list of emails!!!
- <!-- ligne grise de 1px -->
- <table class="ligne" cellspacing="0" cellpadding="0" style="width:100%; border:none;" summary=""><tr><td class="ligne"></td></tr></table>
+ {poison seed=$login}
- <table cellspacing="0" cellpadding="1" style="width:100%; border:none;" summary=""><tr><td class="xdx"><img alt="" src="/images/x.png" /> <a class="xdx" href="http://www.polytechnique.fr/">L'École</a> · <a class="xdx" href="http://www.polytechnique.edu/">Institutional site</a> ~~ <a class="xdx" href="http://www.fondationx.org/">FX</a> · <a class="xdx" href="http://www.polytechniciens.com/">AX</a> ~~ <a class="xdx" href="http://www.polytechnique.org/">Polytechnique.org</a> · <a class="xdx" href="http://www.polytechnique.net/">Associations polytechniciennes</a> · <a class="xdx" href="http://www.polytechnique.fr/eleves/">Élèves</a> · <a class="xdx" href="http://www.manageurs.com/">Manageurs</a></td></tr></table>
- <!-- ligne grise de 1px -->
- <table class="ligne" cellspacing="0" cellpadding="0" style="width:100%; border:none;" summary=""><tr><td class="ligne"></td></tr></table>
+ -->
- <!-- BANDEAU FIN -->
+{if !$login && $smarty.session.auth}
+ {assign var="login" value="true"}
+{/if}
-{* vim:set et sw=2 sts=2 sws=2: *}
+<div id="bandeau-X">
+ <img src="bandeau/icone.png" alt=""/>
+ <a href="http://www.polytechnique.fr/">L'École</a> ·
+ <a href="http://www.polytechnique.edu/">Institutional site</a>
+ ˜˜
+ <a href="http://www.fondationx.org/">FX</a> ·
+ <a href="http://www.polytechniciens.com/">AX</a>
+ ˜˜
+ <a href="https://www.polytechnique.org">Polytechnique.org</a> ·
+ <a href="http://www.polytechnique.net{if $login}/login{/if}">Associations polytechniciennes</a> ·
+ <a href="http://www.polytechnique.fr/eleves/">Élèves</a> ·
+ <a href="http://www.manageurs.com/{if $login}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
+</div>
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}