{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2010 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 :
+<!-- 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 -->
+ direct, il faut alors rediriger bandeau/icone.png vers celle du site :
+ http://www.polytechnique.org/bandeau/icone.png
+-->
-{if !$login && $smarty.session.auth}
+<!-- Don't copy this list of emails!!!
+
+{assign var="login" value="false"}
+{if !t($login)}
+ {if t($smarty.session.auth)}
{assign var="login" value="true"}
+ {/if}
{/if}
+ {poison seed=$login}
+
+ -->
+
+
<div id="bandeau-X">
<img src="bandeau/icone.png" alt=""/>
<a href="http://www.polytechnique.fr/">L'École</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.net{if t($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>
+ <a href="http://www.manageurs.com/{if t($login)}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
</div>
{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}