Cleanup, use PlDict and last core.
[platal.git] / templates / skin / common.bandeau.tpl
index b4cf84b..71d84e5 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 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 récupérer ce bandeau sur votre site&nbsp;:
+  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&nbsp;:
+  http://www.polytechnique.org/bandeau/icone.png 
+-->
 
-{if !$login && $smarty.session.auth}
-       {assign var="login" value="true"}
+<!-- Don't copy this list of emails!!!
+
+{if !t($login)}
+  {if t($smarty.session.auth)}
+  {assign var="login" value="true"}
+  {/if}
 {/if}
 
+  {poison seed=$login}
+
+  -->
+
+
 <div id="bandeau-X">
-       <img href="http://www.polytechnique.org/bandeau/icone.png" alt=""/>
-       <a href="http://www.polytechnique.fr/">L'&Eacute;cole</a> &middot;
-       <a href="http://www.polytechnique.edu/">Institutional site</a>
-       &tilde;&tilde;
-       <a href="http://www.fondationx.org/">FX</a> &middot;
-       <a href="http://www.polytechniciens.com/">AX</a>
-       &tilde;&tilde;
-       <a href="http://www.polytechnique.org">Polytechnique.org</a> &middot;
-       <a href="http://www.polytechnique.net{if $login}/login{/if}">Associations polytechniciennes</a> &middot;
-       <a href="http://www.polytechnique.fr/eleves/">&Eacute;l&egrave;ves</a> &middot;
-       <a href="http://www.manageurs.com/{if $login}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
+  <img src="bandeau/icone.png" alt=""/>
+  <a href="http://www.polytechnique.fr/">L'&Eacute;cole</a> &middot;
+  <a href="http://www.polytechnique.edu/">Institutional site</a>
+  &tilde;&tilde;
+  <a href="http://www.fondationx.org/">FX</a> &middot;
+  <a href="http://www.polytechniciens.com/">AX</a>
+  &tilde;&tilde;
+  <a href="https://www.polytechnique.org">Polytechnique.org</a> &middot;
+  <a href="http://www.polytechnique.net{if t($login)}/login{/if}">Associations polytechniciennes</a> &middot;
+  <a href="http://www.polytechnique.fr/eleves/">&Eacute;l&egrave;ves</a> &middot;
+  <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: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}