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 | |
23 | <h1>Bilan des Notifications</h1> |
24 | |
25 | <p> |
26 | Cette page récapitule tous les évènements que tu surveilles de la semaine écoulée |
27 | </p> |
28 | |
29 | <p> |
30 | Les lignes en gras sont les événements qui ont été porté à notre connaissance |
31 | depuis ta dernière connexion sur cette page.<br /> |
32 | Tu peux les <a href="?read={$now}">marquer comme vus</a> sans te déconnecter. |
33 | </p> |
34 | |
35 | <p> |
36 | Tu peux choisir plus finement les données affichées sur cette page. |
37 | Il faut pour celà se rendre sur la page de <a href='notifs.php'>configuration des notifications</a>. |
38 | </p> |
39 | |
40 | <div class="right"> |
41 | {if $smarty.session.core_rss_hash} |
42 | <a href='{rel}/carnet/rss.php/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.xml'><img src='{rel}/images/rssicon.gif' alt='fil rss' /></a> |
43 | {/if} |
44 | </div> |
45 | |
46 | {foreach from=$notifs->_data item=c key=cid} |
47 | <h2>{if ($c|@count) > 1} |
48 | {$notifs->_cats[$cid].mail} : |
49 | {else} |
50 | {foreach from=$c item=promo} |
51 | {if ($promo|@count) > 1} |
52 | {$notifs->_cats[$cid].mail} : |
53 | {else} |
54 | {$notifs->_cats[$cid].mail_sg} : |
55 | {/if} |
56 | {/foreach} |
57 | {/if}</h2> |
58 | |
59 | <br /> |
60 | |
61 | <table class='tinybicol'> |
62 | {foreach from=$c key=p item=promo} |
63 | {section name=row loop=$promo} |
64 | <tr {if ( $promo[row].known > $smarty.session.watch_last ) || ( $promo[row].date eq $today ) }style="font-weight: bold"{/if}> |
65 | <td class='titre' style="width:15%">{if $smarty.section.row.first}{$p}{/if}</td> |
66 | <td> |
67 | {if $promo[row].inscrit} |
68 | <a href="{"fiche.php"|url}?user={$promo[row].bestalias}" class="popup2"> |
69 | {$promo[row].prenom} {$promo[row].nom} |
70 | </a> |
71 | {if !$promo[row].contact} |
72 | <a href="{"carnet/mescontacts.php"|url}?action=ajouter&user={$promo[row].bestalias}">{* |
73 | *}<img src="{"images/ajouter.gif"|url}" alt="ajouter à mes contacts" />{* |
74 | *}</a> |
75 | {/if} |
76 | {else} |
77 | {$promo[row].prenom} {$promo[row].nom} |
78 | {/if} |
79 | </td> |
80 | <td style="width:25%"> |
81 | {$promo[row].date|date_format} |
82 | </td> |
83 | </tr> |
84 | {/section} |
85 | {/foreach} |
86 | </table> |
87 | |
88 | <br /> |
89 | {/foreach} |
90 | |
91 | |
92 | {* vim:set et sw=2 sts=2 sws=2: *} |