bugs 268 et 391 : cache les articles evenements deja lus, et fleche pour remonter...
[platal.git] / templates / login.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
3{* Copyright (C) 2003-2004 Polytechnique.org *}
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
0337d704 23{if $ask_naissance}
24
25{include file='include/form_naissance.tpl'}
26
27{else}
28
29<h1>
30Bienvenue {$smarty.session.prenom}
31{if $birthday}
32 et joyeux anniversaire de {$birthday} ans de la part de toute l'équipe !
33{else}
34:o)
35{/if}
36</h1>
37
38<div class="smaller">
39 Ta connexion précédente date du
40 <strong>{$smarty.session.lastlogin|date_format:"%x, %X"}</strong>
41 depuis la machine <strong>{$smarty.session.host}</strong>
42</div>
43
44{if $fiche_incitation}
45 <p>La dernière mise à jour de ta
cf1e3ae0 46 <a href="{rel}/fiche.php?user={$smarty.session.forlife}" class="popup2">fiche</a>
0337d704 47 date du {$fiche_incitation|date_format}.
48 Il est possible qu'elle ne soit pas à jour.
49 Si tu souhaites la modifier, <a href="profil.php">clique ici !</a>
50 </p>
51{/if}
52
53{if $photo_incitation}
54 <p>
55 Tu n'as pas mis de photo de toi sur ta fiche, c'est dommage.
56 Clique <a href="{rel}/trombino.php">ici</a> si tu souhaites en ajouter une.
57 </p>
58{/if}
59
60{if $geoloc_incitation > 0}
61 <p>
62 Parmi tes adresses, il y en a {$geoloc_incitation} que nous n'avons pas pu localiser. Clique <a href="{rel}/profil.php?old_tab=adresses">ici</a> pour rectifier.
63 </p>
64{/if}
65<br />
66
67 <table class="bicol">
68 <tr class="pair">
69{foreach item=links from=$publicite}
70 <td class="half">
71{foreach key=url item=text from=$links}
72 <a href="{$url}">{$text}</a><br />
73{/foreach}
74 </td>
75{/foreach}
76 </tr>
77 </table>
78
79 {iterate item=ev from=$evenement}
80 <br />
81
82 <table class="bicol">
83 <tr>
84 <th>
f75b2292 85 <a href="?lu={$ev.id}{if $previd}#newsid{$previd}{/if}" style="display:block;float:right"><img alt="Cacher" title="Cacher cet article" src="{rel}/images/retirer.gif"/></a>
86 {assign var="previd" value=$ev.id}
0337d704 87 <a id="newsid{$ev.id}"></a>
88 {tidy}
89 {$ev.titre|nl2br}
90 {/tidy}
91 </th>
92 </tr>
93 <tr class="{cycle values="impair,pair"}">
94 <td class="half">
95 {tidy}
96 {$ev.texte|smarty:nodefaults|nl2br}
97 {/tidy}
98 <br />
f75b2292 99 <p class="smaller"><a href="#" style="display:block;float:right"><img alt="Sommaire" title="Remonter tout en haut" src="{rel}/images/up.png"/></a>Annonce proposée par
0337d704 100 <a href="{rel}/fiche.php?user={$ev.forlife}" class="popup2">
101 {$ev.prenom} {$ev.nom} X{$ev.promo}
102 </a>
103 </p>
104 </td>
105 </tr>
106 </table>
107 {/iterate}
108
f75b2292 109 <br/>
110
111 <table class="bicol">
112 <tr>
113 <th>
114 Sommaire des informations événementielles
115 </th>
116 </tr>
117 {iterate item=ev from=$evenement_summary}
118 <tr class="{cycle values="impair,pair"}">
119 <td class="half">
120 &bull;
121 <a href="{if !$ev.nonlu}?nonlu={$ev.id}{/if}#newsid{$ev.id}">
122 {if $ev.nonlu}<strong>{/if}
123 {tidy}
124 {$ev.titre|nl2br}
125 {/tidy}
126 {if $ev.nonlu}</strong>{/if}
127 </a>
128 </td>
129 </tr>
130 {/iterate}
131 </table>
132
0337d704 133 <p class="smaller">
134 Nota Bene : les informations présentées ici n'engagent que leurs auteurs
135 respectifs et sont publiées à leur initiative. L'association Polytechnique.org
136 ne pourrait en aucun cas être tenue responsable de la nature des propos relatés
137 sur cet espace d'expression et d'information. Elle se réserve le droit de
138 refuser ou de retirer toute information de nature diffamante ou pouvant être
139 interprétée comme polémique par un membre de la communauté polytechnicienne.
140 </p>
141
142 <p>
143 <a href="evenements.php">Proposer une information événementielle</a>
144 </p>
145 {if $smarty.session.core_rss_hash}
146 <div class="right">
147 <a href='{rel}/rss.php/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
148 </div>
51c9b362 149 {else}
150 <div class="right">
151 <a href='{rel}/filrss.php?referer={$refe}'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
152 </div>
0337d704 153 {/if}
154{/if}
155
156{* vim:set et sw=2 sts=2 sws=2: *}