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 | |
23 | |
24 | |
25 | <h1> |
26 | Ma liste personnelle de contacts |
27 | </h1> |
28 | |
29 | <form action="{$smarty.server.REQUEST_URI}" method="post"> |
30 | <p> |
31 | Ajouter la personne suivante à ma liste de contacts (prenom.nom) :<br /> |
32 | <input type="hidden" name="action" value="ajouter" /> |
33 | <input type="text" name="user" size="20" maxlength="70" /> |
34 | <input type="submit" value="Ajouter" /> |
35 | </p> |
36 | </form> |
37 | <p> |
38 | Tu peux également rajouter des camarades dans tes contacts lors d'une recherche dans l'annuaire : |
39 | il te suffit de cliquer sur l'icône <img src="{"images/ajouter.gif"|url}" alt="ajout contact" /> en face de son nom dans les résultats ! |
40 | </p> |
41 | |
42 | {if $trombi || $citer->total()} |
43 | <p> |
44 | Pour récupérer ta liste de contacts dans un PDF imprimable :<br /> |
45 | (attention, les photos font beaucoup grossir les fichiers !) |
46 | </p> |
47 | <ul> |
48 | <li>avec les photos : |
49 | [<a href="mescontacts_pdf.php/mes_contacts.pdf?order=promo&photo" class='popup'><strong>tri par promo</strong></a>] |
50 | [<a href="mescontacts_pdf.php/mes_contacts.pdf?photo" class='popup'><strong>tri par noms</strong></a>] |
51 | </li> |
52 | <li>sans les photos : |
53 | [<a href="mescontacts_pdf.php/mes_contacts.pdf?order=promo" class='popup'><strong>tri par promo</strong></a>] |
54 | [<a href="mescontacts_pdf.php/mes_contacts.pdf" class='popup'><strong>tri par noms</strong></a>] |
55 | </li> |
56 | </ul> |
f2ee531a |
57 | {if $smarty.session.core_rss_hash} |
58 | <p> |
59 | Tu peux récupérer un calendrier iCal avec l'anniversaire de tes contacts. |
60 | </p> |
61 | <div class="right"> |
62 | <a href='{rel}/carnet/calendar/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}.ics'><img src='{rel}/images/icalicon.gif' alt='fichier ical' title='Anniversaires'/></a> |
63 | </div> |
64 | {else} |
65 | <p> |
66 | Pour récupérer un calendrier iCal avec l'anniversaire de tes contacts, active les flux RSS dans <a href="{rel}/preferences.php">Mes préférences</a>. |
67 | </p> |
68 | {/if} |
69 | |
0337d704 |
70 | |
71 | {if $trombi} |
72 | |
73 | <h1> |
74 | Mon trombino de contacts |
75 | </h1> |
76 | |
77 | <p> |
78 | Pour afficher la liste détaillée de tes contacts: [<a href="{$smarty.server.PHP_SELF}?order={$order}&inv={$inv}"><strong>vue classique</strong></a>] |
79 | </p> |
80 | |
81 | {include file=carnet/tricontacts.tpl order=$order} |
82 | |
83 | {$trombi->show()|smarty:nodefaults} |
84 | |
85 | {else} |
86 | |
87 | <h1> |
88 | Vue classique des contacts |
89 | </h1> |
90 | |
91 | <p> |
f2ee531a |
92 | [<a href="?trombi=1&order={$order}&inv={$inv}"><strong>Afficher le trombi de tes contacts</strong></a>] |
0337d704 |
93 | </p> |
94 | |
95 | {include file=carnet/tricontacts.tpl order=$order} |
96 | |
97 | <br /> |
98 | |
99 | <div class="contact-list"> |
100 | {iterate from=$citer item=contact} |
101 | {include file=include/minifiche.tpl c=$contact show_action="retirer"} |
102 | {/iterate} |
103 | </div> |
104 | |
105 | {/if} |
106 | |
107 | {else} |
108 | <p>Actuellement ta liste de contacts est vide...</p> |
109 | {/if} |
110 | |
111 | |
112 | {* vim:set et sw=2 sts=2 sws=2: *} |