Commit | Line | Data |
---|---|---|
0337d704 | 1 | {**************************************************************************} |
2 | {* *} | |
8d84c630 | 3 | {* Copyright (C) 2003-2009 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 | ||
ed260de1 SJ |
29 | <p> |
30 | <div style="float: right"> | |
31 | <form id="add_user" action="carnet/contacts" method="post"> | |
32 | {xsrf_token_field} | |
33 | <div> | |
34 | <input type="hidden" name="action" value="ajouter" /> | |
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> | |
44 | </form> | |
b2a62184 | 45 | </div> |
ed260de1 | 46 | Ajouter à tes contacts : |
0337d704 | 47 | </p> |
b2a62184 | 48 | <p style="clear: both"> |
02d80c7b | 49 | Sur la page de résultats d'une recherche, tu peux ajouter un contact en cliquant sur {icon name=add}. |
ed260de1 | 50 | </p> |
0337d704 | 51 | |
0337d704 | 52 | <p> |
ed260de1 | 53 | Tu peux télécharger des informations sur tes contacts : |
0337d704 | 54 | </p> |
ed260de1 | 55 | {if $plset_count || $smarty.request.quick} |
0337d704 | 56 | <ul> |
ed260de1 | 57 | <li>Tes contacts en PDF, sans les photos : |
7b2413f6 | 58 | [<a href="carnet/contacts/pdf/promo/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>] |
59 | [<a href="carnet/contacts/pdf/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>] | |
0337d704 | 60 | </li> |
ed260de1 SJ |
61 | <li>Avec les photos (attention fichier plus gros) : |
62 | [<a href="carnet/contacts/pdf/promo/photos/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>] | |
63 | [<a href="carnet/contacts/pdf/photos/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>] | |
64 | </li> | |
5e193297 | 65 | <li> |
66 | {icon name=calendar_view_day title='Anniversaires'} | |
f3e66b56 | 67 | <a href="carnet/contacts/ical/{$smarty.session.hruid}/{$smarty.session.token}/anniv-x.ics" title="Anniversaires"> |
5e193297 | 68 | Le calendrier des anniversaires |
69 | </a> | |
70 | </li> | |
71 | <li> | |
72 | {icon name=vcard title='Carte de visite'} | |
a7de4ef7 | 73 | <a href="carnet/contacts/vcard/photos/MesContactsXorg.vcf">La carte de visite électronique</a> |
917c4d11 | 74 | (<a href="carnet/contacts/vcard/MesContactsXorg.vcf">sans les photos</a>) |
5e193297 | 75 | </li> |
76 | </ul> | |
0337d704 | 77 | |
3b2f9d11 | 78 | <p> |
79 | <div style="float: right"> | |
80 | <form action="carnet/contacts/search#plset_content" method="get"> | |
b2a62184 | 81 | <div> |
3b2f9d11 | 82 | <input type="text" size="30" name="quick" class="quick_search" |
83 | value="{$smarty.request.quick|default:'recherche dans tes contacts'}" | |
84 | onfocus="if (this.value == 'recherche dans tes contacts') this.value=''" | |
85 | onblur="if (this.value == '') this.value='recherche dans tes contacts'"/> | |
86 | <a href="carnet/contacts">{icon name=cross title='Annuler la recherche'}</a> | |
b2a62184 | 87 | </div> |
3b2f9d11 | 88 | </form> |
89 | </div> | |
ed260de1 | 90 | Rechercher dans tes contacts : |
3b2f9d11 | 91 | </p> |
92 | ||
a9cd2bab | 93 | {include core=plset.tpl} |
0337d704 | 94 | |
0337d704 | 95 | {/if} |
96 | ||
a7de4ef7 | 97 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |