Use smarty plugins in mail templates.
[platal.git] / templates / skin / common.bandeau.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
d3e54db7 23<!-- Pour récupérer ce bandeau sur votre site :
24 incluez le fichier http://www.polytechnique.org/bandeau dans vos php
25 ou http://www.polytechnique.org/bandeau/login pour profiter du login
26 automatique. Et rajoutez à la liste de css de vos pages
27 http://www.polytechnique.org/bandeau.css.
28 Pour avoir l'icone, pour des raisons de sécurité il n'y a pas d'accès
29 direct, il faut alors rediriger bandeau/icone.png vers celle du site :
30 http://www.polytechnique.org/bandeau/icone.png -->
0337d704 31
1fe55241 32{if !$login && $smarty.session.auth}
d3e54db7 33 {assign var="login" value="true"}
1fe55241 34{/if}
35
36<div id="bandeau-X">
d3e54db7 37 <img src="bandeau/icone.png" alt=""/>
38 <a href="http://www.polytechnique.fr/">L'&Eacute;cole</a> &middot;
39 <a href="http://www.polytechnique.edu/">Institutional site</a>
40 &tilde;&tilde;
41 <a href="http://www.fondationx.org/">FX</a> &middot;
42 <a href="http://www.polytechniciens.com/">AX</a>
43 &tilde;&tilde;
d8e6cd2d 44 <a href="https://www.polytechnique.org">Polytechnique.org</a> &middot;
d3e54db7 45 <a href="http://www.polytechnique.net{if $login}/login{/if}">Associations polytechniciennes</a> &middot;
46 <a href="http://www.polytechnique.fr/eleves/">&Eacute;l&egrave;ves</a> &middot;
47 <a href="http://www.manageurs.com/{if $login}anciens_accueil.php?asso=X.org{/if}">Manageurs</a>
1fe55241 48</div>
0337d704 49
d3e54db7 50{* vim:set et sw=2 sts=2 sws=2 enc=utf8: *}