{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
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.
+ http://www.polytechnique.org/css/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
+ http://www.polytechnique.org/bandeau/icone.png
-->
<!-- 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}
-->
-{if !$login && $smarty.session.auth}
- {assign var="login" value="true"}
-{/if}
<div id="bandeau-X">
- <img src="bandeau/icone.png" alt=""/>
+ <img src="{if $external}bandeau/icone.png{else}images/x.png{/if}" width="13" height="14" alt=""/>
<a href="http://www.polytechnique.fr/">L'École</a> ·
<a href="http://www.polytechnique.edu/">Institutional site</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: *}