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 | |
23 | |
24 | |
25 | <h1> |
26 | Ma liste personnelle de contacts |
27 | </h1> |
28 | |
b2a62184 |
29 | <div> |
30 | Ajouter la personne suivante à ma liste de contacts : |
31 | <div style="float: right"> |
32 | <form id="add_user" action="carnet/contacts" method="post"> |
33 | <div> |
0337d704 |
34 | <input type="hidden" name="action" value="ajouter" /> |
b2a62184 |
35 | <input type="text" size="30" name="user" class="quick_search" |
36 | value="ajouter prenom.nom" |
37 | onfocus="if (this.value == 'ajouter prenom.nom') this.value=''" |
38 | onblur="if (this.value == '') this.value='ajouter prenom.nom'" |
39 | size="20" maxlength="70"/> |
40 | <a href="" onclick="document.getElementById('add_user').submit(); return false;"> |
41 | {icon name=add title="Ajouter la personne"} |
42 | </a> |
43 | </div> |
0337d704 |
44 | </p> |
45 | </form> |
b2a62184 |
46 | </div> |
47 | </div> |
48 | <p style="clear: both"> |
a7de4ef7 |
49 | Tu peux également rajouter des camarades dans tes contacts lors d'une recherche dans l'annuaire : |
50 | il te suffit de cliquer sur l'icône {icon name=add} en face de son nom dans les résultats ! |
0337d704 |
51 | </p> |
52 | |
3b2f9d11 |
53 | {if $plset_count || $smarty.request.quick} |
0337d704 |
54 | <p> |
a7de4ef7 |
55 | Pour récupérer ta liste de contacts dans un PDF imprimable :<br /> |
0337d704 |
56 | (attention, les photos font beaucoup grossir les fichiers !) |
57 | </p> |
58 | <ul> |
59 | <li>avec les photos : |
7b2413f6 |
60 | [<a href="carnet/contacts/pdf/promo/photos/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>] |
61 | [<a href="carnet/contacts/pdf/photos/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>] |
0337d704 |
62 | </li> |
63 | <li>sans les photos : |
7b2413f6 |
64 | [<a href="carnet/contacts/pdf/promo/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>] |
65 | [<a href="carnet/contacts/pdf/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>] |
0337d704 |
66 | </li> |
67 | </ul> |
5e193297 |
68 | |
69 | <p> |
a7de4ef7 |
70 | Tu peux télécharger des informations sur tes contacts : |
5e193297 |
71 | </p> |
72 | <ul> |
73 | <li> |
74 | {icon name=calendar_view_day title='Anniversaires'} |
963c0b2e |
75 | <a href="carnet/contacts/ical/{$smarty.session.forlife}/{$smarty.session.core_rss_hash}/anniv-x.ics"> |
5e193297 |
76 | Le calendrier des anniversaires |
77 | </a> |
78 | </li> |
79 | <li> |
80 | {icon name=vcard title='Carte de visite'} |
a7de4ef7 |
81 | <a href="carnet/contacts/vcard/photos/MesContactsXorg.vcf">La carte de visite électronique</a> |
917c4d11 |
82 | (<a href="carnet/contacts/vcard/MesContactsXorg.vcf">sans les photos</a>) |
5e193297 |
83 | </li> |
84 | </ul> |
0337d704 |
85 | |
3b2f9d11 |
86 | <p> |
87 | <div style="float: right"> |
88 | <form action="carnet/contacts/search#plset_content" method="get"> |
b2a62184 |
89 | <div> |
3b2f9d11 |
90 | <input type="text" size="30" name="quick" class="quick_search" |
91 | value="{$smarty.request.quick|default:'recherche dans tes contacts'}" |
92 | onfocus="if (this.value == 'recherche dans tes contacts') this.value=''" |
93 | onblur="if (this.value == '') this.value='recherche dans tes contacts'"/> |
94 | <a href="carnet/contacts">{icon name=cross title='Annuler la recherche'}</a> |
b2a62184 |
95 | </div> |
3b2f9d11 |
96 | </form> |
97 | </div> |
98 | Tu peux faire une recherche sur tes contacts : |
99 | </p> |
100 | |
8c4a0c30 |
101 | {include file="core/plset.tpl"} |
0337d704 |
102 | |
0337d704 |
103 | {/if} |
104 | |
a7de4ef7 |
105 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |