migrate referent + profile edition
[platal.git] / templates / login.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 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
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
e8599c21 46 <a href="{rel}/profile/{$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.
2f678da1 49 Si tu souhaites la modifier, <a href="{rel}/profile/edit">clique ici !</a>
0337d704 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.
fb9a56cb 56 Clique <a href="{rel}/photo/change">ici</a> si tu souhaites en ajouter une.
0337d704 57 </p>
58{/if}
59
60{if $geoloc_incitation > 0}
61 <p>
2f678da1 62 Parmi tes adresses, il y en a {$geoloc_incitation} que nous n'avons pas pu localiser.
63 Clique <a href="{rel}/profile/edit/adresses">ici</a> pour rectifier.
0337d704 64 </p>
65{/if}
66<br />
67
68 <table class="bicol">
69 <tr class="pair">
70{foreach item=links from=$publicite}
71 <td class="half">
72{foreach key=url item=text from=$links}
73 <a href="{$url}">{$text}</a><br />
74{/foreach}
75 </td>
76{/foreach}
77 </tr>
78 </table>
79
80 {iterate item=ev from=$evenement}
81 <br />
82
83 <table class="bicol">
84 <tr>
85 <th>
f75b2292 86 <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>
87 {assign var="previd" value=$ev.id}
0337d704 88 <a id="newsid{$ev.id}"></a>
89 {tidy}
90 {$ev.titre|nl2br}
91 {/tidy}
92 </th>
93 </tr>
94 <tr class="{cycle values="impair,pair"}">
95 <td class="half">
96 {tidy}
97 {$ev.texte|smarty:nodefaults|nl2br}
98 {/tidy}
99 <br />
f75b2292 100 <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
e8599c21 101 <a href="{rel}/profile/{$ev.forlife}" class="popup2">
0337d704 102 {$ev.prenom} {$ev.nom} X{$ev.promo}
103 </a>
104 </p>
105 </td>
106 </tr>
107 </table>
108 {/iterate}
109
f75b2292 110 <br/>
111
112 <table class="bicol">
113 <tr>
114 <th>
115 Sommaire des informations événementielles
116 </th>
117 </tr>
118 {iterate item=ev from=$evenement_summary}
119 <tr class="{cycle values="impair,pair"}">
120 <td class="half">
121 &bull;
122 <a href="{if !$ev.nonlu}?nonlu={$ev.id}{/if}#newsid{$ev.id}">
123 {if $ev.nonlu}<strong>{/if}
124 {tidy}
125 {$ev.titre|nl2br}
126 {/tidy}
127 {if $ev.nonlu}</strong>{/if}
128 </a>
129 </td>
130 </tr>
131 {/iterate}
132 </table>
133
0337d704 134 <p class="smaller">
135 Nota Bene : les informations présentées ici n'engagent que leurs auteurs
136 respectifs et sont publiées à leur initiative. L'association Polytechnique.org
137 ne pourrait en aucun cas être tenue responsable de la nature des propos relatés
138 sur cet espace d'expression et d'information. Elle se réserve le droit de
139 refuser ou de retirer toute information de nature diffamante ou pouvant être
140 interprétée comme polémique par un membre de la communauté polytechnicienne.
141 </p>
142
143 <p>
74e0093f 144 <a href="{rel}/events/submit">Proposer une information événementielle</a>
0337d704 145 </p>
146 {if $smarty.session.core_rss_hash}
147 <div class="right">
4da0b8d7 148 <a href='{rel}/rss/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/rss.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a>
0337d704 149 </div>
51c9b362 150 {else}
151 <div class="right">
1a828cd4 152 <a href='{rel}/prefs/rss?referer=events'><img src='{rel}/images/rssact.gif' alt='fil rss' /></a>
51c9b362 153 </div>
0337d704 154 {/if}
155{/if}
156
157{* vim:set et sw=2 sts=2 sws=2: *}