Happy New Year!
[platal.git] / templates / carnet / mescontacts.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5e1513f6 3{* Copyright (C) 2003-2011 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
0d66652e 29<form id="add_user" action="carnet/contacts" method="post">
ed260de1 30 <div style="float: right">
ed260de1 31 {xsrf_token_field}
ed260de1
SJ
32 <input type="hidden" name="action" value="ajouter" />
33 <input type="text" size="30" name="user" class="quick_search"
34 value="ajouter prenom.nom"
25a2d5c6 35 onfocus="if (this.value == 'ajouter prenom.nom') this.value=''; $('#add_button').show()"
ed260de1 36 onblur="if (this.value == '') this.value='ajouter prenom.nom'"
0d66652e
PC
37 maxlength="70"/>
38 <a id="add_button" href="carnet/contacts/add" style="display: none" onclick="document.getElementById('add_user').submit(); return false;">
ed260de1
SJ
39 {icon name=add title="Ajouter la personne"}
40 </a>
b2a62184 41 </div>
0d66652e 42<p>
ed260de1 43 Ajouter à tes contacts&nbsp;:
0337d704 44</p>
0d66652e 45</form>
b2a62184 46<p style="clear: both">
02d80c7b 47 Sur la page de résultats d'une recherche, tu peux ajouter un contact en cliquant sur {icon name=add}.
ed260de1 48</p>
0337d704 49
b66dc2be 50{if $plset_count || t($smarty.request.quick)}
0337d704 51<p>
ed260de1 52 Tu peux télécharger des informations sur tes contacts&nbsp;:
0337d704 53</p>
54<ul>
ed260de1 55 <li>Tes contacts en PDF, sans les photos&nbsp;:
7b2413f6 56 [<a href="carnet/contacts/pdf/promo/mescontacts.pdf" class='popup'><strong>tri par promo</strong></a>]
57 [<a href="carnet/contacts/pdf/mescontacts.pdf" class='popup'><strong>tri par noms</strong></a>]
0337d704 58 </li>
ed260de1
SJ
59 <li>Avec les photos (attention fichier plus gros)&nbsp;:
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>]
62 </li>
5e193297 63 <li>
b3ad574d 64 Le calendrier des anniversaires&nbsp;:
2ab3486b 65 <a href="carnet/contacts/ical/{$smarty.session.hruid}/{$smarty.session.user->token}/anniv-x.ics">
b3ad574d
PC
66 {icon name=calendar_view_day title='Anniversaires au format iCal'}
67 </a>
2ab3486b 68 <a href="carnet/contacts/csv/birthday/{$smarty.session.hruid}/{$smarty.session.user->token}/anniv-x.csv">
b3ad574d 69 {icon name=outlook title='Anniversaires au format Outlook'}
5e193297 70 </a>
71 </li>
72 <li>
b3ad574d
PC
73 La carte de visite électronique&nbsp;:
74 <a href="carnet/contacts/vcard/photos/MesContactsXorg.vcf">
75 {icon name=vcard title='Carte de visite au format vCard'}
76 </a>
917c4d11 77 (<a href="carnet/contacts/vcard/MesContactsXorg.vcf">sans les photos</a>)
2ab3486b 78 <a href="carnet/contacts/csv/{$smarty.session.hruid}/{$smarty.session.user->token}/MesContactsXorg.csv">
b3ad574d
PC
79 {icon name=outlook title='Contacts au format Outlook'}
80 </a>
5e193297 81 </li>
82</ul>
0337d704 83
0d66652e 84<form action="carnet/contacts/search#plset_content" method="get">
3b2f9d11 85 <div style="float: right">
3b2f9d11 86 <input type="text" size="30" name="quick" class="quick_search"
b66dc2be 87 value="{t($smarty.request.quick)|default:'recherche dans tes contacts'}"
3b2f9d11 88 onfocus="if (this.value == 'recherche dans tes contacts') this.value=''"
89 onblur="if (this.value == '') this.value='recherche dans tes contacts'"/>
b66dc2be 90 {if t($smarty.request.quick)}<a href="carnet/contacts">{icon name=arrow_undo title='Annuler la recherche'}</a>{/if}
3b2f9d11 91 </div>
0d66652e
PC
92</form>
93<p>
ed260de1 94 Rechercher dans tes contacts&nbsp;:
3b2f9d11 95</p>
96
a9cd2bab 97{include core=plset.tpl}
0337d704 98
0337d704 99{/if}
100
a7de4ef7 101{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}