1 {**************************************************************************}
3 {* Copyright (C) 2003-2011 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
26 Ma liste personnelle de contacts
29 <form id="add_user" action="carnet/contacts" method="post">
30 <div style="float: right">
32 <input type="hidden" name="action" value="ajouter" />
33 <input type="text" size="30" name="user" class="quick_search"
34 value="ajouter prenom.nom"
35 onfocus="if (this.value == 'ajouter prenom.nom') this.value=''; $('#add_button').show()"
36 onblur="if (this.value == '') this.value='ajouter prenom.nom'"
38 <a id="add_button" href="carnet/contacts/add" style="display: none" onclick="document.getElementById('add_user').submit(); return false;">
39 {icon name=add title="Ajouter la personne"}
43 Ajouter à tes contacts :
46 <p style="clear: both">
47 Sur la page de résultats d'une recherche, tu peux ajouter un contact en cliquant sur {icon name=add}.
50 {if $plset_count || t($smarty.request.quick)}
52 Tu peux télécharger des informations sur tes contacts :
55 <li>Tes contacts en PDF, sans les photos :
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>]
59 <li>Avec les photos (attention fichier plus gros) :
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>]
64 Le calendrier des anniversaires :
65 <a href="carnet/contacts/ical/{$smarty.session.hruid}/{$smarty.session.user->token}/anniv-x.ics">
66 {icon name=calendar_view_day title='Anniversaires au format iCal'}
68 <a href="carnet/contacts/csv/birthday/{$smarty.session.hruid}/{$smarty.session.user->token}/anniv-x.csv">
69 {icon name=outlook title='Anniversaires au format Outlook'}
73 La carte de visite électronique :
74 <a href="carnet/contacts/vcard/photos/MesContactsXorg.vcf">
75 {icon name=vcard title='Carte de visite au format vCard'}
77 (<a href="carnet/contacts/vcard/MesContactsXorg.vcf">sans les photos</a>)
78 <a href="carnet/contacts/csv/{$smarty.session.hruid}/{$smarty.session.user->token}/MesContactsXorg.csv">
79 {icon name=outlook title='Contacts au format Outlook'}
84 <form action="carnet/contacts/search#plset_content" method="get">
85 <div style="float: right">
86 <input type="text" size="30" name="quick" class="quick_search"
87 value="{if t($smarty.request.quick)}{$smarty.request.quick}{else}recherche dans tes contacts{/if}"
88 onfocus="if (this.value == 'recherche dans tes contacts') this.value=''"
89 onblur="if (this.value == '') this.value='recherche dans tes contacts'"/>
90 {if t($smarty.request.quick)}<a href="carnet/contacts">{icon name=arrow_undo title='Annuler la recherche'}</a>{/if}
94 Rechercher dans tes contacts :
97 {include core=plset.tpl}
101 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}